List the credit grants and adjustments on the organization's account
The organization's credit history: grants, adjustments, refunds, expiries, purchases, the carried-over balance and credits assigned to or from a partner workspace (`transfer_out`, `transfer_in`), newest first.
Requires scope: read
The organization's credit history: grants, adjustments, refunds, expiries, purchases, the
carried-over balance and credits assigned to or from a partner workspace (transfer_out,
transfer_in), newest first. Consumption is not listed; the daily rows of
GET /v1/usage say what was spent.
Each entry's amount_micro is the signed change to the spendable balance (micro-credits, 1
credit = 1000000). label is a fixed, customer-facing description chosen from the kind; it is
never free text. Operator notes, ticket references and the identity of whoever posted an entry
are not returned.
Paging is keyset: pass next_cursor back verbatim as cursor. next_cursor is null on the
last page.
Authorization
bearerAuth Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment
variable; never hard-code or log it. spicrawl_test_… keys can never spend live
credits. Scopes: scrape, batch, sessions (granted by default), browser
and read (granted deliberately), and partner (only on a partner account's key).
A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.
In: header
Query Parameters
Entries per page, 1 to 100.
1 <= value <= 10025The next_cursor of the previous page. Omit for the newest entries.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/usage/credits"{ "items": [ { "id": "01J9Y0000000000000000CRD1", "created_at": "2026-11-03T09:14:22.108Z", "amount_micro": 5000000000, "kind": "promo_grant", "label": "Credits added by Spicrawl" }, { "id": "01J9Y0000000000000000CRD0", "created_at": "2026-11-01T00:00:00Z", "amount_micro": 1000000000, "kind": "plan_grant", "label": "Plan allowance" } ], "next_cursor": "MjAyNi0xMS0wMVQwMDowMDowMFp8MDFKOVkwMDAwMDAwMDAwMDAwMDAwQ1JEMA"}Report drift between billed usage and the request log for one day GET
Compares billed usage for one UTC day with usage re-derived from the Postgres request log.
What this API key is GET
Returns the key's id, name, prefix, scopes, environment, organization, and whether the key belongs to a partner account (`partner`).