# 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.

Source: https://docs.spicrawl.com/api-reference/usage/usage-credits

## GET /v1/usage/credits

Operation ID: `usageCredits`. API key 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.

### Example

```bash
curl "https://api.spicrawl.com/v1/usage/credits" \
  -H "Authorization: Bearer $SPICRAWL_API_KEY"
```

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `limit` | query | integer; default `25` | no | Entries per page, 1 to 100. |
| `cursor` | query | string | no | The `next_cursor` of the previous page. Omit for the newest entries. |

### Responses

#### 200

One page of credit history.

`application/json`.

| Field | Type | Required | Description |
|---|---|---|---|
| `items` | array of object (`CreditItem`) | yes |  |
| `next_cursor` | string | yes | Pass verbatim as `cursor` to fetch the next page. `null` on the last page. |

Example `firstPage`

```json
{
  "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"
}
```

#### 400

The request is invalid. Not retryable; fix the request using `code` and `diagnostics.hint`.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 401

Missing, invalid, revoked or expired key. Not retryable with the same key.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 403

The key lacks the scope this route requires (`ERR::AUTH::INSUFFICIENT_SCOPE`), or the action is not permitted.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 500

Internal error. Retryable when `retryable` is true.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

Full OpenAPI spec: https://docs.spicrawl.com/openapi.yaml
