Model API glossary
| Term | Meaning |
|---|---|
| API key | Secret starting with clsk_ that authorises requests |
| Account ID | CL-…, sent as X-Clatter-Account |
| models:invoke | The key permission for the Model API |
| Model id | supercosmos-flash, -max or -heavy |
| Family id | supercosmos, used with effort |
| Effort | Flash, Max or Heavy |
| Messages | The conversation you send |
| Usage | Token counts that were billed |
| Stream | Getting the reply in pieces as it's written |
| Tool call | The model asking your code to run a function |
| finish_reason | Why the reply ended: stop, length or tool_calls |
| Credits | Prepaid US dollars that pay for API calls |
| Rate limit | Requests per minute allowed for a key |
Good to know#
- Keep keys on your server, never in a browser or mobile app. Why
- Your key's account is responsible for your end users' text under the Abuse policy. What it means for apps
- Base URL:
https://api.gateway.clatterlabs.xyz/v1, withAuthorization: Bearer clsk_...andX-Clatter-Account: CL-...on every call. Quick reference
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.