API Reference
OpenAI-compatible API endpoints, authentication, chat completions, responses, streaming, and tool calls.
Sovereign exposes an OpenAI-compatible API under:
Authentication
Send your API key as a bearer token:
Models
List available models:
The stable public model name is:
Chat Completions
Endpoint:
Example:
Streaming
Set stream to true:
Sovereign returns server-sent events compatible with OpenAI-style clients.
Responses API
Endpoint:
The Responses API maps compatible requests into the chat completion pipeline.
Tool Calls
Sovereign passes OpenAI-compatible tool definitions to the upstream reasoning layer.
Supported fields include:
toolstool_choiceparallel_tool_calls- legacy
functions - legacy
function_call
Tool execution remains the client's responsibility. Sovereign forwards tool calls; it does not execute arbitrary client tools.
Unsupported Inputs
Image inputs are rejected with:
Sovereign currently does not expose a multimodal vision model.
Errors
Errors follow the OpenAI-style shape: