API Reference›Usage
API Reference

Usage

Get workspace usage snapshot

GET/v1/usage

Get 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

NameTypeDescription
sincestringStart of the period, as an ISO 8601 timestamp. Default: the start of the current calendar month, in UTC.

Response 200 — Workspace usage snapshot

NameTypeDescription
bytes_scanned (required)integerTotal bytes_scanned of succeeded and failed query runs since since. Reads served from cache are not counted.
query_count (required)integerNumber of succeeded and failed query runs since since.
since (required)stringStart of the period these totals cover.
storage_bytes (required)integerBytes the workspace stores now: table data, uploads not yet loaded, and caches and indexes.
storage_captured_atstringWhen 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"
}