credits

Get Credit History

Get paginated credit ledger history.

Returns past credit transactions with newest first. Useful for auditing and understanding usage patterns.

get/v1/credits/history

Request

  • Base URL: https://api.theagentc.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.theagentc.io/v1/credits/history
  • Auth: HTTP bearer

Query parameters

limitinteger

Items per page

offsetinteger

Pagination offset

Response

Successful Response

total_countinteger required

Total ledger entries across all pages

has_moreboolean required

Whether there are more pages

Example response

{
  "has_more": true,
  "items": [
    {
      "amount": 6,
      "balance_after": 144,
      "created_at": "2026-04-07T10:30:00Z",
      "description": "Brand content for @acme",
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "reason": "mode_1_video"
    }
  ],
  "total_count": 42
}

Changes

No recorded changes to this operation across all 1 revision of this API.