Viewing & Download History
Overview
Every stream and download of your content is recorded, with the title, viewer, time, location and device. The enriched endpoints add the NFTs that let the viewer access it and, if your tenant has a title catalog, the offer and billing ID each was sold under.
Streaming and download history come from two endpoints. Both take a date range, paging and filters; the enriched
ones add the same details to every record, and each record says which kind it is in event_type.
Where they differ:
- Only streaming takes
srt(truefor SRT live sessions). - Stream records have viewing fields (
duration_secs,watched_secs,pct_watched,offering,extras); download records have the download's result instead (status_code,file_path). Both havetotal_bytes.
| History | Base Endpoint | Enriched Endpoint |
|---|---|---|
| Streaming | POST /:tid/sessions | POST /:tid/sessions_enriched |
| Downloads | POST /:tid/download_sessions | POST /:tid/download_sessions_enriched |
Each link goes to the endpoint's parameters and response fields in the API Reference.
More Detail
- Sessions: filters, ordering and CSV export.
- Enriched Sessions: what the enrichment means, paging through history, and limits.