Usage
Get workspace usage snapshot
GET
/v1/usageGet bytes scanned and query count since since, plus current storage size. Set since to the start of your billing period so the totals match your invoice.
Query parameters
| Name | Type | Description |
|---|---|---|
since | string | Start of the period, as an ISO 8601 timestamp. Default: the start of the current calendar month, in UTC. |
Response 200 — Workspace usage snapshot
| Name | Type | Description |
|---|---|---|
bytes_scanned (required) | integer | Total bytes_scanned of succeeded and failed query runs since since. Reads served from cache are not counted. |
query_count (required) | integer | Number of succeeded and failed query runs since since. |
since (required) | string | Start of the period these totals cover. |
storage_bytes (required) | integer | Bytes the workspace stores now: table data, uploads not yet loaded, and caches and indexes. |
storage_captured_at | string | When storage_bytes was measured. |
Example response
{
"bytes_scanned": 0,
"query_count": 0,
"since": "2026-01-01T00:00:00Z",
"storage_bytes": 0,
"storage_captured_at": "2026-01-01T00:00:00Z"
}