Usage-By-Product-Over-Time

Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
start_timeintegerRequired>=0
end_timeintegerRequired>=0
interval_secondsintegerOptional>=1Defaults to 60
group_bylist of enums or nullOptional
filterslist of objects or nullOptional

Response

Successful Response
columnslist of strings
column_typeslist of enums
rowslist of lists of nullable strings or integers or doubles or booleans
column_unitslist of nullable enums

Errors

422
Unprocessable Entity Error