GET
/
billing
/
balance
/
top-ups
Get Top Up History Endpoint
curl --request GET \
  --url https://api.contextual.ai/v1/billing/balance/top-ups \
  --header 'Authorization: Bearer <token>'
{
  "top_ups": [
    {
      "amount": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "starting_balance": 123,
      "ending_balance": 123
    }
  ],
  "has_more": true,
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:10
Required range: x <= 50
cursor
string | null

Response

Successful Response

Response to GET /billing/free-credit request