> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic-Compatible API

> Public Anthropic-compatible runtime surface.

Defined in `openapi/public.openapi.yaml`.

Public V0 includes:

* `POST /anthropic/v1/messages`

Use `Authorization: Bearer <api_key>` as the recommended MyRouter auth pattern. `x-api-key` is accepted only for Anthropic SDK compatibility where supported by the gateway.

Important fields include:

* `anthropic-version`
* `model`
* `messages`
* `max_tokens`
* `stream`
* `system`
* `tools`
* `tool_choice`
* `metadata`

Implementation owner: platform.

Customer-facing docs should not expose provider credentials, provider raw URLs, routing weights, endpoint ids, or internal model overrides.
