My request works in cURL but not in my SDK. Why?
Usually one of these:
- No default header: add
X-Clatter-Account(default_headersin Python,defaultHeadersin JavaScript). - Base URL not set, so the SDK calls OpenAI's servers with your Clatter Labs key.
- Different endpoint: some SDK helpers call the Responses API; use
chat.completions.create. - Environment variables set in your shell but not where the app runs.
Compare the SDK's request with your cURL by logging the outgoing headers (without printing the full key).
Good to know#
- Keep keys on your server, never in a browser or mobile app. Why
- Each key has its own limit: 10, 30 (default), 60 or 120 requests per minute. Rate limits
- Every call shows in Console › Logs and Usage as Model API, with its price. See what you spent
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.