Skip to main content

Get Enriched Sessions

POST 

/:tid/sessions_enriched

Returns a page of HTTP-ABR or SRT sessions, as /{tid}/sessions does, with each session's authorized_by: the NFTs the viewer held at view_start that let them play the object, each with its sku and, if the tenant's title catalog lists the object, billing (billing_id, offer_type, access_tier, region, variant). limit defaults to and is capped at 200. Each session also gets user_ident: the sub of the JWT the viewer logged in with through the tenant's identity provider; omitted if they never did (e.g. signed in with an Eluvio account). Page through history by time: request one window at a time with start_ts/end_ts (e.g. a day), using offset only within a window; large offsets get slower. One request at a time per tenant: a request made while another is running gets 429 with a Retry-After header; wait that many seconds and retry. Which NFTs the viewer held at view_start doesn't change, but the title and billing come from the tenant's title catalog and the content's access rules as they are now, so a session's result can change when either is updated.

Request​

Responses​

OK