Models
Create response
OpenAI Responses API–compatible endpoint. Supports streaming where applicable; reasoning deltas may appear depending on the model provider.
POST
Create response
Authorizations
Ageneral virtual key as sk-bf-… or worker-plane JWT where configured. Send as Authorization: Bearer <token>.
Body
application/json
OpenAI Responses API request body. Field names and nesting match OpenAI’s Responses API for the same operation.
Response
Success. JSON or SSE stream.
OpenAI-compatible Responses output.
Previous
CompletionsOpenAI **Chat Completions**–compatible JSON body (`model`, `messages`, optional `stream`, tools, etc.). The server injects **conversation history** for the session, applies a default **model** when needed, and **runs inference** for you. Responses may be JSON or **`text/event-stream`** — server-sent events.
If the last user message is exactly **`/new`**, the API creates a new session and returns a minimal SSE stream **without** calling inference.
**Billing:** Requires spendable balance for the project; otherwise **402**.
Next
Create response
