List Events
Call Create session first and replace the example session ID with its returned ID.
/agent/v1/sessions/{session_id}/events● SupportedOfficial Claude documentation ↗
Request parameters
session_idstringrequiredpath: Session id (sesn_...), as returned by sessions.create or sessions.list. The same id is also accepted as the session_id query parameter on resource and thread calls, where it must equal the path value.
created_at[gt]stringoptionalquery: Return events created after this time (exclusive). Compared against the event's
processed_atvalue.created_at[gte]stringoptionalquery: Return events created at or after this time (inclusive). Compared against the event's
processed_atvalue.created_at[lt]stringoptionalquery: Return events created before this time (exclusive). Compared against the event's
processed_atvalue.created_at[lte]stringoptionalquery: Return events created at or before this time (inclusive). Compared against the event's
processed_atvalue.orderstringoptionalquery: Order by processed time: asc chronological (default), desc the reverse.
typesarrayoptionalquery: Filter by event type; values match the returned events' type field (e.g. user.message, agent.tool_use). Omit for all types.
limitnumberoptionalquery: Number of items per page.
pagestringoptionalquery: Opaque pagination cursor: pass the next_page value of the previous response unchanged. Omit it for the first page. A cursor from a different query or a malformed one returns 400.
Returns
200
Send a message before reading history. Until processing finishes, only admitted input may be visible. Pagination, event type and time filters are supported, including system.message in types[]. system.message returns id, type, content and processed_at without provenance or run_id. A session waiting for tool approval pauses on session.status_idle with stop_reason requires_action, whose event_ids list agent.tool_use events to confirm or agent.custom_tool_use events awaiting client results. A failed run emits session.error before session.status_terminated. agent.thinking carries the thinking text in content. When searching or reading web pages, tool results use official search_result blocks on both API surfaces. Answer text blocks carry citations as an /agent/v1 extension; /anthropic renders answer references as [n] in the text.
Errors follow the Anthropic error format (type / message / request_id) — see error codes
Request
curl
# Call Create session first and replace the example session ID with its returned ID.
curl https://api.deepraxis.com/agent/v1/sessions/sesn_123/events \
-H "Authorization: Bearer $PRAXIS_API_KEY"Python
# Call Create session first and replace the example session ID with its returned ID.
import requests
opts = dict(
base_url="https://api.deepraxis.com/agent",
api_key="$PRAXIS_API_KEY",
)
# /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
resp = requests.get(
f"{opts['base_url']}/v1/sessions/sesn_123/events",
headers={"Authorization": f"Bearer {opts['api_key']}"},
)
print(resp.status_code, resp.json())TypeScript
// Call Create session first and replace the example session ID with its returned ID.
const opts = {
baseURL: "https://api.deepraxis.com/agent",
apiKey: "$PRAXIS_API_KEY",
};
// /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
const resp = await fetch(`${opts.baseURL}/v1/sessions/sesn_123/events`, {
headers: { Authorization: `Bearer ${opts.apiKey}` },
});
console.log(resp.status, await resp.json());Response 200
{
"data": [
{
"id": "7498fb36-ffbf-46fd-8303-aafe16ae2f32",
"type": "user.message",
"processed_at": "2026-09-29T08:30:26.709Z",
"content": [
{
"type": "text",
"text": "你好"
}
]
},
{
"id": "295e846c-9780-4be0-84d1-c579d7f3f983",
"type": "session.status_running",
"processed_at": "2026-09-29T08:30:26.709Z"
},
{
"id": "mreq_bXNnX2I3MDcwZjE4LTU0ZjMtNDY1MC04MDYwLTZmNDhhNDc0NDY4OA",
"type": "span.model_request_start",
"processed_at": "2026-09-29T08:30:26.709Z"
},
{
"id": "f0532850-c2cc-463c-9b16-735294ac3e07",
"type": "span.model_request_end",
"processed_at": "2026-09-29T08:30:30.775Z",
"model_request_start_id": "mreq_bXNnX2I3MDcwZjE4LTU0ZjMtNDY1MC04MDYwLTZmNDhhNDc0NDY4OA",
"is_error": null,
"model_usage": {
"input_tokens": 136,
"output_tokens": 29,
"cache_read_input_tokens": 0,
"cache_creation_input_tokens": 0
}
},
{
"id": "sevt_3236b3b7e5ee4809adb72d658db51574",
"type": "agent.thinking",
"processed_at": "2026-09-29T08:30:30.775Z",
"content": [
{
"type": "text",
"text": "The user just said \"你好\" (hello). I should respond briefly in one sentence as instructed."
}
]
},
{
"id": "sevt_873e1e210f7a4e7aac9b70cdb6981103",
"type": "agent.message",
"processed_at": "2026-09-29T08:30:30.775Z",
"content": [
{
"type": "text",
"text": "你好!有什么我可以帮你的吗?"
}
]
},
{
"id": "862ac010-c2b2-425d-83c5-0575b1d4737e",
"type": "session.usage",
"processed_at": "2026-09-29T08:30:30.775Z",
"usage": {
"input_tokens": 136,
"output_tokens": 29,
"cache_read_input_tokens": 0
}
},
{
"id": "559c823f-cc0e-4d06-a7ec-c0b5cce33dba",
"type": "session.status_idle",
"processed_at": "2026-09-29T08:30:30.775Z",
"stop_reason": {
"type": "end_turn"
}
}
],
"next_page": null
}Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| data | array<object> | Items of this page, in the order requested by the call. |
| data[].id | string | Unique identifier for this event. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. / Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer. |
| data[].content | array<object> | Array of content blocks comprising the user message. / The result content returned by the tool. / Array of text blocks comprising the agent response. / The result content returned by the tool. / The result content returned by the tool. / Message content blocks. / Message content blocks. / The result content returned by the tool. / System content blocks. Text-only. |
| data[].type | string | Always user.message. A message from the user to the agent, with content blocks. / Always user.interrupt. The user interrupted the running turn. / Always user.tool_confirmation. The user's decision to allow or deny a tool call that waits for approval. / Always user.custom_tool_result. The user's result for a custom tool call. / Always agent.custom_tool_use. The agent called a custom tool defined by the client. / Always agent.message. A message from the agent, with text content blocks. / Always agent.thinking. The agent's thinking text for a step. / Always agent.mcp_tool_use. The agent called an MCP tool. / Always agent.mcp_tool_result. The result of an MCP tool call. / Always agent.tool_use. The agent called a tool. / Always agent.tool_result. The result of a tool call. / Always agent.thread_message_received. The agent received a message from another thread. / Always agent.thread_message_sent. The agent sent a message to another thread. / Always agent.thread_context_compacted. The thread's context was compacted into a summary. / Always session.error. The session hit an error. / Always session.status_rescheduled. The session will retry after a recoverable error. / Always session.status_running. The session started running a turn. / Always session.status_idle. The session stopped running; stop_reason says why. / Always session.status_terminated. The session ended and accepts no more work. / Always session.thread_created. A child thread was started. / Always span.outcome_evaluation_start. An outcome evaluation started. / Always span.outcome_evaluation_end. An outcome evaluation ended. / Always span.model_request_start. A model request started. / Always span.model_request_end. A model request ended, with its usage. / Always span.outcome_evaluation_ongoing. An outcome evaluation is still running. / Always user.define_outcome. The user defined the outcome the agent should reach. / Always session.deleted. The session was deleted. / Always session.thread_status_running. A thread started running. / Always session.thread_status_idle. A thread stopped running; stop_reason says why. / Always session.thread_status_terminated. A thread ended. / Always user.tool_result. The user's result for a client-side tool call. / Always session.thread_status_rescheduled. A thread will retry after a recoverable error. / Always session.updated. The session's model, title, metadata, agent or budget changed. / Always system.message. A message produced by the platform rather than the user or the agent. / Always session.usage. Cumulative usage of the session. / Always session.forked. The session was created by forking another session. / Always session.goal_changed. / Always session.goal_verification. / Always user.steer. Receipt that a queued user.message was injected into the running turn. / Always cognition.surfaced. A worker session reached a boundary and surfaced in this session. / Always cognition.intention_woken. The idle pass woke the session about one open intention. / Always agent.operation_approval_requested. The door held an outward or irreversible operation for the person to approve. / Always agent.operation_approval_decided. A held operation was approved, refused, or expired unanswered. / Always session.prompt_configuration_mismatch. A pinned session runs a configuration revision its agent has since left. / Always session.prompt_rev_changed. A platform input (a prompt section, the catalog, the tool descriptions) moved without a version moving. / Always session.computer_tier. The session's machine escalated, came back, or reported its tier status. / Always agent.artifact_delivered. A file, canvas or media asset the agent delivered was recorded as an artifact. / Always agent.image_generation. Retired imagine tool: one image request and how it ended. Old sessions still replay it. / Always session.image_labeled. Retired imagine tool: a picture was labelled in the session. Old sessions still replay it. / Always session.image_set_planned. Retired imagine tool: one call planned a set of pictures. Old sessions still replay it. / Always session.project_attached. The main session attached a project; it names the project, never its instructions. / Always session.project_detached. The main session's project attachment ended. / Always session.status_preparing. A device session's local agent is starting; stage says how far it got. |
| data[].processed_at | null | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null | string | string | string | null | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | A timestamp in RFC 3339 format / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / When the event was recorded, RFC 3339. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. / RFC 3339 time at which the server processed the event; null while a queued input has not started running. |
| data[].praxis_context | object | Untrusted page context for this user message only. Resend on each turn when needed; never added to system instructions. The complete JSON value must be at most 4096 UTF-8 bytes; invalid values return 400 INVALID_PARAMS. Empty items are treated as absent. Available only on /agent/v1. |
| data[].message_id | string | UI transcript message ID. Use the last assistant message in a successfully completed turn as the fork target. / UI transcript message ID shared with this assistant's message parts. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here. |
| data[].session_thread_id | null | string | string | string | string | string | null | string | string | string | null | string | null | string | null | string | null | string | null | string | null | string | null | If absent, interrupts every non-archived thread in a multiagent session (or the primary alone in a single-agent session). If present, interrupts only the named thread. / Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread. / Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread. / When set, this event was cross-posted from a subagent's thread to surface its custom tool use on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching user.custom_tool_result by custom_tool_use_id, so clients do not send it back. / When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching user.tool_confirmation by tool_use_id, so clients do not send it back. / When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching user.tool_confirmation or user.tool_result by tool_use_id, so clients do not send it back. / Public sthr_ ID of the newly created thread. / Public sthr_ ID of the thread that started running. / Public sthr_ ID of the thread that went idle. / Public sthr_ ID of the thread that terminated. / Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread. / Public sthr_ ID of the thread that is retrying. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. / Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here. |
| data[].result | string | object | UserToolConfirmationResult enum / Evaluation verdict. 'satisfied': criteria met, session goes idle. 'needs_revision': criteria not met, another revision cycle follows. 'max_iterations_reached': evaluation budget exhausted with criteria still unmet — one final acknowledgment turn follows before the session goes idle, but no further evaluation runs. 'failed': grader determined the rubric does not apply to the deliverables. 'interrupted': user sent an interrupt while evaluation was in progress. / What the worker handed over at this boundary: its last message, the addresses it named, the files it delivered and any operation the platform still holds. Absent when it handed nothing over. |
| data[].tool_use_id | string | The id of the agent.tool_use or agent.mcp_tool_use event this result corresponds to, which can be found in the last session.status_idle event's stop_reason.event_ids field. / The id of the agent.tool_use event this result corresponds to. / The id of the agent.tool_use event this result corresponds to, which can be found in the last session.status_idle event's stop_reason.event_ids field. / The imagine tool call this report belongs to. / Imagine call that produced the label, when one did. / Imagine call that planned the set. |
| data[].deny_message | string | Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation. Omit when no feedback is needed. |
| data[].permission_mode | string | string | null | With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops. / The new native session permission mode; null restores configured tool policies. |
| data[].custom_tool_use_id | string | The id of the agent.custom_tool_use event this result corresponds to, which can be found in the last session.status_idle event's stop_reason.event_ids field. |
| data[].is_error | null | boolean | Whether the tool execution resulted in an error. / Whether the model request resulted in an error. / Whether the tool execution resulted in an error. |
| data[].input | object | Input parameters for the tool call. |
| data[].name | string | Name of the custom tool being called. / Name of the MCP tool being used. / Name of the agent tool being used. / Name the worker session was opened under, as the session list shows it. |
| data[].run_id | string | null | Run that produced this event; null when no run identity was recorded. |
| data[].mcp_server_name | string | Name of the MCP server providing the tool. |
| data[].evaluated_permission | string | AgentEvaluatedPermission enum |
| data[].evaluation | object | Names the resolved permission_policy that produced evaluated_permission, and under auto carries the judgement. Open union: clients must tolerate unknown variants. |
| data[].permission_suggestions | array<object> | On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval. |
| data[].full_access_available | boolean | True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access. |
| data[].user_once | boolean | When present, this dangerous shell call requires approval for this execution only; offer allow once or deny. |
| data[].guarded_rule | string | Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches. |
| data[]._meta | object | Praxis extension (MCP Apps, SEP-1865): the ui and openai/ui keys of the MCP tool definition's _meta, verbatim; other _meta keys are not exposed. When ui.resourceUri is a ui:// URI, the tool has an interactive view: a client that implements MCP Apps can fetch that resource from the MCP server and render it for this call. Absent when the tool declares neither key. Clients that do not render MCP Apps ignore it. / Praxis extension (MCP Apps, SEP-1865): the MCP CallToolResult _meta, verbatim. Views use it for data that should not reach the model; absent when the tool returned none. |
| data[].source | string | Praxis extension (MCP Apps, SEP-1865): app when the call was made by an MCP Apps view, codemode when a program run by the codemode tool called an MCP tool that declares a view (the event pair exists so a client can render that view; the model already has the result in the codemode tool result); absent for the model's own calls. / What caused the change. |
| data[].parent_tool_use_id | string | Praxis extension (MCP Apps, SEP-1865): present when source is codemode; the id of the codemode tool use whose program made this call. Absent otherwise. |
| data[].title | string | null | string | string | Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent. / The session's new title. Present only when the update changed it. / Title given to the set, when the call named one. |
| data[].input_titles | object | Display labels keyed by top-level input property name, from MCP inputSchema.properties titles. Only nonempty string titles are included, trimmed and truncated to 100 characters each; omitted when none. Present only for model-initiated calls on /agent/v1; use the input key when a label is absent. |
| data[].mcp_tool_use_id | string | The id of the agent.mcp_tool_use event this result corresponds to. |
| data[].structured_content | any | Praxis extension (MCP Apps, SEP-1865): the MCP CallToolResult structuredContent, verbatim JSON. MCP Apps views read it as the data to render; absent when the tool returned none. |
| data[].from_session_thread_id | string | Public sthr_ ID of the thread that sent the message. |
| data[].from_agent_name | null | string | Name of the callable agent this message came from. Absent when received from the primary agent. |
| data[].to_session_thread_id | string | Public sthr_ ID of the thread the message was sent to. |
| data[].to_agent_name | null | string | Name of the callable agent this message was sent to. Absent when sent to the primary agent. |
| data[].error | object | Description of the error and what the client should do next. |
| data[].praxis | object | Praxis diagnostic details alongside the SDK error object. |
| data[].stop_reason | object | Why the session stopped running, with the variant data needed to continue. |
| data[].agent_name | string | Name of the callable agent the thread runs. / Name of the agent the thread runs. / Name of the agent the thread runs. / Name of the agent the thread runs. / Name of the agent the thread runs. |
| data[].iteration | number | 0-indexed revision cycle. 0 is the first evaluation; 1 is the re-evaluation after the first revision; etc. / 0-indexed revision cycle, matching the corresponding span.outcome_evaluation_start. / 0-indexed revision cycle, matching the corresponding span.outcome_evaluation_start. |
| data[].outcome_id | string | The outc_ ID of the outcome being evaluated. / Server-generated outc_ ID for this outcome. Referenced by span.outcome_evaluation_* events and the session's outcome_evaluations list. |
| data[].explanation | string | Human-readable explanation of the verdict. For needs_revision, describes which criteria failed and why. |
| data[].outcome_evaluation_start_id | string | The id of the corresponding span.outcome_evaluation_start event. |
| data[].usage | object | Token usage for a single model request. / Point-in-time snapshot of a session's cumulative usage. |
| data[].model_request_start_id | string | The id of the corresponding span.model_request_start event. |
| data[].model_usage | object | Token usage for a single model request. |
| data[].description | string | What the agent should produce. Copied from the input event. |
| data[].max_iterations | null | number | Evaluate-then-revise cycles before giving up. Default 3, max 20. |
| data[].rubric | object | Rubric for grading the quality of an outcome. |
| data[].agent | null | object | Resolved agent definition for a session. Snapshot of the agent at session creation time. |
| data[].budget | null | object | A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches max_list_cost. |
| data[].metadata | object | The session's full metadata bag after the update. Present when the update set non-empty metadata; absent when metadata was unchanged or cleared to empty. |
| data[].previous_permission_mode | string | null | The permission mode before this change, or null when none was selected. |
| data[].permission_mode_version | integer | Monotone permission-mode version, incremented once per mode update. |
| data[].model | object | string | Praxis extension: the changed session model, present only on /agent/v1 session.updated events. Model-only updates are omitted on /anthropic. / Model that drew the picture; absent when none was chosen. |
| data[].forked_from_session_id | string | Id of the parent session this session was forked from. |
| data[].forked_from_message_id | string | message_id of the agent message in the parent session up to which the conversation was copied. |
| data[].action | string | What changed in the goal. / Which step of the tier move this reports. |
| data[].goal | object | null | The goal as the change left it, or null when the session has no goal. |
| data[].previous_goal | object | null | The goal before the change, or null when there was none. |
| data[].status | string | object | string | Where the check stands. Read verification.passed on the closing event to know whether the goal counts as done. / How the held request ended. / The machine's own status when the controller reported one, with the progress counters the console shows while a move runs. / Step of the picture at the time it was recorded: queued, drawing, completed, failed or cancelled. |
| data[].goal_id | string | The goal this check belongs to. |
| data[].goal_iteration | integer | Which check of this goal, matching iteration on the goal. |
| data[].verification_id | string | Identifier shared by every event of one check. |
| data[].anchor_message_id | string | null | The assistant message the check follows, or null. |
| data[].verification | object | The verdict; absent on started. |
| data[].event_id | string | Id of the event this event refers to. |
| data[].worker_session_id | string | Public sesn_ id of the worker session that reached the boundary; the internal ags_ id never appears here. / Public sesn_ id of the worker session whose operation was held; absent when this session made the call itself. |
| data[].state | string | How the worker's span ended. |
| data[].experience_id | string | Engram that filed the worker's experience, when a recap was written; absent when there is no node to name. |
| data[].node_id | string | Engram of the intention the wake was about. |
| data[].reason | string | Why this intention was picked. / Present only when the project left the registry rather than the session detaching it. |
| data[].approval_id | string | Id of the held request; user.tool_confirmation answers it and agent.operation_approval_decided settles it. / Id of the held request this settles, matching agent.operation_approval_requested. |
| data[].operation_id | string | Operation the agent called, as the platform names it in its API reference. |
| data[].effect | string | Why the call was held. |
| data[].method | string | HTTP method of the request that was held. |
| data[].path | string | Path of the request that was held, as the door canonicalized it. |
| data[].summary | string | One line naming the operation and its address, for the card's title. |
| data[].expires_at | string | When the request stops being answerable, RFC 3339; a request nobody answered within 24 hours settles as expired. |
| data[].worker_name | string | Name of that worker session, for the card to say which desk is asking; absent when this session made the call itself. |
| data[].pinned_revision_id | string | Agent configuration revision this session pinned when it started (agr_…). |
| data[].current_revision_id | string | Configuration revision the agent publishes now (agr_…); it differs from the pinned one, which is what makes this event. |
| data[].config_revision_id | string | Configuration revision the session ran this turn (agr_…); it does not move when only platform inputs move. |
| data[].changed | array<object> | The platform inputs that moved, sorted by name; empty never happens, because no move means no event. |
| data[].tier | string | Machine the session is on for this report. |
| data[].duration_ms | integer | How long the reported step took, in milliseconds. |
| data[].error_code | string | Why an escalation failed; present only on escalate_failed. |
| data[].artifact | object | The artifact as the session recorded it: one file of the outputs directory, or one canvas or media asset the reply pointed at. |
| data[].index | integer | Which picture of the call this is, from 0. |
| data[].total | integer | How many pictures the call asked for. |
| data[].mode | string | How the picture was produced: generate, edit or set. |
| data[].aspect | string | Aspect ratio requested for the picture, for example 1:1. |
| data[].prompt | string | Prompt the model passed for this picture. |
| data[].file_id | string | File of the finished picture; absent until it completed. / File the label points at. |
| data[].label | string | Conversation label the picture was given, for example 图3. |
| data[].width | integer | Width of the produced picture in pixels. |
| data[].height | integer | Height of the produced picture in pixels. |
| data[].revised_prompt | string | Prompt the provider rewrote before drawing, when it rewrote one. |
| data[].source_labels | array<string> | Pictures this one was made from, by their conversation labels. |
| data[].caption | string | Caption the reply gave the picture. |
| data[].slot | integer | null | Slot of the picture inside a planned set; null when it was not part of one. |
| data[].replaces | string | Label of the picture this version replaces. |
| data[].version | integer | Version of the labelled picture: one more per replacement. |
| data[].failure | object | Why the picture failed; present only when it failed. |
| data[].origin | string | Where the picture came from. |
| data[].filename | string | Name of the file the label points at. |
| data[].replaced_file_id | string | File this label pointed at before the replacement, when it was replaced. |
| data[].items | array<any> | The pictures the set planned, in the order the call listed them. |
| data[].project | object | The project the main session is now attached to. |
| data[].project_id | string | Id of the project the session was attached to; it is the same id the attach event carried. |
| data[].stage | string | How far the start got. |
| next_page | string | null | Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page. |