Anthropic

Transparent proxy to the Anthropic API. Your request is forwarded unmodified — the gateway only swaps your proxy key for the real Anthropic API key. Use exactly the same request body you would send to api.anthropic.com/v1/messages. The gateway sets anthropic-version: 2023-06-01 if you don’t include it.

Authentication

AuthorizationBearer

Your proxy key (starts with sk-proxy-…). Create one in the dashboard at app.enterpriserouter.com.

Request

This endpoint expects an object.
modelstringRequired
Anthropic model identifier
messageslist of objectsRequired
max_tokensintegerRequired

Required by Anthropic — maximum tokens to generate

systemstringOptional
System prompt
streambooleanOptionalDefaults to false
temperaturedoubleOptional

Response

Anthropic messages response (returned unmodified from Anthropic)