ApiSchemas
SessionResumedEvent
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.resumed"
]
},
"reason": {
"$ref": "#/components/schemas/ModelRetryReason"
},
"recovered": {
"type": "object",
"properties": {
"modelRequests": {
"type": "integer",
"minimum": 0
},
"toolCallsReinvoked": {
"type": "integer",
"minimum": 0
},
"toolCallsInterrupted": {
"type": "integer",
"minimum": 0
},
"plans": {
"type": "integer",
"minimum": 0
}
},
"required": [
"modelRequests",
"toolCallsReinvoked",
"toolCallsInterrupted",
"plans"
],
"additionalProperties": false
}
},
"required": [
"seq",
"sessionId",
"at",
"type",
"reason",
"recovered"
],
"additionalProperties": false
}