/billing
Get Billing Mode History
Changed onGet 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 URLhttps://api.contextual.ai/v1
- URLhttps://api.contextual.ai/v1/billing/billing_mode/history
- AuthHTTP bearer
Query parameters
yearinteger required
monthinteger required
Response
Successful Response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking