v1
latestOpenAPI 3.1.02026-07-26105141.0 KBResponses API
Create a response
Creates an OpenAI Responses API task. Returns 202 when background=true, otherwise returns 200 after completion. Foreground stream=true requests return OpenAI Responses Server-Sent Events.
post/responses
Headers
Idempotency-Keystring
Makes the request retry-safe. Sail stores a reservation keyed by (organization, API key, Idempotency-Key); retrying with the same value returns the previously stored response instead of re-running inference. Keys are capped at 255 characters. See Idempotent Requests for full semantics.
Request body
Response
Response completed and returned synchronously. When stream=true, returns Server-Sent Events.