Responses API
Get Response
Retrieve a response by ID.
GET
Headers
Path Parameters
The id resolves from the moment the run starts
A response id is retrievable for the whole life of the run, not only once it finishes. AGET issued while the run is still working returns the envelope with status: "in_progress"
and an empty output — for a background run, for a streaming run, and for an ordinary
synchronous one.
response.created (the first frame of a stream) usable
immediately — to poll, to show the run in an operator view, or to
cancel it.
A paused approval reports
status: "completed", and a run waiting on a sub-agent’s approval
reports in_progress. What identifies either is an mcp_approval_request item in output whose
own status is pending. See
Governance outcomes.When a response stops being retrievable
A run that has not finished, including one paused for approval, keeps its response record however
old it is. A pending approval has its own time limit, described in
Governance outcomes.
A run’s saved stream events, which
GET /v1/responses/{id}?stream=true replays, age out separately.
They are deleted after RUN_EVENT_RETENTION_DAYS (30 days by default) whatever the run’s state. If
that window is set longer, a run that never finishes still loses them once it is older than twice
RESPONSES_SSE_TTL_DAYS and its last event is older than RESPONSES_SSE_TTL_DAYS.
Supported Providers
GET /v1/responses/{id} is provider-agnostic — every response Bud stores is retrievable
this way, whichever model produced it.
Retrieval is scoped to the API key that created the response: another key asking for the same
id gets
404, never another tenant’s content.