The org's keyed API traffic: this month against its quota, by day, route and status
The org's keyed requests: this month against its plan's quota and by key, then by day, route and status class over the range. Needs `api_keys.view`.
/v1/orgs/{orgId}/api-usageThe org's keyed requests: this month against its plan's quota and by key, then by day, route and status class over the range. Needs api_keys.view.
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Query Parameters
The last 7, 30 or 90 UTC days, today included; 30d when left out
"30d"Value in
- "7d"
- "30d"
- "90d"
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/orgs/string/api-usage"{ "month": { "requests": 0, "byKey": [ { "keyId": "key_01j3sa8pvcfp79z85hrb9y9xd6", "requests": 0 } ], "quota": 0 }, "series": [ { "day": "2026-10-13", "requests": 0 } ], "topRoutes": [ { "route": "GET /v1/fees", "requests": 0 } ], "statusClasses": {}, "successRate": 0, "overage": { "per1000Cents": "1900", "currency": "usd", "requests": 0, "amountCents": "1900" }, "p95Ms": 0}The usage report as CSV: a row per day, key, route and status class, newest first GET
The usage report as CSV: a row per day, key, route and status class, newest first. Needs `api_keys.view`.
What moving to a plan would charge now GET
What moving to a plan would charge now, prorated, before the change is made. An org's first paid plan starts with its trial (`trialDays`) and charges nothing now. Needs `subscription.edit`.