Skip to main content
Every field a response can carry, and what an object means before you have made a call to see one. Bold names are required.

The session object

A cloud computer with an agent on it. Everything else hangs off one.

The turn object

One piece of work, from the message that started it to the moment it settles.

The item object

One thing that happened inside a turn — a message, a tool call, a file change.

The required action object

Something the session is waiting on you for.

The artifact object

A file a turn published. Outlives the workspace that made it.

The agent object

A reusable definition to start sessions from.

The model credential object

A model connection this organization owns.

The preview object

A published address, and the port behind it.

The webhook subscription object

Where deliveries go, and for which events. The secret appears once, on creation.

The event object

One frame of the session’s event stream.

The tool configuration object

The functions and MCP servers a session may use.

The error object

Every refusal, in one shape.