Plane docs
ApiSchemas

PendingAuthorization

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

Used by sessions.authorizations

JSON Schema

{
  "type": "object",
  "properties": {
    "connectionId": {
      "$ref": "#/components/schemas/ConnectionId"
    },
    "connection": {
      "$ref": "#/components/schemas/ConnectionName"
    },
    "identity": {
      "$ref": "#/components/schemas/Identity"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "url": {
      "type": "string",
      "minLength": 1
    },
    "flowId": {
      "$ref": "#/components/schemas/OAuthFlowId"
    },
    "expiresAt": {
      "type": "string"
    },
    "toolCallId": {
      "$ref": "#/components/schemas/ToolCallId"
    }
  },
  "required": [
    "connectionId",
    "connection",
    "identity",
    "scopes",
    "url",
    "flowId",
    "expiresAt"
  ],
  "additionalProperties": false
}

On this page