Create Model Response (GPT-5 Thinking Enabled)
POST
/v1/responses
- GPT-5 series models enable thinking and summaries via
reasoning(effort,summary) - Supports multi-segment
input(e.g.input_text) and streaming withstream: true - Compatible with the OpenAI Responses API create response endpoint
- Official docs: Create a model response
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
model
string
Required
ID of the model to use. See the model endpoint compatibility table for which models work with the Responses API.
input
object[]
Required
Text, image, and other inputs for the model to generate a response.
Expand
tools
string[]
A list of tools the model may call. Currently only functions are supported as tools.
text
object
Configuration options for the model's text response. May be plain text or structured JSON.
Expand
reasoning
object
stream
boolean
Required
Set to true for streaming. Partial message deltas are sent via SSE and the stream ends with data: [DONE].
store
boolean
Whether to store the generated model response for later retrieval via the API. Default is true.
Responses
application/json
object
id
string
Required
object
string
Required
created
integer
Required
choices
object[]
Required
usage
object
Required