ApiSchemas
ConnectionAuthorizationRequiredEvent
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": [
"connection.authorization_required"
]
},
"connectionId": {
"$ref": "#/components/schemas/ConnectionId"
},
"connection": {
"type": "string",
"minLength": 1
},
"identity": {
"$ref": "#/components/schemas/Identity"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"flowId": {
"$ref": "#/components/schemas/OAuthFlowId"
},
"expiresAt": {
"type": "string"
},
"toolCallId": {
"$ref": "#/components/schemas/ToolCallId"
}
},
"required": [
"seq",
"sessionId",
"at",
"type",
"connectionId",
"connection",
"identity",
"scopes",
"flowId",
"expiresAt"
],
"additionalProperties": false
}