/billing

Get Billing Mode History

Changed on

Get the billing mode history for a tenant for a specific month.

Args: request: Request object containing year and month with validation user_context: User context with tenant admin permissions

Returns: Billing mode history records for the specified month and year Returns at least one entry which is the mode of the first date of the given month, with potential mode changes in the middle of the month. If no record found, defaults to LEGACY mode.

get/billing/billing_mode/history

Request

  • Base URL
    https://api.contextual.ai/v1
  • URL
    https://api.contextual.ai/v1/billing/billing_mode/history
  • Auth
    HTTP bearer

Query parameters

yearinteger required
monthinteger required

Response

Successful Response

Changes