# List usage records

Page: https://app.myclaimhouse.com/docs/api/listUsageUnits

`GET /api/v1/usage/units`

The usage records of a billing month in the key's mode, oldest first: one for each check, claim, attachment or ERA, with whether it is billable and why, and for a billable record of a billed month its price under the month's rates (at volume rates, the rate of its place in the month). A record names its resource by ID only: nothing about a patient. Filter by product, by billable, and by office_id or practice_group_id (not both). The same records the month's figures are counted from. Months are calendar months in America/Denver for every partner. The default is the current month. A test key sees test activity only: it is never priced, and a test key sees no statements.

Needs a key with `read` permission.

## Request

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | No | How many items to return, from 1 to 100. Default 25. At least 1. At most 100. |
| `cursor` | string | No | The next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged. |
| `month` | string | No | A billing month, YYYY-MM, not after the current one. Default: the current billing month. Matches `^[1-9][0-9]{3}-(0[1-9]\|1[0-2])$`. |
| `product` | string | No | Only records of this product. One of: `eligibility`, `claims`, `attachments`, `eras`. |
| `billable` | string | No | true: only billable records; false: only records not billed. One of: `true`, `false`. |
| `office_id` | string | No | Only the records of this office (off_...). |
| `practice_group_id` | string | No | Only the records of the offices in this practice group (pgr_...). Not with office_id. Needs practice groups enabled for the organization: otherwise 403 FEATURE_NOT_ENABLED. |

## Response

A page of usage records. Status `200`.

| Name | Type | Description |
| --- | --- | --- |
| `data` | array of object |  |
| `data[].object` | string | Always `usage_unit`. |
| `data[].time` | string (date-time) |  |
| `data[].product` | string | One of: `eligibility`, `claims`, `attachments`, `eras`. |
| `data[].resource_id` | string | The ID of the check, claim, attachment or ERA the record is for. |
| `data[].billable` | boolean |  |
| `data[].reason` | string | Why the record is or is not billable. |
| `data[].label` | string | The reason in words. |
| `data[].tier_price` | string or null | A billable record of a billed month: its price under the month's rates (at volume rates, the rate of its place in the month), in dollars. Null where a record has no price of its own. Matches `^\d+\.\d{2,6}$`. |
| `data[].office_id` | string or null | The office of the check, claim or attachment, or the office an ERA pays; null for an ERA held without a payee office. |
| `next_cursor` | value | Pass as cursor to get the next page; null when there is no next page. |

## Errors

| HTTP status | Code | What it means |
| --- | --- | --- |
| 401 | `UNAUTHORIZED` | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | `PERMISSION_DENIED` | This API key is not allowed to do that. |
| 403 | `FEATURE_NOT_ENABLED` | Practice groups are not enabled for this organization. Ask Claim House to turn them on. |
| 422 | `INVALID_REQUEST` | The request is not valid. |
| 429 | `TOO_MANY_REQUESTS` | Too many requests of this kind lately. Wait, then try again. |
| 504 | `TIMEOUT` | The request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>. |
| 500 | `INTERNAL` | Something went wrong on our side. Quote the request ID if you contact us. |

## Example

### Example request

```bash
curl "https://app.myclaimhouse.com/api/v1/usage/units?month=2026-09&limit=25" \
  -H "Authorization: Bearer $CLAIMHOUSE_KEY"
```

### Example response: 200

```json
{
  "data": [
    {
      "object": "usage_unit",
      "time": "2026-09-01T15:02:11.120000+00:00",
      "product": "eligibility",
      "resource_id": "elg_01JM000000E00800000000000G",
      "billable": true,
      "reason": "answered",
      "label": "the payer answered",
      "tier_price": "0.30",
      "office_id": "off_01JM000000E008000000000003"
    },
    {
      "object": "usage_unit",
      "time": "2026-09-01T15:04:40.870000+00:00",
      "product": "eligibility",
      "resource_id": "elg_01JM000000E00800000000000H",
      "billable": false,
      "reason": "cache_hit",
      "label": "answer reused from a recent check",
      "tier_price": null,
      "office_id": "off_01JM000000E008000000000003"
    },
    {
      "object": "usage_unit",
      "time": "2026-09-01T16:30:02.400000+00:00",
      "product": "claims",
      "resource_id": "clm_01JM000000E00800000000000J",
      "billable": true,
      "reason": "transmitted",
      "label": "handed to the network",
      "tier_price": "0.20",
      "office_id": "off_01JM000000E008000000000003"
    }
  ],
  "next_cursor": null
}
```
