Get a model response
Retrieves a model response with the given ID.
Path parameters
The ID of the response to retrieve.
Query parameters
Additional fields to include in the response. See the include parameter for Response creation above for more information.
If set to true, the model response data will be streamed to the client as it is generated using server-sent events. See the Streaming section below for more information.
The sequence number of the event after which to start streaming.
When true, stream obfuscation will be enabled. Stream obfuscation adds random characters to an obfuscation field on streaming delta events to normalize payload sizes as a mitigation to certain side-channel attacks. These obfuscation fields are included by default, but add a small amount of overhead to the data stream. You can set include_obfuscation to false to optimize for bandwidth if you trust the network links between your application and the OpenAI API.
Response
OK
Example response
{
"id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",
"object": "response",
"access_programs": null,
"created_at": 1741476777,
"status": "completed",
"completed_at": 1741476778,
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "gpt-6-astra",
"output": [
{
"type": "message",
"id": "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",
"annotations": []
}
]
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"reasoning": {
"effort": null,
"summary": null,
"context": null
},
"store": true,
"temperature": 1,
"text": {
"format": {
"type": "text"
}
},
"tool_choice": "auto",
"tools": [],
"top_p": 1,
"truncation": "disabled",
"usage": {
"input_tokens": 328,
"input_tokens_details": {
"cached_tokens": 0,
"cache_write_tokens": 0
},
"output_tokens": 52,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 380
},
"user": null,
"metadata": {}
}Changes
Changed in 33 of the 163 revisions of this API.51142211
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
- ●
added the new
gpt-rosalind-researchenum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
gpt-6-lunaenum value to the/////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
gpt-6-solenum value to the/////////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
gpt-5.1-minienum value to the/////////response property for the response statusresponse-property-enum-value-added
- ●
- ○
response property
allOf[ResponseProperties]/tools/items/oneOf[subschema #6: MCP tool]/connector_iddeprecatedresponse-property-deprecated
- ○
response property
allOf[subschema #3]/instructions/anyOf[subschema #1]/oneOf[subschema #2: Input item list]/items/oneOf[subschema #2: Item]/oneOf[AdditionalToolsItemParam]/tools/items/oneOf[subschema #6: MCP tool]/connector_iddeprecatedresponse-property-deprecated
- ○
response property
allOf[subschema #3]/instructions/anyOf[subschema #1]/oneOf[subschema #2: Input item list]/items/oneOf[subschema #2: Item]/oneOf[ToolSearchOutputItemParam]/tools/items/oneOf[subschema #6: MCP tool]/connector_iddeprecatedresponse-property-deprecated
- ○
response property
allOf[subschema #3]/output/items/oneOf[AdditionalTools]/tools/items/oneOf[subschema #6: MCP tool]/connector_iddeprecatedresponse-property-deprecated
- ○
response property
allOf[subschema #3]/output/items/oneOf[ToolSearchOutput]/tools/items/oneOf[subschema #6: MCP tool]/connector_iddeprecatedresponse-property-deprecated
- ○
- ●
added the new
gpt-audio-minienum value to the/////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
gpt-audio-mini-2025-12-15enum value to the/////////response property for the response statusresponse-property-enum-value-added
- ○
removed the
gpt-5.1-minienum value from the/////////response property for the response statusresponse-property-enum-value-removed
- ●
- ▲
the
///////response property's maxLength was increased from20971520to104857600for the response statusresponse-property-max-length-increased
- ▲
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added
subschema #1to the///////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #1to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #1subschema #2from the///////response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #1subschema #2from the////response propertyanyOflist for the response statusresponse-property-any-of-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○