Anthropic-compatible API
Use the Anthropic SDK, plain HTTP or Claude Code against the gateway.
Point the client at the gateway origin
- ScreenGateway origin
- Actionx-api-key
- ResultSame SDK
Copy the model namepad/JPX is ready for any client
Example dataAnthropic SDKs add /v1 themselves, so they take the origin the gateway URL from GET /api/v1/config without /v1. The key works as x-api-key or Authorization: Bearer.
pip install anthropicCreate a message
- Screenclient.messages
- ActionPOST /v1/messages
- ResultReply + receipt
Your request finishesIt appears in the public log with its receipt
Example datamax_tokens is required in this format (400 bad_request without it). The anthropic-beta header is forwarded upstream.
Reading the gateway URL and model list from the backend.
Claude Code
- ScreenEnvironment
- ActionANTHROPIC_MODEL
- ResultClaude Code runs on the endpoint
Copy the model namepad/JPX is ready for any client
Example dataClaude Code works when the endpoint model supports tool use. Check supports.tools in Models.
Reading the gateway URL and model list from the backend.