Skip to main content
The Conversations API stores messages, runs, and events for agent-facing chat.
Conversations API
Durable messaging
Conversations
Messages
Durable execution
Runs
Events

Core model

LayerStoresUse it for
Durable messagingConversations, messages, branches, read state, and input requests.What the user sees.
Durable executionRuns, events, checkpoints, resume, and completion state.What the system did.

Why both exist

A message stores visible chat state. A run stores the work that produced, streamed, resumed, cancelled, or failed that response.

Contents

PageUse it to understand
Durable messagingConversation state and message structure.
Durable executionRuns, jobs, workflows, events, and resume behavior.
Architecture and flowHow a message becomes a run and final answer.
Run lineageHow conversations, messages, runs, and child work connect.
Events and streamingSSE, AG-UI events, durable events, and notifications.
AuthorizationAccess boundaries for conversations and runs.
Connect an agentRuntime contract for developer-provided agents.