GET
/
billing
/
billing_mode
/
history
Get Billing Mode History
curl --request GET \
  --url https://api.contextual.ai/v1/billing/billing_mode/history \
  --header 'Authorization: Bearer <token>'
{
  "billing_modes": [
    {
      "date": "2023-12-25",
      "billing_mode": "ON_DEMAND_PREPAID"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

year
integer
required
Required range: x >= 2025
month
integer
required
Required range: 1 <= x <= 12

Response

Successful Response

Response to GET /billing/billing_mode/history request