Skip to main content
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.