Can one API key work for the Agent API, the Model API and Code Buckets?
Yes. The same clsk_ key format is used across the Agent API, the Model API and Code Buckets. What a key may do depends only on its permissions:
- Agent API needs
runs:write/runs:read. - Model API needs
models:invoke. - Code Buckets needs
buckets:read,buckets:writeand/orbackups:write.
The Full access preset includes all of them.
Should I?#
For quick personal experiments, one key is fine. For anything real, give each service its own key with only what it needs. If one leaks, you revoke just that key, and the Key column in Logs tells you which service did what.
Good to know#
- Each key has its own rate limit: 10, 30 (default), 60 or 120 requests per minute.
- Keys can expire after 30 days, 90 days (default), 1 year, or never.
Learn more#
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.