Anthropic-Compatible
Endpoints, authentication, tools, streaming, and examples for Sovereign's Anthropic-compatible API.
Base URL for Anthropic-native clients:
That base URL exposes:
Authentication
Model
Use:
Messages API
Supported Fields
Supported Anthropic-compatible fields currently include:
systemmessagesmax_tokensstreamtemperaturetop_pstop_sequencestoolstool_choicethinkingmetadataservice_tier
Streaming
Streaming uses Anthropic-style named SSE events such as:
message_startcontent_block_startcontent_block_deltamessage_deltamessage_stop
Tool Use
Sovereign accepts:
tool_usetool_result
Tool execution remains the client's responsibility.
Known Notes
- The stable model name remains
sovereign-alpha; Sovereign does not expose Anthropic model IDs. - This surface is best for clients that already speak the native Anthropic Messages API.
- Image inputs are currently rejected on Sovereign.
Errors
Anthropic-compatible endpoints return Anthropic-style errors: