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
- FetchUrlResultsOutputItem
- FinanceResultsOutputItem
- PeopleSearchResultsOutputItem
- FunctionCallOutputItem
- SandboxResultsOutputItem
- McpListToolsOutputItem
- McpCallOutputItem
Status of the response
completed, failed, in_progress, requires_action Error details if the response failed
Token usage and cost information