Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Usage and statements

    List usage records

    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

    Query parameters
    NameTypeRequiredDescription
    limitintegeroptionalHow many items to return, from 1 to 100. Default 25.At least 1.At most 100.
    cursorstringoptionalThe next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged.
    monthstringoptionalA 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])$`.
    productstringoptionalOnly records of this product.One of: `eligibility`, `claims`, `attachments`, `eras`.
    billablestringoptionaltrue: only billable records; false: only records not billed.One of: `true`, `false`.
    office_idstringoptionalOnly the records of this office (off_...).
    practice_group_idstringoptionalOnly 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.

    Response fields
    NameTypeDescription
    dataarray of object
    data[].objectstringAlways `usage_unit`.
    data[].timestring (date-time)
    data[].productstringOne of: `eligibility`, `claims`, `attachments`, `eras`.
    data[].resource_idstringThe ID of the check, claim, attachment or ERA the record is for.
    data[].billableboolean
    data[].reasonstringWhy the record is or is not billable.
    data[].labelstringThe reason in words.
    data[].tier_pricestring or nullA 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_idstring or nullThe office of the check, claim or attachment, or the office an ERA pays; null for an ERA held without a payee office.
    next_cursorvaluePass as cursor to get the next page; null when there is no next page.

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    403FEATURE_NOT_ENABLEDPractice groups are not enabled for this organization. Ask Claim House to turn them on.
    422INVALID_REQUESTThe request is not valid.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    504TIMEOUTThe 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>.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    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
    }