Using the API reference
Endpoint pages, code samples and the Try it playground.
- An AI tool gave me an API URL that isn't in the docsTrust the docs. Use only the published hosts: api.agent.clatterlabs.xyz, api.gateway.clatterlabs.xyz/v1 and api.codebuckets.clatterlabs.xyz.Troubleshooting
- Does Try it use my real credits?Yes. Try it sends real requests to the live API with your key, so metered calls cost credits like any other call.FAQ
- How do I use the Try it playground in the API reference?Open an endpoint page, enter your key and Account ID, fill parameters and send a real request. Use a test key with limited permissions.How-to
- Is it safe to paste my API key into Try it?Try it runs in your browser against the real API. Use a short-lived, limited key, and never put keys in your own front-end code.FAQ
- What are the base URLs for the Clatter Labs APIs?Agent API https://api.agent.clatterlabs.xyz, Model API https://api.gateway.clatterlabs.xyz/v1, Code Buckets API https://api.codebuckets.clatterlabs.xyz.Reference
- What's in the API reference?Every endpoint of the Agent API, Model API and Code Buckets API, with parameters, examples, errors and a Try it playground.Reference
- Where do I find what an API error code means?Each API has an Errors page, and endpoint pages list their own error tables. The Agent Errors guide explains what to do.FAQ
- Which languages are the code samples in?Endpoint pages show cURL, Python and JavaScript examples. The Model API also works with OpenAI-compatible SDKs.FAQ
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.