changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "AgentID": {
+ "pattern": "^agt_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentInputID": {
+ "pattern": "^ain_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentInteractionDestination": {
+ "description": "Immutable handler and destination captured when the interaction was created. Provider delivery and callbacks check current integration and handler authority. Dashboard/API resolution remains available independently.",
+ "properties": {
+ "conversation": {
+ "$ref": "#/$defs/IntegrationConversation"
+ },
+ "handler_key": {
+ "type": "string"
+ },
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ },
+ "integration_kind": {
+ "$ref": "#/$defs/IntegrationKind"
+ },
+ "integration_target_id": {
+ "$ref": "#/$defs/IntegrationTargetID"
+ }
+ },
+ "required": [
+ "integration_kind",
+ "handler_key",
+ "integration_id",
+ "integration_target_id",
+ "conversation"
+ ],
+ "type": "object"
+ },
+ "AgentInteractionID": {
+ "pattern": "^int_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentInteractionKind": {
+ "enum": [
+ "permission",
+ "question"
+ ],
+ "type": "string"
+ },
+ "AgentInteractionState": {
+ "enum": [
+ "open",
+ "resolved",
+ "canceled"
+ ],
+ "type": "string"
+ },
+ "AgentName": {
+ "description": "Agent name. Empty means the agent is unnamed; non-empty values use the ResourceName policy.",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "IntegrationConversation": {
+ "additionalProperties": true,
+ "description": "One concrete provider address, validated by the integration's capabilities.subscription.conversation_schema. Slack uses channel_id and optional thread_ts; Discord uses channel_id for a channel or thread_id for a thread; GitHub uses repository_id and pull_request. Discord accepts optional parent channel_id and guild_id alongside thread_id and validates their ID format, but subscription creation does not verify them against Discord or retain them as routing restrictions. Only thread_id is retained in a canonical thread address and returned by create/list responses. No credentials or runtime state.",
+ "type": "object"
+ },
+ "IntegrationID": {
+ "pattern": "^itg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "IntegrationKind": {
+ "description": "Registered integration implementation; independent of the saved integration's name and immutable ID.",
+ "enum": [
+ "slack_thread",
+ "discord_thread",
+ "github_pr"
+ ],
+ "type": "string"
+ },
+ "IntegrationTargetID": {
+ "pattern": "^itgt_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "InteractionAnswer": {
+ "properties": {
+ "option_indices": {
+ "description": "Zero-based indices of the chosen options. Pick one unless the question allows multiple.",
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "text": {
+ "description": "Free text sent with an option whose allows_text is true.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "option_indices"
+ ],
+ "type": "object"
+ },
+ "InteractionForm": {
+ "properties": {
+ "context": {
+ "items": {
+ "$ref": "#/$defs/InteractionFormContextItem"
+ },
+ "type": "array"
+ },
+ "questions": {
+ "items": {
+ "$ref": "#/$defs/InteractionFormQuestion"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "title": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "questions"
+ ],
+ "type": "object"
+ },
+ "InteractionFormContextItem": {
+ "properties": {
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "InteractionFormOption": {
+ "properties": {
+ "allows_text": {
+ "default": false,
+ "description": "Whether the answer may include optional companion text for this option.",
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "InteractionFormQuestion": {
+ "properties": {
+ "multiple": {
+ "default": false,
+ "description": "Whether the answer may select more than one option.",
+ "type": "boolean"
+ },
+ "options": {
+ "items": {
+ "$ref": "#/$defs/InteractionFormOption"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "prompt": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "options"
+ ],
+ "type": "object"
+ },
+ "InteractionPresentationReceipt": {
+ "additionalProperties": true,
+ "description": "Confirmed provider presentation metadata, when recorded. This is not an execution grant or a delivery guarantee. Absence does not prove a remote send failed. Customer-hosted presenters maintain their own delivery records.",
+ "type": "object"
+ },
+ "InteractionResolution": {
+ "properties": {
+ "answers": {
+ "description": "Answers in the same order as the interaction form's questions.",
+ "items": {
+ "$ref": "#/$defs/InteractionAnswer"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "answers"
+ ],
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "ToolCallID": {
+ "pattern": "^tcl_[a-z2-7]{26}$",
+ "type": "string"
+ }
+ },
+ "properties": {
+ "agent_id": {
+ "$ref": "#/$defs/AgentID"
+ },
+ "agent_name": {
+ "$ref": "#/$defs/AgentName",
+ "description": "Name of the owning agent. Included by both interaction list endpoints."
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "destination": {
+ "$ref": "#/$defs/AgentInteractionDestination",
+ "description": "Captured built-in integration destination. Absent for dashboard-only or older interactions; never reconstructed from the current agent selection."
+ },
+ "id": {
+ "$ref": "#/$defs/AgentInteractionID"
+ },
+ "interaction_kind": {
+ "$ref": "#/$defs/AgentInteractionKind"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "presentation_receipt": {
+ "$ref": "#/$defs/InteractionPresentationReceipt"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "request": {
+ "$ref": "#/$defs/InteractionForm"
+ },
+ "resolution": {
+ "$ref": "#/$defs/InteractionResolution"
+ },
+ "resolved_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "resolved_by_input_id": {
+ "$ref": "#/$defs/AgentInputID",
+ "description": "The agent input that resolved the interaction — the submitted response, the content input that superseded it, or the cancel control input. Absent on open interactions and on resolutions without an attributed input. The input's actor_id attributes the resolution."
+ },
+ "state": {
+ "$ref": "#/$defs/AgentInteractionState"
+ },
+ "subagent_key": {
+ "description": "Key of the owning agent when it is a subagent. Included by both interaction list endpoints.",
+ "type": "string"
+ },
+ "tool_call_id": {
+ "$ref": "#/$defs/ToolCallID",
+ "description": "The tool call that is waiting on this interaction — the guarded tool for a permission, or the ask_question call for a question."
+ },
+ "tool_name": {
+ "description": "The tool whose invocation a permission interaction guards. Present only when interaction_kind is permission.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "agent_id",
+ "tool_call_id",
+ "interaction_kind",
+ "state",
+ "request",
+ "created_at"
+ ],
+ "type": "object"
+}