Billing Query
POST/api/billing-reports/query
Selects billing usage by period and optional endpoint, ruid and tag filters, and returns a summary of everything selected plus the requested grouped rows. Every filter narrows both the summary and the rows. Without a tag filter the summary counts each event once; with one it is taken from the listed tags, which is exact for one tag and can count an event once per listed tag when several are given, as meta.grouping.overlapping reports. tag and ruid cannot be combined in filters or grouping. Period bounds are RFC 3339 on the hour. A from before the earliest available billing time is refused with 400, and the message names that time. Rows are paged, 20 per page unless page.limit says otherwise.
Request
Responses
- 200
- 400
- 401
- 409
- 501
Successful operation
The authentication token is malformed, the request body fails validation, or from is earlier than the earliest available billing data.
The x-rasp-auth-token header is missing.
The requested period is not fully available. The message gives the time billing data is complete through: end the period there, or set allow_partial to accept a result covering less than the requested period.
Billing is not available for this galaxy and period, because cost calibration data is unavailable. Contact Dolby support.