Skip to main content
GET
Get Conversation
Returns the parent execution row, the full activity thread, aggregate cost / token usage, and every sub-execution’s (execution, activity, usage) triple. See the Agent Gateway overview for the full conversation model.

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required
conversation_id
string
required

Response

Successful Response

Combined view of one chat conversation.

conversation_id is the parent gateway execution id, which is also the activity-thread id. execution, activity, and usage can each be independently None when the upstream is unavailable — the route returns 404 only when BOTH execution AND activity are missing.

usage at this root level is aggregated across the parent execution AND every entry in sub_executions (single upstream call to the llm_usage:aggregate endpoint). Per-sub usage is mirrored on each SubExecutionResponse.usage so clients don't have to fan-out.

conversation_id
string
required
execution
AgentExecution · object | null

Parent gateway execution row (status, result, sub_executions, deep_planning, …).

activity
AgentActivityThread · object | null

Ordered message list (user, agent, tool calls, reasoning, …).

usage
ConversationUsage · object | null

Aggregate cost + token usage over parent + every sub-execution. Best-effort.

sub_executions
SubExecutionResponse · object[]

Triple-shape entry for every sub-execution spawned by this conversation.

feedbacks
MessageFeedbackItem · object[]

Per-message feedback rows recorded against the parent execution.