Create a chat completion
OpenAI-compatible Chat Completions endpoint. Streaming is not currently supported.
Documentation Index
Fetch the complete documentation index at: https://docs.sailresearch.com/llms.txt
Use this file to discover all available pages before exploring further.
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
10 <= x <= 20 <= x <= 1x >= 1- Option 1
- Option 2
none, minimal, low, medium, high, xhigh Only n=1 is currently supported.
1 1 elementtext Streaming is not currently supported.
false Only true is supported.
true 256Optional string metadata. completion_window controls scheduling; completion_webhook/webhook_token configure completion webhooks.