Plane docs
ApiSchemas

HookDeadLetterEvent

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": [
        "hook.dead_letter"
      ]
    },
    "deliveryId": {
      "$ref": "#/components/schemas/HookDeliveryId"
    },
    "connectionId": {
      "$ref": "#/components/schemas/ConnectionId"
    },
    "connection": {
      "type": "string",
      "minLength": 1
    },
    "eventSeq": {
      "$ref": "#/components/schemas/EventSeq"
    },
    "eventType": {
      "type": "string"
    },
    "attempts": {
      "type": "integer",
      "minimum": 1
    },
    "lastError": {
      "type": "string"
    }
  },
  "required": [
    "seq",
    "sessionId",
    "at",
    "type",
    "deliveryId",
    "connectionId",
    "connection",
    "eventSeq",
    "eventType",
    "attempts",
    "lastError"
  ],
  "additionalProperties": false
}

On this page