Clatter LabsHelp Center

I get 404 errors on every request. Is my base URL wrong?

TroubleshootingUpdated

Likely. The base URL is:

https://api.gateway.clatterlabs.xyz/v1
  • With an SDK, set exactly that; the SDK adds /chat/completions.
  • With raw HTTP, call https://api.gateway.clatterlabs.xyz/v1/chat/completions.
  • Common slips: missing /v1, doubled /v1/v1, or using the Agent API host (api.agent.clatterlabs.xyz).

A 404 not_supported means the host is right but the path isn't one of the two supported endpoints. A 404 model_not_found means the model id is wrong.

Good to know#

  • Retry only 429 and 5xx errors, with backoff; honour Retry-After when it's sent. Which errors to retry
  • Every response has an X-Request-Id; log it so a request can be found later. Why log it
  • If calls fail unexpectedly, check status.clatterlabs.com before debugging further.

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.