Organization settings

List prepaid credit history

The organization's prepaid credit (redeemed codes and granted credit), newest first, with how much of each is used and left.

Person only: a dashboard session. The person's role must hold billing:read. API keys, agent connection keys and agents are refused.

get/credits/history

Request

  • Base URL
    https://api.primitive.dev/v1
  • URL
    https://api.primitive.dev/v1/credits/history
  • Auth
    HTTP bearer

Query parameters

cursorstring

Opaque next_cursor from the preceding page. Omit for the first page.

Response

Success

successtrue required

Changes

No operation changes recorded.