# Plan usage

> How much of your plan the workspace used this period, and its limits.

We count some things each month, starting from your billing date. On a paid plan, that’s the day your subscription started. On the free plan, it’s the day you created the workspace. Counts reset every month on that day, even on an annual plan. Each count comes with your plan’s limit for it. You can see them under **Settings → Billing**, or through the API:

```bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.limitry.com/v1/workspace/plan-usage
```

```json
{
  "periodStart": "2026-10-17T14:30:00.000Z",
  "periodEnd": "2026-11-17T14:30:00.000Z",
  "state": "within",
  "counts": [
    {
      "id": "webhook_deliveries",
      "label": "Webhook deliveries",
      "description": "Webhook deliveries this month (each event, each endpoint)",
      "used": 1520,
      "limit": null,
      "stopsAt": null,
      "state": "within"
    },
    {
      "id": "checks",
      "label": "Allowed live checks",
      "unit": "per month",
      "description": "Allowed live checks this month",
      "used": 41230,
      "limit": 100000,
      "stopsAt": 110000,
      "state": "within"
    },
    {
      "id": "test_checks",
      "label": "Test checks",
      "unit": "per month",
      "description": "Test checks this month, not billed",
      "used": 880,
      "limit": 10000,
      "stopsAt": 10000,
      "state": "within"
    }
  ],
  "notices": ["A check counts once, however many budgets it touches."]
}
```

| Count                | What it counts                                                               |
| -------------------- | ---------------------------------------------------------------------------- |
| `checks`             | Allowed checks made with live keys. Refused checks don’t count.              |
| `test_checks`        | Checks made with test keys, against their own allowance. They aren’t billed. |
| `webhook_deliveries` | Each event delivered to each endpoint. We count these but don’t limit them.  |

`limit` is `null` when the plan has no limit for that count. A `limit` of `0` means your plan includes none of it. Counts start again at `periodEnd`, a month after `periodStart`, and a new subscription starts a new period. `notices` lists things to know about the numbers. The key needs the `workspace:read` scope. Every environment sees the same counts, because the plan covers the whole workspace. [Plan allowances](/docs/plans/) has each plan’s numbers.

## Where a count stands

Each count has a `state`, and the response has one for the whole workspace. The workspace’s `state` is its most limited count’s.

| `state`   | What it means                                                                                    |
| --------- | ------------------------------------------------------------------------------------------------ |
| `within`  | The count is under its limit, or it has no limit.                                                |
| `overage` | The count is past its limit, and we bill the extras. It keeps running until it passes `stopsAt`. |
| `grace`   | The count is past its limit. It keeps running until it passes `stopsAt`.                         |
| `stopped` | We refuse new use until `periodEnd`.                                                             |
| `over`    | The count is past its limit, but we never refuse it.                                             |

`stopsAt` is where we start refusing new use. When a count stops at its limit, `stopsAt` equals `limit`. On a plan without extra checks, such as Free, live checks keep running for 10% past their limit, so their `stopsAt` is higher. On Pro and Business, `stopsAt` is where your spend cap stops the extra checks. If we never refuse a count, `stopsAt` is `null`.
