Emitted when a turn or session fails.
Emitted when a hosted session environment is ready to connect.
The current environment state.
Emitted after an idle hosted session environment is checkpointed and stopped.
The current environment state.
Emitted after a suspended hosted session environment and its checkpoint expire.
The current environment state.
Emitted after a hosted sandbox is replaced. Conversation history survives; changes to the previous sandbox’s files and processes do not.
Emitted when command execution produces an output delta.
Emitted when a session is created.
The session that was created.
The agent running in the session.
Custom instructions appended to the agent’s default base instructions.
The reusable agent’s name when the session was created, or null if no name was saved. Later changes to the agent’s name do not affect this value.
The agent’s reasoning configuration.
The effective service-tier policy for model requests. Defaults to auto.
Configuration for text generated by the agent.
A function defined by the application.
Enables calling tools from model-generated code.
Tools provided by a remote MCP server.
The attached vault credential selected for this MCP server, if any. Optional when exactly one attached credential matches the server URL.
The transport used to connect to the MCP server.
Web search.
Allowed search domains, or null when the search is unrestricted.
The amount of search context made available to the model. Defaults to medium.
The execution environment for the session.
The session talks to CCA without selecting or provisioning an execution environment.
An environment hosted by OpenAI.
Directories that contain capabilities exposed to the agent.
Files available in the environment, excluding their contents.
The effective network access policy for the environment.
Skills installed in the environment, excluding their archive contents.
An environment hosted by the application.
Actions that must be completed before the session can continue.
Respond to an MCP tool-call approval request.
Respond to a computer-use request.
The information needed to render the request.
A registered form awaiting the application’s response.
Best-effort token usage for the session, or null if unknown. Recorded usage may change.
Emitted when a turn is created.
The turn at the time it was created.
The Unix timestamp, in seconds, when the turn reached a terminal state.
The Unix timestamp, in seconds, used to order the turn by creation time. Subagent turns use their start time, falling back to completion time or the subagent opening time when the preceding timestamps are unavailable.
A customer-safe error. Non-null only for a failed turn.
Best-effort token usage for the turn, or null if unknown. Recorded usage may change.
Emitted when a turn starts running.
The turn at the time it started running.
The Unix timestamp, in seconds, when the turn reached a terminal state.
The Unix timestamp, in seconds, used to order the turn by creation time. Subagent turns use their start time, falling back to completion time or the subagent opening time when the preceding timestamps are unavailable.
A customer-safe error. Non-null only for a failed turn.
Best-effort token usage for the turn, or null if unknown. Recorded usage may change.
Emitted when a turn completes.
The completed turn.
The Unix timestamp, in seconds, when the turn reached a terminal state.
The Unix timestamp, in seconds, used to order the turn by creation time. Subagent turns use their start time, falling back to completion time or the subagent opening time when the preceding timestamps are unavailable.
A customer-safe error. Non-null only for a failed turn.
Best-effort token usage for the turn, or null if unknown. Recorded usage may change.
Emitted when a turn fails.
The failed turn.
The Unix timestamp, in seconds, when the turn reached a terminal state.
The Unix timestamp, in seconds, used to order the turn by creation time. Subagent turns use their start time, falling back to completion time or the subagent opening time when the preceding timestamps are unavailable.
A customer-safe error. Non-null only for a failed turn.
Best-effort token usage for the turn, or null if unknown. Recorded usage may change.
Emitted when a turn is cancelled.
The cancelled turn.
The Unix timestamp, in seconds, when the turn reached a terminal state.
The Unix timestamp, in seconds, used to order the turn by creation time. Subagent turns use their start time, falling back to completion time or the subagent opening time when the preceding timestamps are unavailable.
Emitted when an item is added to a turn.
Emitted when a session starts processing a turn.
Emitted when a session is waiting for one or more required actions.
Emitted while a session environment is being prepared.
Emitted when a session environment connects.
Emitted when a session environment disconnects.
Emitted when a session environment fails.
Emitted when a subagent is created.
Emitted when a closed subagent successfully resumes.
Emitted when a subagent is closed.
Emitted when an output item is complete.
Emitted when an output text content part is added.
Emitted when an output content part is complete.
Emitted when text is appended to an output text content part.
Emitted when an output text content part is complete.
Emitted when a reasoning summary content part is added.
Emitted when a reasoning summary part is complete.