latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-2112284441.9 KB

2e785b62895f

Private Analytics

List consumption analytics facets

Lists current workspace entities and historical indexed values present in the selected period for each consumption dimension. A facet is disabled when it has no indexed document in that period after applying every active filter except the facet's own dimension.

post/api/w/{wId}/analytics/consumption/facets

Path parameters

wIdstring required

Request body

period'cycle' | 'days'
daysinteger
scope'all' | 'automations'

Restricts which documents the facets are computed over. automations counts only trigger-originated runs.

dimensionsstring[]

Dimensions to compute facets for. Defaults to every dimension. Omitted dimensions come back as empty arrays.

Response

Consumption facets and their contextual availability