Usage against the plan

The counted limits and the metered months, as the dashboard's Usage view shows them.

GET
/api/v1/usage
AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. A key acts for the person who created it: each call needs the operation's scope (x-wv-scope) and is limited to what that person's role allows now. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.

In: header

Query Parameters

months?integer

How many calendar months, newest first.

Default3
Range1 <= value <= 12

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{
  "plan": {
    "key": "string",
    "displayName": "string"
  },
  "meters": [
    {
      "key": "endpoints",
      "label": "string",
      "used": 0,
      "limit": 0,
      "offByPlan": 0,
      "pending": 0,
      "percent": 0,
      "state": "ok",
      "startsOn": "string"
    }
  ],
  "months": [
    {
      "period": "string",
      "captures": 0,
      "deliveries": 0,
      "apiCalls": 0,
      "capturesRejected": 0
    }
  ],
  "storageBytes": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}

On this page