The Playground works but my API calls fail. Why?
The Console Playground uses its own managed "Console Playground" key, so it doesn't tell you whether your key is set up right. For your code, check:
- The key has the
models:invokepermission. - You send
X-Clatter-Accountwith the key owner's Account ID. - You have credits.
- The model id is a SuperCosmos id.
The error code in the response will point to the exact problem.
Good to know#
- Base URL:
https://api.gateway.clatterlabs.xyz/v1, withAuthorization: Bearer clsk_...andX-Clatter-Account: CL-...on every call. Quick reference - If calls fail unexpectedly, check status.clatterlabs.com before debugging further.
- Every response has an
X-Request-Id; log it so a request can be found later. Why log it
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.