Create a chat completion
Generates a model response for a conversation. Supports streaming (stream: true, server-sent events) and non-streaming responses. When streaming, each frame is a data: line holding one JSON completion chunk, the chunk carrying usage has an empty choices array, and the stream ends with the literal data: [DONE]. OpenAI-compatible: the supported fields are documented here, and the wider OpenAI SDK parameter set is accepted so that existing OpenAI code runs unmodified.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Groups related requests into one session. Required when using planner_mode, which uses it to resume a paused plan.
Request
The ASI:One model to use.
If true, partial deltas are streamed as server-sent events.
Controls which (if any) tool is called.
ASI:One extension. Whether the model reasons before answering. See the Reasoning guide.
ASI:One extension. Maximum tokens the model may spend reasoning. Applies on asi1.
ASI:One extension. Routes the request to the planner, which breaks it into steps and runs them against tools and Agentverse agents. Available on asi1, asi1-ultra and asi1-mini. See the Planner Mode guide.
ASI:One extension. Agentverse agent addresses the planner may use without discovering them first. Used with planner_mode.
Response
A chat completion object, or an SSE stream of completion chunks when stream is true.
Unix timestamp (seconds) of creation.