Skip to main content

Request Fields

The model field selects the answer tier. It is optional — an absent or unrecognized value falls back to seltz-base.

Response

A buffered response is a chat.completion object with exactly one choices entry (index: 0).
  • id has the form chatcmpl-<uuid>.
  • citations is a top-level Seltz extension. It is always present, and is [] when search returned no URL-bearing sources. Each entry always has url; content appears only when include_content is true, and is omitted when the source has no fetched content.
There is no usage field on the response.

Errors

Errors use the OpenAI-shaped envelope. The status codes below apply to non-streaming requests only: when stream: true, every error is returned as an SSE error frame under HTTP 200. See Streaming.