{ "properties": { "id": { "type": "string", "title": "Id" }, "run_id": { "type": "string", "title": "Run Id" }, "session_id": { "type": "string", "title": "Session Id" }, "status": { "type": "string", "title": "Status" }, "source_type": { "type": "string", "title": "Source Type" }, "approval_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Approval Type" }, "pause_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pause Type" }, "tool_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Tool Name" }, "tool_args": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Tool Args" }, "expires_at": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Expires At" }, "agent_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Agent Id" }, "team_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Team Id" }, "workflow_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Workflow Id" }, "user_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "User Id" }, "schedule_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Schedule Id" }, "schedule_run_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Schedule Run Id" }, "source_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Name" }, "requirements": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Requirements" }, "context": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Context" }, "resolution_data": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Resolution Data" }, "resolved_by": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Resolved By" }, "resolved_at": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Resolved At" }, "created_at": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created At" }, "updated_at": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated At" }, "run_status": { "anyOf": [ { "$ref": "#/components/schemas/RunStatus" }, { "type": "null" } ] } }, "type": "object", "required": [ "id", "run_id", "session_id", "status", "source_type" ], "title": "ApprovalResponse", "description": "Response model for a single approval.", "$schema": "https://json-schema.org/draft/2020-12/schema" }