Skip to main content
Use the Anthropic-compatible API when your app, agent, or coding tool expects Claude-style /v1/messages requests.

TypeScript

Python

Notes

  • Use the root host https://api.phaseo.app; Anthropic clients append /v1/messages.
  • Pass the key as authToken (auth_token in Python), which sends Authorization: Bearer on every SDK version. Phaseo doesn’t accept x-api-key, which apiKey sends before @anthropic-ai/sdk 1.0 and anthropic 2.0.
  • apiKey: null stops older TypeScript SDKs from also sending your ANTHROPIC_API_KEY. Python SDKs before 0.98 send it whenever it is set, so upgrade or remove it from environments that call Phaseo.
  • Use Anthropic Messages for endpoint details.
  • Native Anthropic tool shapes can work where Phaseo supports them, but cross-provider server tools should use Phaseo tool names.
  • If a workflow depends on streamed tool loops, test it before production rollout because Anthropic-compatible clients are stricter about tool event ordering.
Last modified on October 22, 2026