API Overview
Claude Code Router Server provides a complete HTTP API with support for:
Messages API
First-class inbound Anthropic Messages protocol (anthropic_messages). Owner
Chat Completions API
First-class inbound OpenAI Chat Completions protocol
Responses API
First-class inbound OpenAI Responses protocol (openai_responses). Owner
FIM Completions API
First-class inbound FIM Completions protocol (openaifimcompletions). Owner
Models API
CCR exposes an OpenAI-compatible model listing so SDK clients and tools can discover what the router can reach:
Configuration API
GET /api/config
Logs API
GET /api/logs/files