v1

latestOpenAPI 3.0.02026-07-26117198177.4 KB
Workspace Usage

Get workspace usage

Returns API credit consumption for the current billing period for the workspace resolved from the API key.

get/v1/workspace/usage

Response

credits_usednumber required

API credits consumed in the current billing period

credits_limitnumber required

API credit limit for the current billing period

credits_remainingnumber required

Credits left before requests are rate limited

reset_datestring required

When the credit counter resets — start of the next billing period (UTC, ISO 8601)

Example response

{
  "credits_used": 1204,
  "credits_limit": 1000000,
  "credits_remaining": 998796,
  "reset_date": "2026-08-01T00:00:00.000Z",
  "by_family": [
    {
      "family": "risk",
      "credits": 980,
      "requests": 950
    }
  ],
  "by_route": [
    {
      "method": "GET",
      "route": "/v1/risk/address",
      "credits": 800,
      "requests": 800
    }
  ]
}