Retrieve Agent Response
Retrieve a response created earlier. Returns a JSON snapshot of the response. Only responses created with store omitted or true can be retrieved; store: false responses return a 404.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response id (resp_<...>)
Response
JSON snapshot of the response.
Non-streaming response returned when stream is false
Unix timestamp when the response was created
Unique identifier for the response
Model used for generation
Object type identifier
response Array of output items (messages, search results, tool calls)
- MessageOutputItem
- SearchResultsOutputItem
- ImageSearchResultsOutputItem
- FetchUrlResultsOutputItem
- FinanceResultsOutputItem
- PeopleSearchResultsOutputItem
- FunctionCallOutputItem
- SandboxResultsOutputItem
- McpListToolsOutputItem
- McpCallOutputItem
- McpApprovalRequestOutputItem
- ToolSearchOutputItem
Status of the response
completed, failed, incomplete, in_progress, queued, cancelled Error details if the response failed
Preset and version that ran this response, as name@<version> (e.g., "fast@2026-09-29.0").
Present only when the request used a preset. Streams resumed with starting_after omit it.
For an alias, this is the preset and version that the alias selects.
Send a value with a version as the request preset to run that configuration again.
A released version can receive bug-fix patches, so sending it back runs that version as currently patched.
A value without a version is the bare preset name: the run was created before preset versions, or was served without versions.
Sending it runs the active version.
Token usage and cost information