API referenceWallet & Usage
Daily storage charges
Your daily face-vector storage charges over the last days (default 90, max 365), newest first. (GET /v1/usage/storage)
Last updated
GET
/v1/usage/storage- Auth
- Bearer API key
- Billing
- free (0 credits).
Your daily face-vector storage charges over the last days (default 90,
max 365), newest first. credits is what was debited; credits_owed is
the full charge (the difference is uncollected arrears during a wallet
shortfall); dry_run marks a shadow-mode projection that was never
billed. Free.
Example request
curl -X GET "https://api.sightradar.com/v1/usage/storage" \
-H "Authorization: Bearer $SR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
days | query | integer |
Response body
| Field | Type | Description |
|---|---|---|
days | integer | |
series | object[] | |
total_credits | integer | |
total_credits_owed | integer | |
total_vector_days | integer | |
latest_vector_count | integer |
Status codes
| Status | Meaning |
|---|---|
200 | Storage history. |
401 | Missing or invalid API key. |