Endpoints
One base URL serves both API dialects. OpenAI-shaped requests go to /chat/completions; if you use the Anthropic SDK, its native /messages endpoint works too, so nothing about your client changes either way.
- OpenAI-compatible
- POST https://api.straitly.ai/v1/chat/completions
- Anthropic-native
- POST https://api.straitly.ai/v1/messages
- List models
- GET https://api.straitly.ai/v1/models
- Auth header
- Authorization: Bearer sk-…
