ClarifyAPI
Billing

List daily credit usage

Returns the credits the workspace spent on each UTC day, split by feature. Without a date range, the last 28 days are returned. Days with no spend are left out. Results can be up to 5 minutes old. The splits by source and by member are returned only to a caller who can manage billing. For an API key, that means an admin-scoped personal key.

GET
/workspaces/{workspace}/billing/usage
Authorization<token>

API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.

In: header

Path Parameters

workspace*string

The workspace slug — the {slug} segment of your Clarify workspace URL.

Query Parameters

startDate?string

The first UTC day to return, in YYYY-MM-DD format. Send it together with endDate. With neither, the last 28 days are returned.

endDate?string

The last UTC day to return, inclusive, in YYYY-MM-DD format. At most 1100 days after startDate.

Header Parameters

clarify-version?string

The API version for this request. Send 2026-10 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.

Response Body

application/json

curl -X GET "https://example.com/workspaces/string/billing/usage" \  -H "clarify-version: 2026-10"
[  {    "day": "2026-01-15",    "credits": 42,    "breakdown": {      "Agents": {        "credits": 30,        "usage": 3      },      "Advanced Enrichment": {        "credits": 12,        "usage": 12      }    }  }]