v1

latestOpenAPI 3.0.32026-07-2652923.8 KB
Responses

Create a response

Creates a response using the OpenAI Responses API format. Set stream: true for server-sent events.

post/v1/responses

Headers

X-Free-Tier'true'

Set to true to use the single anonymous free request.

Request body

modelstring required

Model id.

instructionsstring

Optional system-style instruction.

streamboolean
temperaturenumber
max_output_tokensinteger
toolsobject[]

Tool definitions passed through to the upstream Responses implementation.

flagged_categoriesstring[]

Optional moderation categories to block for this request. Supported: harassment, hate, illicit, sexual. Self-harm and sexual/minors are always blocked.

Response

Responses API response

idstring required
object'response' required
created_atinteger
statusstring required
modelstring required
remaining_creditsinteger nullable
estimated_credits_usedinteger
estimated_cost_usdnumber