Anthropic-compatible Messages endpoint at /v1/messages.
UseDocumentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
/v1/messages to send Anthropic Messages API payloads through the gateway. The gateway normalizes your request into its internal IR, routes it to a compatible provider surface, and emits Anthropic-formatted responses.
stream: true to receive server-sent events in Anthropic format (message_start, content_block_*, message_delta, message_stop).
stream: true with tools is rejected with 400 invalid_request. Use non-streaming tool loops for now.X-AIStats-Strictness header controls how unsupported parameters are handled./v1/messages also supports one gateway-managed server tool:
gateway:datetimetools, rewrites it to Anthropic-compatible tool format upstream, executes it server-side, and continues the tool loop.
usage.server_tool_use.datetime_requests reports datetime tool invocations.Bearer token authentication
1x >= 10 <= x <= 10 <= x <= 1x >= 1Anthropic-compatible tools plus gateway server tools. The only built-in gateway server tool is gateway:datetime. Web-search tool types are temporarily disabled by the gateway.
Anthropic tool choice object/string. gateway:datetime is also accepted and rewritten by the gateway. Web-search tool choices are temporarily disabled.
Unique identifier for grouping related requests (for example, a conversation or agent workflow) for observability.
256Optional provider-specific options.
Gateway debug controls. These flags are never forwarded upstream.
Provider routing preferences for gateway selection.