Clatter LabsHelp Center

The Playground works but my API calls fail. Why?

TroubleshootingUpdated

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:

  1. The key has the models:invoke permission.
  2. You send X-Clatter-Account with the key owner's Account ID.
  3. You have credits.
  4. 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, with Authorization: Bearer clsk_... and X-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?#

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.xyz
For deleting your whole account or the data of one service.