How do I check my Code Buckets usage from the API?
curl https://api.codebuckets.clatterlabs.xyz/v1/usage \
-H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
You get:
plan,period.month(UTC, like2026-10),tokens:{ used, included, unit },storage:{ projects, buckets, stored_bytes, bucket_limit_bytes, backups_used, backups_included, public_files }, wherepublic_filesis this month's traffic to your public links.
Works with a key that has buckets:read or only account:read.
Learn more#
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.