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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
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.
255Body
Text input, plus image input (input_image) on multimodal models. Audio, files, and item references are not currently supported.
1x >= 10 <= x <= 20 <= x <= 1Prepended to the input as a system message.
Accepted for OpenAI compatibility. Models decide their own tool-call cadence, so this field has no effect.
Additional data to include. reasoning.encrypted_content is accepted for OpenAI-client compatibility, but reasoning items are returned without encrypted content.
Optional routing hint for prompt-prefix cache locality. Requests with the same key are preferentially routed to maximize cache hit rates.
Accepted for OpenAI compatibility. false does not change Sail's normal temporary request/response storage for processing, retries, polling, and idempotency; Customer Data remains governed by Sail's DPA retention and deletion terms.
disabled When true on a foreground request, returns OpenAI Responses Server-Sent Events. background=true requests cannot be streamed.
256Optional string metadata. completion_window controls scheduling; completion_webhook/webhook_token configure completion webhooks.
Response
Response completed and returned synchronously. When stream=true, returns Server-Sent Events.
response pending, running, failed, completed, cancelled Text input, plus image input (input_image) on multimodal models. Audio, files, and item references are not currently supported.
1