/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_tokenin Python), which sendsAuthorization: Beareron every SDK version. Phaseo doesn’t acceptx-api-key, whichapiKeysends before@anthropic-ai/sdk1.0 andanthropic2.0. apiKey: nullstops older TypeScript SDKs from also sending yourANTHROPIC_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.