Quickstart
- Create a key on the API keys page.
- Point your client at
https://api.straitly.ai/v1. - Send the key as a bearer token. The request shape is unchanged.
Already on https://app.straitly.ai/v1?
It keeps working and you do not have to move. One thing differs:
https://app.straitly.ai/v1runs through a proxy that gives up at about 26 seconds and returns an empty 504.https://api.straitly.ai/v1allows a single request to run up to 15 minutes.- Switch if you send long non-streaming requests. Everything else is identical, including your key.
curl https://api.straitly.ai/v1/chat/completions \
-H "Authorization: Bearer $STRAITLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "Hello"}]
}'curl