Skip to main content

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​

Successful operation