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
IncompleteDetails explains a status of "incomplete": the model hit max_output_tokens, was stopped by a content filter, or the upstream stream was interrupted.
"response"
PreviousResponseID names the response this one was chained from, as OpenAI echoes it; stored snapshots follow it to rebuild the history.
"completed", "incomplete", "failed", "in_progress"