Skip to main content
GET
/
v1
/
billing
/
credits
/
history
Get credit ledger history
curl --request GET \
  --url https://billing.runtools.ai/v1/billing/credits/history \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "topup",
      "amountCents": 123,
      "resource": "<string>",
      "description": "<string>",
      "referenceId": "<string>",
      "balanceAfterCents": 123,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Query Parameters

orgId
string<uuid>

Target organization UUID. Defaults to the authenticated org context.

limit
integer

Maximum number of rows to return.

Required range: 1 <= x <= 500

Response

200 - application/json

Ledger entries.

data
object[]