Create a model response (Responses API)
GoModel API reference for POST /v1/responses: Create a model response (Responses API).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Responses API request
Conversation accepts either a conversation ID string or an object with id.
string or []ResponsesInputElement — see docs for array form
Gateway routing hint; stripped before upstream execution.
string or object
Response
JSON response or SSE stream when stream=true
"response"
PreviousResponseID names the response this one was chained from, as OpenAI echoes it; stored snapshots follow it to rebuild the history.
"completed", "failed", "in_progress"