Orgs

Get org credit rollup

Changed on

Sums the org's credits and billing rows per bucket (hour, day or week, UTC; default day) and per value of one or two dimension keys (group, repeatable, default product), in the requested window (filter[timestamp][gte] to the exclusive filter[timestamp][lt], at most 90 days and at most 14 with bucket=hour, the last 7 days when neither is given) and in the window of the same length just before it. An hour counts toward a window when it starts in it. filter[dimension.<key>] keeps the sets holding that entry: repeated for one key it matches any value, across keys every key must match. filter[actionCode] keeps one action code. A set without a group key reports it as null in key, labelled unattributed. series has one entry per group value, or pair of values, in the current window, the heaviest 50, each with one point per bucket the window touches, zeros included; truncated says more were cut. Requires permission to manage the org's billing.

get/experimental/orgs/{orgId}/credits/rollup

Request

Path parameters

orgIdstring uuid required

Query parameters

filter[timestamp][gte]string date-time
filter[timestamp][lt]string date-time
'hour'
OR
'day'
OR
'week'
string
OR
string[]
filter[actionCode]string

Headers

Authorizationstring

Response

Default Response

Changes