Query usage metrics
Changed onRequest
- Base URLhttps://livepeer.studio/api
- URLhttps://livepeer.studio/api/data/usage/query
- AuthHTTP bearer
Query parameters
Start millis timestamp for the query range (inclusive)
End millis timestamp for the query range (exclusive)
The time step to aggregate viewership metrics by
The creator ID to filter the query results
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
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the new optional
queryrequest parameterbreakdownBy[]
- breaking
- info
api operation id
getUsageMetricswas added - info
api tag
metricsadded
- info