> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/insights/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/insights/api/origin-insights-new-generation/advanced-analytics.md).

# Advanced Analytics

Contents advanced analytics — catalog KPIs from monthly content presence snapshots

## Get advanced analytics KPIs

> Retrieve catalog KPIs from the latest monthly content presence snapshot: total contents, movies, series, and year-over-year growth versus the same month of the previous year. \`added\_contents\` and \`removed\_contents\` count titles that entered/left the filtered scope during the current in-progress calendar month (from live presence data).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"IsExclusive":{"name":"is_exclusive","in":"query","required":false,"description":"Filter by content exclusivity. Requires both country and platform params to be set. When \"true\", only includes content that is exclusive on the specified platform/country. When \"false\", excludes exclusive content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"AdvancedAnalyticsKpisResponse":{"type":"object","properties":{"message":{"type":"string"},"kpis":{"type":"object","properties":{"total_contents":{"type":"integer","description":"Distinct movies + series present in the snapshot month"},"movies":{"type":"integer"},"series":{"type":"integer"},"previous_year_contents":{"type":"integer","description":"Distinct contents present in the same month of the previous year"},"yoy_growth":{"type":"number","nullable":true,"description":"Growth vs the same month last year, in percent (one decimal). Null when there is no previous-year baseline."},"added_contents":{"type":"integer","description":"Titles that entered the filtered scope during the current in-progress month"},"removed_contents":{"type":"integer","description":"Titles that left the filtered scope during the current in-progress month"},"snapshot_month":{"type":"string","format":"date","description":"The content presence month the KPIs are computed from"}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/kpis":{"get":{"summary":"Get advanced analytics KPIs","description":"Retrieve catalog KPIs from the latest monthly content presence snapshot: total contents, movies, series, and year-over-year growth versus the same month of the previous year. `added_contents` and `removed_contents` count titles that entered/left the filtered scope during the current in-progress calendar month (from live presence data).\n","operationId":"getContentsAdvancedAnalyticsKpis","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere, subscription-vod-ads)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"$ref":"#/components/parameters/IsExclusive"},{"name":"is_local","in":"query","required":false,"description":"Filter by local content: \"true\" keeps titles whose primary production country is one of the requested `country` values, \"false\" excludes them. No-op when `country` is not set.","schema":{"type":"string","enum":["true","false"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedAnalyticsKpisResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get contents evolution

> Track content volume changes over the latest 6 months in the monthly content presence snapshots. One response feeds all Contents Evolution tabs, keyed under \`data\`: \`added\_removed\` (per month, \`added\` counts titles present that month but not the month before; \`removed\` the inverse), \`movies\_series\` (distinct titles present per month split by metadata type), and \`genres\`/\`keywords\` (top 10 tags by titles carrying them across the window, each with a per-month series of distinct-title counts). Further tabs (live events, ...) will be added as sibling keys.<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"IsExclusive":{"name":"is_exclusive","in":"query","required":false,"description":"Filter by content exclusivity. Requires both country and platform params to be set. When \"true\", only includes content that is exclusive on the specified platform/country. When \"false\", excludes exclusive content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"ContentsEvolutionResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"object","properties":{"added_removed":{"type":"array","description":"Latest 6 months in ascending order","items":{"type":"object","properties":{"month":{"type":"string","format":"date"},"added":{"type":"integer","description":"Titles present this month but not the previous month"},"removed":{"type":"integer","description":"Titles present the previous month but not this month"}}}},"movies_series":{"type":"array","description":"Latest 6 months in ascending order","items":{"type":"object","properties":{"month":{"type":"string","format":"date"},"movies":{"type":"integer","description":"Distinct movie titles present this month"},"series":{"type":"integer","description":"Distinct series titles present this month"}}}},"genres":{"$ref":"#/components/schemas/EvolutionTagSeries"},"keywords":{"$ref":"#/components/schemas/EvolutionTagSeries"}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"EvolutionTagSeries":{"type":"array","description":"Top 10 tags by distinct titles carrying them across the window, ordered by total descending","items":{"type":"object","properties":{"name":{"type":"string"},"counts":{"type":"array","description":"Latest 6 months in ascending order (zero-filled)","items":{"type":"object","properties":{"month":{"type":"string","format":"date"},"count":{"type":"integer","description":"Distinct titles carrying this tag present this month"}}}}}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/contents_evolution":{"get":{"summary":"Get contents evolution","description":"Track content volume changes over the latest 6 months in the monthly content presence snapshots. One response feeds all Contents Evolution tabs, keyed under `data`: `added_removed` (per month, `added` counts titles present that month but not the month before; `removed` the inverse), `movies_series` (distinct titles present per month split by metadata type), and `genres`/`keywords` (top 10 tags by titles carrying them across the window, each with a per-month series of distinct-title counts). Further tabs (live events, ...) will be added as sibling keys.\n","operationId":"getContentsAdvancedAnalyticsContentsEvolution","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere, subscription-vod-ads)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"$ref":"#/components/parameters/IsExclusive"},{"name":"is_local","in":"query","required":false,"description":"Filter by local content: \"true\" keeps titles whose primary production country is one of the requested `country` values, \"false\" excludes them. No-op when `country` is not set.","schema":{"type":"string","enum":["true","false"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentsEvolutionResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get content details table

> Paginated list of titles ranked by demand score (descending) from the latest demand snapshot, enriched with metadata (title, year, type, origin country, producer, poster), current platform presence count, original flag, and piracy score. Only titles currently present on a platform in the filtered scope are listed. When exactly one country is filtered, that country's demand ranking is used (top titles only); otherwise the GLOBAL ranking applies.<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"PlanChannel":{"name":"plan_channel","in":"query","required":false,"description":"Filter by plan/channel name(s), comma-separated. Exact match against package_plan column.","schema":{"type":"string"}},"IsExclusive":{"name":"is_exclusive","in":"query","required":false,"description":"Filter by content exclusivity. Requires both country and platform params to be set. When \"true\", only includes content that is exclusive on the specified platform/country. When \"false\", excludes exclusive content.","schema":{"type":"string","enum":["true","false"]}},"IsLocal":{"name":"is_local","in":"query","required":false,"description":"Filter by local content. Requires both country and platform params to be set. When \"true\", only includes content whose primary production country matches the platform country. When \"false\", excludes local content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"ContentDetailsResponse":{"type":"object","properties":{"message":{"type":"string"},"pagination":{"type":"object","properties":{"total_items":{"type":"integer"},"total_pages":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"year":{"type":"integer","nullable":true},"type":{"type":"string","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"primary_country_iso":{"type":"string","nullable":true},"countries_iso":{"type":"array","items":{"type":"string"},"description":"Production country ISO codes"},"producer":{"type":"string","nullable":true,"description":"Primary production company"},"presence":{"type":"integer","description":"Distinct platform-country pairs currently carrying the title within the filtered scope"},"is_original":{"type":"boolean","description":"True when any current presence row in scope is a platform original"},"demand_score":{"type":"number","description":"Demand hits score from the latest snapshot"},"piracy_score":{"type":"number","nullable":true,"description":"Piracy demand score from the latest piracy snapshot (GLOBAL); null when the title has none"}}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"BadRequest":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/content_details":{"get":{"summary":"Get content details table","description":"Paginated list of titles ranked by demand score (descending) from the latest demand snapshot, enriched with metadata (title, year, type, origin country, producer, poster), current platform presence count, original flag, and piracy score. Only titles currently present on a platform in the filtered scope are listed. When exactly one country is filtered, that country's demand ranking is used (top titles only); otherwise the GLOBAL ranking applies.\n","operationId":"getContentsAdvancedAnalyticsContentDetails","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"page_size","in":"query","description":"Number of items per page (default 50)","required":false,"schema":{"type":"integer","minimum":1,"default":50}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get coming soon titles

> Paginated list of upcoming titles (availability day today or later) from the coming-soon feed, sorted by availability day ascending. Rows are aggregated per title, platform, and availability day, with the list of territories the title is arriving in, plus metadata (title, year, type, poster, producers).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"IsLocal":{"name":"is_local","in":"query","required":false,"description":"Filter by local content. Requires both country and platform params to be set. When \"true\", only includes content whose primary production country matches the platform country. When \"false\", excludes local content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"ComingSoonResponse":{"type":"object","properties":{"message":{"type":"string"},"pagination":{"type":"object","properties":{"total_items":{"type":"integer"},"total_pages":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"year":{"type":"integer","nullable":true},"type":{"type":"string","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"primary_company":{"type":"string","nullable":true},"producers":{"type":"string","nullable":true,"description":"Production companies joined with ' / '"},"platform_id":{"type":"integer"},"platform_name":{"type":"string","nullable":true},"availability_day":{"type":"string","format":"date"},"classification":{"type":"string","nullable":true,"description":"premiere, returning, or library"},"season_number":{"type":"integer","nullable":true},"is_original":{"type":"boolean"},"countries":{"type":"array","items":{"type":"string"},"description":"Territories the title arrives in on that day"},"country_count":{"type":"integer"}}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"BadRequest":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/coming_soon":{"get":{"summary":"Get coming soon titles","description":"Paginated list of upcoming titles (availability day today or later) from the coming-soon feed, sorted by availability day ascending. Rows are aggregated per title, platform, and availability day, with the list of territories the title is arriving in, plus metadata (title, year, type, poster, producers).\n","operationId":"getContentsAdvancedAnalyticsComingSoon","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere, subscription-vod-ads). The coming-soon feed has no package info (the offering doesn't exist yet), so this keeps rows whose platform currently operates the requested business model in that market.","schema":{"type":"string"}},{"name":"is_exclusive","in":"query","required":false,"description":"Filter by announced exclusivity (supply_exclusivity feed): \"true\" keeps upcoming rows announced as exclusive for that platform and market, \"false\" excludes them. Titles absent from the feed count as not exclusive.","schema":{"type":"string","enum":["true","false"]}},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"page_size","in":"query","description":"Number of items per page (default 50)","required":false,"schema":{"type":"integer","minimum":1,"default":50}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComingSoonResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get contents movements

> Paginated list of catalog movement events (additions and removals) over the last N days, sorted by movement date descending. Presence periods from content\_presence\_clean are merged per title, platform, and country into continuous stretches; a stretch starting inside the window is an 'entry' ('re-entry' when the title had an earlier stretch on the same platform and country), and a stretch ending inside the window is a 'removed' event. A title can produce both an entry-type and a removed event in the same window. The kpis block totals events across all pages within the active filters (including the movement filter, when set).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"PlanChannel":{"name":"plan_channel","in":"query","required":false,"description":"Filter by plan/channel name(s), comma-separated. Exact match against package_plan column.","schema":{"type":"string"}},"IsExclusive":{"name":"is_exclusive","in":"query","required":false,"description":"Filter by content exclusivity. Requires both country and platform params to be set. When \"true\", only includes content that is exclusive on the specified platform/country. When \"false\", excludes exclusive content.","schema":{"type":"string","enum":["true","false"]}},"IsLocal":{"name":"is_local","in":"query","required":false,"description":"Filter by local content. Requires both country and platform params to be set. When \"true\", only includes content whose primary production country matches the platform country. When \"false\", excludes local content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"MovementsResponse":{"type":"object","properties":{"message":{"type":"string"},"kpis":{"type":"object","description":"Event totals across all pages within the active filters","properties":{"new_titles":{"type":"integer","description":"entries + re_entries"},"entries":{"type":"integer"},"re_entries":{"type":"integer"},"removed":{"type":"integer"},"days":{"type":"integer","description":"Lookback window applied"}}},"pagination":{"type":"object","properties":{"total_items":{"type":"integer"},"total_pages":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"year":{"type":"integer","nullable":true},"type":{"type":"string","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"platform_id":{"type":"integer"},"platform_name":{"type":"string","nullable":true},"country":{"type":"string","description":"Platform country of the movement"},"primary_country_iso":{"type":"string","nullable":true},"producer":{"type":"string","nullable":true,"description":"Primary production company"},"is_original":{"type":"boolean","description":"True when any presence row in the merged stretch is a platform original"},"enter_on":{"type":"string","format":"date","nullable":true,"description":"Start of the merged presence stretch the event belongs to"},"out_on":{"type":"string","format":"date","nullable":true,"description":"End of the stretch; null while still available"},"movement":{"type":"string","enum":["entry","re-entry","removed"]},"movement_date":{"type":"string","format":"date","nullable":true,"description":"enter_on for entry/re-entry events, out_on for removed events"}}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"BadRequest":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/movements":{"get":{"summary":"Get contents movements","description":"Paginated list of catalog movement events (additions and removals) over the last N days, sorted by movement date descending. Presence periods from content_presence_clean are merged per title, platform, and country into continuous stretches; a stretch starting inside the window is an 'entry' ('re-entry' when the title had an earlier stretch on the same platform and country), and a stretch ending inside the window is a 'removed' event. A title can produce both an entry-type and a removed event in the same window. The kpis block totals events across all pages within the active filters (including the movement filter, when set).\n","operationId":"getContentsAdvancedAnalyticsMovements","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"days","in":"query","required":false,"description":"Lookback window in days (1-365, default 7; the UI presets are 7, 30, and 60)","schema":{"type":"integer","minimum":1,"maximum":365,"default":7}},{"name":"movement","in":"query","required":false,"description":"Filter by movement type(s), comma-separated: entry, re-entry, removed","schema":{"type":"string"}},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"page_size","in":"query","description":"Number of items per page (default 50)","required":false,"schema":{"type":"integer","minimum":1,"default":50}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovementsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get new releases

> Paginated list of newly released content over the last N days, ranked by demand score descending (country-level score when a country filter is set, falling back to the global score). Combines two detection legs: 'new\_title' rows are titles whose first-ever catalog presence in the filtered scope (content\_presence\_clean history) falls inside the window — movies and brand-new series; 'new\_season' rows are new seasons of already-present series detected from the weekly content\_seasons\_history\_raw snapshots — the season must be the title's highest, first observed inside the window, on a title observed before the window, and the only season the title added in the window (bulk catalog adds are excluded). Season release dates carry week precision (the snapshot Monday), flagged via release\_date\_precision.<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Advanced Analytics","description":"Contents advanced analytics — catalog KPIs from monthly content presence snapshots"}],"servers":[{"url":"https://{apiId}.execute-api.{region}.amazonaws.com","description":"AWS API Gateway (HTTP API, no stage prefix)","variables":{"apiId":{"default":"wodj3u0w11","description":"API Gateway ID (dev: wodj3u0w11)"},"region":{"default":"us-east-2","description":"AWS Region"}}}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token with audience https://api.origin-insights-new.fabric.com. See the Authentication section."}},"parameters":{"CacheBypass":{"name":"X-Cache-Bypass","in":"header","description":"Set to \"true\" to bypass cache and fetch fresh data","required":false,"schema":{"type":"string","enum":["true"]}},"MetaPrimaryCompany":{"name":"primary_company","in":"query","required":false,"description":"Filter by primary producer company name(s), comma-separated","schema":{"type":"string"}},"MetaProductionCompanies":{"name":"production_companies","in":"query","required":false,"description":"Filter by production company name(s), comma-separated. Matches titles where any listed company appears in the production_companies field","schema":{"type":"string"}},"MetaParentCompany":{"name":"parent_company","in":"query","required":false,"description":"Filter by parent company group, semicolon-separated for multiple values (as returned by /insights/content_pulse/meta/parent_companies). Semicolon is used instead of comma because parent company names may contain commas (e.g., \"Netflix, Inc.\"). Joins new_cp_companies_group by uid where the ;-separated \"group\" column contains any of these values (type='Production').","schema":{"type":"string"}},"MetaYearMin":{"name":"year_min","in":"query","required":false,"description":"Filter by minimum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaYearMax":{"name":"year_max","in":"query","required":false,"description":"Filter by maximum release year (inclusive, range 1800–2100)","schema":{"type":"integer","minimum":1800,"maximum":2100}},"MetaPrimaryCountryIso":{"name":"primary_country_iso","in":"query","required":false,"description":"Filter by primary production country ISO code(s), comma-separated","schema":{"type":"string"}},"MetaCountriesIso":{"name":"countries_iso","in":"query","required":false,"description":"Filter by production location ISO code(s), comma-separated. Matches titles where any listed country appears in the countries_iso field","schema":{"type":"string"}},"MetaCast":{"name":"cast","in":"query","required":false,"description":"Filter by cast member name (partial match, case-sensitive). Comma-separated list matches any (OR).","schema":{"type":"string"}},"MetaKeywords":{"name":"keywords","in":"query","required":false,"description":"Filter by keyword(s), comma-separated. Matches titles where any listed keyword appears in the keywords field","schema":{"type":"string"}},"MetaPrimaryGenre":{"name":"primary_genre","in":"query","required":false,"description":"Filter by primary genre(s), comma-separated","schema":{"type":"string"}},"MetaGenres":{"name":"genres","in":"query","required":false,"description":"Filter by genre(s), comma-separated. Matches titles where any listed genre appears in the genres field","schema":{"type":"string"}},"MetaType":{"name":"type","in":"query","required":false,"description":"Filter by content type, comma-separated","schema":{"type":"string","enum":["Movie","Series"]}},"MetaScripted":{"name":"scripted","in":"query","required":false,"description":"Filter by scripted status. Accepts \"true\" (Scripted) or \"false\" (Unscripted); comma-separated for multi-value (e.g. \"true,false\").","schema":{"type":"string","enum":["true","false"]}},"IsOriginal":{"name":"is_original","in":"query","required":false,"description":"Filter by original content flag. Set to \"true\" to include only originals, \"false\" to exclude originals. Omit to return all content regardless of original status.","schema":{"type":"string","enum":["true","false"]}},"PlanChannel":{"name":"plan_channel","in":"query","required":false,"description":"Filter by plan/channel name(s), comma-separated. Exact match against package_plan column.","schema":{"type":"string"}},"IsExclusive":{"name":"is_exclusive","in":"query","required":false,"description":"Filter by content exclusivity. Requires both country and platform params to be set. When \"true\", only includes content that is exclusive on the specified platform/country. When \"false\", excludes exclusive content.","schema":{"type":"string","enum":["true","false"]}},"IsLocal":{"name":"is_local","in":"query","required":false,"description":"Filter by local content. Requires both country and platform params to be set. When \"true\", only includes content whose primary production country matches the platform country. When \"false\", excludes local content.","schema":{"type":"string","enum":["true","false"]}}},"schemas":{"NewReleasesResponse":{"type":"object","properties":{"message":{"type":"string"},"kpis":{"type":"object","description":"Release totals across all pages within the active filters","properties":{"new_titles":{"type":"integer","description":"Titles whose first catalog presence is inside the window"},"new_seasons":{"type":"integer","description":"New seasons of already-present series"},"days":{"type":"integer","description":"Lookback window applied"}}},"pagination":{"type":"object","properties":{"total_items":{"type":"integer"},"total_pages":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"year":{"type":"integer","nullable":true},"type":{"type":"string","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"primary_company":{"type":"string","nullable":true},"producers":{"type":"string","nullable":true,"description":"Production companies joined with ' / '"},"release_type":{"type":"string","enum":["new_title","new_season"]},"season_number":{"type":"integer","nullable":true,"description":"Set for new_season rows"},"release_date":{"type":"string","format":"date","description":"First presence date (new_title) or first snapshot date (new_season)"},"release_date_precision":{"type":"string","enum":["day","week"],"description":"new_season dates are snapshot Mondays, so week precision"},"score":{"type":"number","nullable":true,"description":"Latest demand score (country-level when filtered, else global)"},"is_original":{"type":"boolean","description":"True when the title is an original on any matching platform"},"platforms":{"type":"array","items":{"type":"string"},"description":"Platforms currently carrying the title within the active filters"},"countries":{"type":"array","items":{"type":"string"}},"country_count":{"type":"integer"}}}},"userId":{"type":"string","nullable":true},"cached":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"}}}},"responses":{"BadRequest":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"Forbidden":{"description":"Request outside the token's authorization claims","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"dimension":{"type":"string","enum":["countries","platforms","products","role"]},"requested":{"type":"array","items":{"type":"string"}},"allowed":{"type":"array","items":{"type":"string"}}}}}}},"InternalError":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/insights/contents/advanced_analytics/new_releases":{"get":{"summary":"Get new releases","description":"Paginated list of newly released content over the last N days, ranked by demand score descending (country-level score when a country filter is set, falling back to the global score). Combines two detection legs: 'new_title' rows are titles whose first-ever catalog presence in the filtered scope (content_presence_clean history) falls inside the window — movies and brand-new series; 'new_season' rows are new seasons of already-present series detected from the weekly content_seasons_history_raw snapshots — the season must be the title's highest, first observed inside the window, on a title observed before the window, and the only season the title added in the window (bulk catalog adds are excluded). Season release dates carry week precision (the snapshot Monday), flagged via release_date_precision.\n","operationId":"getContentsAdvancedAnalyticsNewReleases","tags":["Advanced Analytics"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"days","in":"query","required":false,"description":"Lookback window in days (1-90, default 7). Season detection is weekly, so windows under 7 days may miss seasons dropped since the last Monday snapshot.","schema":{"type":"integer","minimum":1,"maximum":90,"default":7}},{"name":"country","in":"query","required":false,"description":"Filter by platform country code(s), comma-separated (e.g. AR,US)","schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"description":"Filter by platform ID(s), comma-separated (e.g. 651,123)","schema":{"type":"string"}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated (use the search endpoint to resolve titles)","schema":{"type":"string"}},{"name":"package_type","in":"query","required":false,"description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere)","schema":{"type":"string"}},{"name":"platform_origin","in":"query","required":false,"description":"Filter by platform origin country code(s), comma-separated (e.g. US,JP)","schema":{"type":"string"}},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"page_size","in":"query","description":"Number of items per page (default 50)","required":false,"schema":{"type":"integer","minimum":1,"default":50}},{"$ref":"#/components/parameters/MetaPrimaryCompany"},{"$ref":"#/components/parameters/MetaProductionCompanies"},{"$ref":"#/components/parameters/MetaParentCompany"},{"$ref":"#/components/parameters/MetaYearMin"},{"$ref":"#/components/parameters/MetaYearMax"},{"$ref":"#/components/parameters/MetaPrimaryCountryIso"},{"$ref":"#/components/parameters/MetaCountriesIso"},{"$ref":"#/components/parameters/MetaCast"},{"$ref":"#/components/parameters/MetaKeywords"},{"$ref":"#/components/parameters/MetaPrimaryGenre"},{"$ref":"#/components/parameters/MetaGenres"},{"$ref":"#/components/parameters/MetaType"},{"$ref":"#/components/parameters/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewReleasesResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```
