Docs

Get storage metrics

Retrieve recorded additions and successful removals by storage and UTC date. Historical coverage depends on event retention.

GET
/metrics/storage

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Query Parameters

format
string

Response format. Defaults to JSON unless Accept requests CSV. Overrides Accept when supplied; errors remain JSON.

Available options:
jsoncsv
from
string

Inclusive UTC start date, YYYY-MM-DD. Supply both dates for a custom range of at most 366 days. Omit both for the past 7 UTC calendar days including today.

Pattern:
^\d{4}-\d{2}-\d{2}$
to
string

Exclusive UTC end date, YYYY-MM-DD. Must be after from and at most 366 days later.

Pattern:
^\d{4}-\d{2}-\d{2}$
storage_id
string

Filter to one persistent storage configuration in the authenticated project.

Responses

application/json
data
object
required

Data contains the requested report.

text/csv

The project report.