metrics
Query usage metrics
get/data/usage/query
Query parameters
frominteger
Start millis timestamp for the query range (inclusive)
tointeger
End millis timestamp for the query range (exclusive)
timeStep'hour' | 'day'
The time step to aggregate viewership metrics by
creatorIdstring
The creator ID to filter the query results
breakdownBy[]string[]
The list of fields to break down the query results. Currently the only supported breakdown is by creatorId.
Response
A Usage Metric object
Example response
{
"UserID": "1bde4o2i6xycudoy",
"CreatorID": "john@doe.com",
"DeliveryUsageMins": 100,
"TotalUsageMins": 100,
"StorageUsageMins": 100
}