Query creator viewership metrics
curl --request GET \
--url https://livepeer.studio/api/data/views/query/creator \
--header 'Authorization: <authorization>'
[
{
"browser": "<string>",
"browserEngine": "<string>",
"continent": "<string>",
"country": "<string>",
"cpu": "<string>",
"creatorId": "<string>",
"dStorageUrl": "<string>",
"device": "<string>",
"deviceType": "<string>",
"errorRate": 123,
"exitsBeforeStart": 123,
"geohas": "<string>",
"os": "<string>",
"playbackId": "<string>",
"playtimeMins": 123,
"rebufferRatio": 123,
"subdivision": "<string>",
"timestamp": 1587667174725,
"timezone": "<string>",
"ttffMs": 123,
"viewCount": 123,
"viewerId": "<string>"
}
]
Authorizations
Bearer api-key
Query Parameters
Start timestamp for the query range (inclusive)
End timestamp for the query range (exclusive)
The time step to aggregate viewership metrics by
hour
, day
, week
, month
, year
The asset ID to filter metrics for
The stream ID to filter metrics for
The creator ID to filter the query results
The list of fields to break down the query results. Specify this query-string multiple times to break down by multiple fields.
deviceType
, device
, cpu
, os
, browser
, browserEngine
, continent
, country
, subdivision
, timezone
, viewerId
Response
The browser used by the viewer
The browser engine used by the viewer's browser
The continent where the viewer is located
The country where the viewer is located
The CPU used by the viewer's device
The ID of the creator associated with the metric
The URL of the distributed storage used for the asset
The device used by the viewer
The type of the device used by the viewer
The error rate for the asset
The percentage of sessions that existed before the asset started playing
Geographic encoding of the viewers location. Accurate to 3 digits.
The operating system used by the viewer
The playback ID associated with the metric
The total playtime in minutes for the asset
The rebuffering ratio for the asset
The subdivision (e.g., state or province) where the viewer is located
Timestamp (in milliseconds) when the metric was recorded. If the query contains a time step, this timestamp will point to the beginning of the time step period.
The timezone where the viewer is located
The time-to-first-frame (TTFF) in milliseconds
The number of views for the asset
The ID of the viewer associated with the metric
Was this page helpful?
curl --request GET \
--url https://livepeer.studio/api/data/views/query/creator \
--header 'Authorization: <authorization>'
[
{
"browser": "<string>",
"browserEngine": "<string>",
"continent": "<string>",
"country": "<string>",
"cpu": "<string>",
"creatorId": "<string>",
"dStorageUrl": "<string>",
"device": "<string>",
"deviceType": "<string>",
"errorRate": 123,
"exitsBeforeStart": 123,
"geohas": "<string>",
"os": "<string>",
"playbackId": "<string>",
"playtimeMins": 123,
"rebufferRatio": 123,
"subdivision": "<string>",
"timestamp": 1587667174725,
"timezone": "<string>",
"ttffMs": 123,
"viewCount": 123,
"viewerId": "<string>"
}
]