Skip to main content
POST
List consumption analytics facets

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

Body

application/json
period
enum<string>
default:cycle
Available options:
cycle,
days
days
integer
default:30
Required range: x >= 1
scope
enum<string>
default:all

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

Available options:
all,
automations
dimensions
enum<string>[]

Dimensions to compute facets for. Defaults to every dimension. Omitted dimensions come back as empty arrays. The personal route omits user and group dimensions, and the agent route omits the agent dimension.

Available options:
agent,
user,
api_key,
group,
model,
tool,
skill,
source
filter
object

Map of consumption dimensions to selected values.

Response

Consumption facets and their contextual availability

period
object
required
facets
object
required