Retrieves all history entries for a specific media item from the history list.
Items are returned in descending order by updated date (newest first).
Supports cursor-based pagination using the nextPageToken query parameter.
Pagination:
nextPageToken from the previous response to fetch the next pagehasMore is true, there are more items available on subsequent pages.Duplicates: Unlike other lists, the history list allows duplicate entries. Each watch event creates a new history entry. This endpoint returns all matching history entries for the specified media.
TV Shows:
For TV shows, season query parameter is required. episode is optional - if not provided, returns all history entries for the specified season (including season default entries). When a TV history item has no episode field, it represents a “Default for Episode” entry. Frontend clients should treat these entries as applying to all episodes in the season where episode.air_date < historyItem.updatedAt. This allows updating multiple episodes with a single history entry. The matching logic is a client-side concern and not exposed by the API.
Entry Precedence:
When processing history entries, explicit episode entries (with episode specified) take precedence over season default entries. If an episode has both a season default entry and an explicit entry, the explicit entry’s completion status and progress should be used. Season defaults only apply to episodes that do not have explicit entries.
Movies: For movies, no additional parameters are needed.
Media Assets: All items include media assets (id, title, poster_path, backdrop_path) automatically.
Documentation Index
Fetch the complete documentation index at: https://docs.discovr.media/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication.
/profiles, /auth/session-token,
/auth/session) accept a long-lived refresh token
(rt_<hex>)./pages/*, /profile/*) accept a
short-lived session JWT.SDK clients use two typed API accessors (identityApi() with the
refresh token vs sessionApi() with the session JWT) — see the SDK
DiscovrAuth helper.
Format: Authorization: Bearer {token}
The DiscovrID (TV_ or MV_) of the media item
Season number (required for TV shows only, must be provided when mediaId starts with TV_)
x >= 1Episode number (optional for TV shows, only valid when mediaId starts with TV_). If not provided, returns all episodes in the season.
x >= 1Opaque token from previous page for pagination
Maximum number of items to return (1-50, default: 10)
1 <= x <= 50