changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "items": {
+ "description": "One page of the agent's runs, most recently started first.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent_id": {
+ "description": "The agent that ran it.",
+ "type": "string"
+ },
+ "cause": {
+ "type": "string"
+ },
+ "command_error": {
+ "type": "string"
+ },
+ "command_state": {
+ "type": "string"
+ },
+ "continuation_run_id": {
+ "type": "string"
+ },
+ "credits": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "ended_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "error": {
+ "additionalProperties": false,
+ "description": "Why a terminal error or cancelled run failed, and what to do about it. Absent for a run that is still going or that finished normally.",
+ "properties": {
+ "class": {
+ "description": "The failure class: the run's terminal cause, or \"unknown\" when none was recorded.",
+ "type": "string"
+ },
+ "message": {
+ "description": "What happened, and whether the work was charged.",
+ "type": "string"
+ },
+ "next_step": {
+ "description": "What to do about it.",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "Whether sending the same message again could plausibly succeed.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "class",
+ "message",
+ "retryable",
+ "next_step"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "id": {
+ "description": "The run's public identifier; pass it to get_run_result as run_id.",
+ "type": "string"
+ },
+ "input_expired": {
+ "description": "True when this run is parked on a question its session has moved past: a later run in the same conversation has completed, so answering it would resume a superseded turn. Do not answer it; start a new run instead.",
+ "type": "boolean"
+ },
+ "input_status": {
+ "type": "string"
+ },
+ "input_updated_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "last_heartbeat_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin": {
+ "description": "What started this run: user, schedule, email, background, agent or agent_result.",
+ "type": "string"
+ },
+ "parent_run_id": {
+ "type": "string"
+ },
+ "resume_run_id": {
+ "type": "string"
+ },
+ "resume_status": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "session_id": {
+ "description": "The conversation this run belongs to; pass it to invoke_agent as session_id to continue it. Identical to thread_id.",
+ "type": "string"
+ },
+ "started_at": {
+ "type": "string"
+ },
+ "status": {
+ "description": "The run's status: queued, running, awaiting_input, completed, error or cancelled.",
+ "type": "string"
+ },
+ "stop_reason": {
+ "type": "string"
+ },
+ "thread_id": {
+ "description": "The conversation this run belongs to. Identical to session_id.",
+ "type": "string"
+ },
+ "tokens": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "tool_progress": {
+ "additionalProperties": false,
+ "description": "Durable tool execution progress, from the same telemetry get_run_result reads. Null for a run with no telemetry, and for a terminal run, which has no call in flight to report.",
+ "properties": {
+ "active_tools": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "started_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "started_at"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "completed_count": {
+ "type": "integer"
+ },
+ "last_completed_at": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "required": [
+ "active_tools",
+ "completed_count"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "upstream_status": {
+ "description": "The model provider's HTTP status when this run died on an upstream fault; absent otherwise.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "agent_id",
+ "thread_id",
+ "session_id",
+ "status",
+ "origin",
+ "started_at",
+ "credits",
+ "tokens",
+ "tool_progress"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "next_cursor": {
+ "description": "Pass this back as cursor to read the next page. Absent when this page is the end of the history.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object"
+}