Skip to main content

API Guide

Explanations and examples for the most-used Analytics & Reporting APIs. Every endpoint, with full schemas, is in the API Reference. All are under https://appsvc.svc.eluv.io/casa/main.


APIs​

OperationEndpoint
List sessionsPOST /:tid/sessions
List download sessionsPOST /:tid/download_sessions
Enriched sessionsPOST /:tid/sessions_enriched
Enriched download sessionsPOST /:tid/download_sessions_enriched
List subscriptionsPOST /authd/tnt/:tid/subscriptions

Viewing & Download History​

Every stream and download of your content, with the title, viewer, time, place and device, and the NFTs that let the viewer access it. Links to each endpoint in the API Reference.

Sessions​

Lists streaming sessions, or download sessions from their own endpoint, with filters, ordering and paging; JSON or CSV.

Enriched Sessions​

The same sessions, each with the viewer's ID with your identity provider, the NFTs that authorized it and, when the tenant has a title catalog, the billing_id of the offer each was sold under -- for example, to attribute subscription views to titles. Download sessions have the same, from their own endpoint.

Subscriptions​

Lists subscriptions with their status, paid-through dates and NFTs, with filters, search and paging; JSON or CSV. Also one subscription with its payments.