Plane docs
ApiSchemas

SessionArtifactEvent

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": [
        "session.artifact"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "preview",
        "blob"
      ]
    },
    "url": {
      "type": "string",
      "minLength": 1
    },
    "blob": {
      "$ref": "#/components/schemas/BlobRef"
    },
    "label": {
      "type": "string"
    },
    "port": {
      "type": "integer",
      "minimum": 1,
      "maximum": 65535
    },
    "expiresAt": {
      "type": "string"
    }
  },
  "required": [
    "seq",
    "sessionId",
    "at",
    "type",
    "kind"
  ],
  "additionalProperties": false
}

On this page