How do I see how much space a bucket is using?
curl https://api.codebuckets.clatterlabs.xyz/v1/buckets/BUCKET_ID \
-H "Authorization: Bearer $CLATTER_API_KEY" \
-H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
Look at storage:
used_bytes: stored zips and assets.pending_bytes: reserved by unfinished uploads.limit_bytes: 10 GB (10,737,418,240 bytes).
Space left = limit_bytes − used_bytes − pending_bytes. Your plan's storage across all buckets is shown in GET /v1/usage and on the Console's Code Buckets and Billing pages.
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.