Plane docs
ApiSchemas

SandboxSnapshottedEvent

One shape from the contract, as it appears on the wire.

Used by sessions.annotate, sessions.events, sessions.send

JSON Schema

{
  "type": "object",
  "properties": {
    "seq": {
      "$ref": "#/components/schemas/EventSeq"
    },
    "sessionId": {
      "$ref": "#/components/schemas/SessionId"
    },
    "at": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "sandbox.snapshotted"
      ]
    },
    "sandboxId": {
      "$ref": "#/components/schemas/SandboxId"
    },
    "snapshotId": {
      "type": "string",
      "minLength": 1
    },
    "snapshotRef": {
      "type": "string",
      "minLength": 1
    },
    "reason": {
      "type": "string",
      "enum": [
        "idle",
        "periodic",
        "manual"
      ]
    },
    "snapshotMillis": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "seq",
    "sessionId",
    "at",
    "type",
    "sandboxId",
    "snapshotId",
    "snapshotRef",
    "reason"
  ],
  "additionalProperties": false
}

On this page