Skip to main content

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 (true for 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 have total_bytes.
HistoryBase EndpointEnriched Endpoint
StreamingPOST /:tid/sessionsPOST /:tid/sessions_enriched
DownloadsPOST /:tid/download_sessionsPOST /: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.