Skip to content

Usage

Read how much storage a workspace uses and what its plan allows.

Method and path Scope What it does
GET /usage files:read Storage used, the limit and what is free
curl -H "Authorization: Bearer $TARKLE_TOKEN" -H "X-Workspace-Key: $KEY" https://tarkle.com/api/v1/usage
{ "storage": { "used_bytes": 123456789, "limit_bytes": 3298534883328, "free_bytes": 3298411426539 } }

A limit_bytes of null means the plan sets none. Check this before a large upload to avoid 413 storage_full.

Type to search…

↑↓ navigate↵ selectEsc close