> 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/overview.md).

# Overview

Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions

## Get top production companies

> Top production companies ranked by catalog volume — the number of distinct titles currently available on catalog within the active filters. Every company in a title's production\_companies list gets credit, so a co-produced title counts once for each of its producers. When the request filters by primary\_country\_iso/countries\_iso, each row also carries an 'origin' badge (local/global) comparing the company's catalog-wide footprint against the requested countries. Supports the Current / Historical filter (presence, present\_from, present\_to; OIP-1434).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"Presence":{"name":"presence","in":"query","required":false,"description":"Current / Historical filter. `current` (default) counts titles on catalog now (content_presence_current). `historical` counts titles present at any time in the [present_from, present_to) window (content_presence_historical_filtered); with no window it means \"ever present\". Any other value → 400.","schema":{"type":"string","enum":["current","historical"],"default":"current"}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"TopProductionCompaniesResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"production_company":{"type":"string"},"titles":{"type":"integer","description":"Distinct titles currently on catalog within the active filters"},"origin":{"type":"string","nullable":true,"enum":["local","global"],"description":"Producer origin badge relative to the requested production countries: 'local' when at least half of the company's catalog-wide titles have their primary production country in the requested primary_country_iso/countries_iso set, 'global' otherwise. Null when the request has no primary_country_iso/countries_iso filter (no reference country to compare against)."}}}},"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/overview/top_production_companies":{"get":{"summary":"Get top production companies","description":"Top production companies ranked by catalog volume — the number of distinct titles currently available on catalog within the active filters. Every company in a title's production_companies list gets credit, so a co-produced title counts once for each of its producers. When the request filters by primary_country_iso/countries_iso, each row also carries an 'origin' badge (local/global) comparing the company's catalog-wide footprint against the requested countries. Supports the Current / Historical filter (presence, present_from, present_to; OIP-1434).\n","operationId":"getOverviewTopProductionCompanies","tags":["Overview"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"$ref":"#/components/parameters/Presence"},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"name":"limit","in":"query","required":false,"description":"Number of companies to return (1-100, default 20)","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"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, 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/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/TopProductionCompaniesResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get most awarded titles

> Top titles by cumulative award wins (all time), scoped to titles currently on catalog within the active filters. Returns both wins and nominations per title; the same award key (event, category, subcategory, year, person) is counted once, preferring Winner over Nominee. Defaults to movies ("Most Awarded Films") — pass the standard type filter (e.g. type=Series) to switch. Supports the Current / Historical filter (presence, present\_from, present\_to; OIP-1434).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"Presence":{"name":"presence","in":"query","required":false,"description":"Current / Historical filter. `current` (default) counts titles on catalog now (content_presence_current). `historical` counts titles present at any time in the [present_from, present_to) window (content_presence_historical_filtered); with no window it means \"ever present\". Any other value → 400.","schema":{"type":"string","enum":["current","historical"],"default":"current"}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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"}},"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":{"MostAwardedResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"uid":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"wins":{"type":"integer","description":"Cumulative award wins (all time)"},"nominations":{"type":"integer","description":"Cumulative nominations that did not win"}}}},"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/overview/most_awarded":{"get":{"summary":"Get most awarded titles","description":"Top titles by cumulative award wins (all time), scoped to titles currently on catalog within the active filters. Returns both wins and nominations per title; the same award key (event, category, subcategory, year, person) is counted once, preferring Winner over Nominee. Defaults to movies (\"Most Awarded Films\") — pass the standard type filter (e.g. type=Series) to switch. Supports the Current / Historical filter (presence, present_from, present_to; OIP-1434).\n","operationId":"getOverviewMostAwarded","tags":["Overview"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"$ref":"#/components/parameters/Presence"},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"name":"limit","in":"query","required":false,"description":"Number of titles to return (1-100, default 10)","schema":{"type":"integer","minimum":1,"maximum":100,"default":10}},{"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, 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/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"},{"name":"type","in":"query","required":false,"description":"Content type filter, comma-separated (Movie, Series). Defaults to Movie when absent — this endpoint is 'Most Awarded Films' unless switched.","schema":{"type":"string","default":"Movie"}},{"$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/MostAwardedResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get top contents by platform

> Carousel of platform cards: platforms ranked by the demand-weighted catalog they carry (sum of the latest demand\_hits\_score over their titles, preferring the country-level score when a country filter is set, falling back to GLOBAL), each card holding the platform's top titles by that same score. Pagination is over platforms (default page of 10); titles\_limit caps the list inside each card. Setting is\_original=true restricts each card's titles to platform originals (the "Original" tab) without changing the platform order — the ranking is always computed from the full catalog — and drops platforms with fewer than 10 scored original titles. Supports the Current / Historical filter (presence, present\_from, present\_to; OIP-1434).<br>

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"Presence":{"name":"presence","in":"query","required":false,"description":"Current / Historical filter. `current` (default) counts titles on catalog now (content_presence_current). `historical` counts titles present at any time in the [present_from, present_to) window (content_presence_historical_filtered); with no window it means \"ever present\". Any other value → 400.","schema":{"type":"string","enum":["current","historical"],"default":"current"}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"TopContentsByPlatformResponse":{"type":"object","properties":{"message":{"type":"string"},"pagination":{"type":"object","description":"Pagination over platforms","properties":{"total_items":{"type":"integer","description":"Total platforms matching the filters"},"total_pages":{"type":"integer"},"page":{"type":"integer"},"page_size":{"type":"integer"}}},"data":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Platform rank by demand-weighted catalog"},"platform_id":{"type":"integer"},"platform_name":{"type":"string"},"logo":{"type":"string","nullable":true,"description":"Platform logo URL"},"platform_score":{"type":"number","description":"Sum of demand scores over the platform's titles within the filters"},"titles":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"uid":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"poster":{"type":"string","nullable":true,"description":"Poster image URL"},"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 this platform"}}}}}}},"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/overview/top_contents_by_platform":{"get":{"summary":"Get top contents by platform","description":"Carousel of platform cards: platforms ranked by the demand-weighted catalog they carry (sum of the latest demand_hits_score over their titles, preferring the country-level score when a country filter is set, falling back to GLOBAL), each card holding the platform's top titles by that same score. Pagination is over platforms (default page of 10); titles_limit caps the list inside each card. Setting is_original=true restricts each card's titles to platform originals (the \"Original\" tab) without changing the platform order — the ranking is always computed from the full catalog — and drops platforms with fewer than 10 scored original titles. Supports the Current / Historical filter (presence, present_from, present_to; OIP-1434).\n","operationId":"getOverviewTopContentsByPlatform","tags":["Overview"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"$ref":"#/components/parameters/Presence"},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"name":"titles_limit","in":"query","required":false,"description":"Titles per platform card (1-50, default 10)","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"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, 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"}},{"name":"page","in":"query","description":"Page number over platforms (default 1)","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"page_size","in":"query","description":"Platforms per page (default 10)","required":false,"schema":{"type":"integer","minimum":1,"default":10}},{"$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/TopContentsByPlatformResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get content pulse KPIs

> Retrieve key performance indicators for content pulse overview

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"KpisResponse":{"type":"object","properties":{"message":{"type":"string"},"kpis":{"type":"object","properties":{"platforms":{"type":"integer"},"countries":{"type":"integer"},"total_contents":{"type":"integer"},"movies":{"type":"integer"},"series":{"type":"integer"},"seasons":{"type":"integer"},"episodes":{"type":"integer"},"releases_current_year":{"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":{"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/content_pulse/overview/kpis":{"get":{"summary":"Get content pulse KPIs","description":"Retrieve key performance indicators for content pulse overview","operationId":"getContentPulseKpis","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated","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"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpisResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get platform assets overview

> Retrieve content counts by platform

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"PlatformAssetsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_id":{"type":"integer"},"platform_country":{"type":"string"},"name":{"type":"string"},"series_count":{"type":"integer"},"movie_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":{"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/content_pulse/overview/platform_assets":{"get":{"summary":"Get platform assets overview","description":"Retrieve content counts by platform","operationId":"getPlatformAssets","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$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"},{"name":"limit","in":"query","required":false,"description":"Maximum number of platforms to return (default 50)","schema":{"type":"integer","default":50,"minimum":1}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAssetsResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic platform assets

> Retrieve historical content counts by platform from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"PlatformAssetsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_id":{"type":"integer"},"platform_country":{"type":"string"},"name":{"type":"string"},"series_count":{"type":"integer"},"movie_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":{"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/content_pulse/overview/historic/platform_assets":{"get":{"summary":"Get historic platform assets","description":"Retrieve historical content counts by platform from content_presence_historical","operationId":"getHistoricPlatformAssets","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAssetsResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic genres overview

> Retrieve historical content distribution by genre from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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"}},"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"]}},"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":{"GenresResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"genre":{"type":"string"},"title_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":{"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/content_pulse/overview/historic/genres":{"get":{"summary":"Get historic genres overview","description":"Retrieve historical content distribution by genre from content_presence_historical","operationId":"getHistoricGenres","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"name":"primary","in":"query","required":false,"description":"When true (default), counts by primary_genre. When false, splits the comma-separated genres column and counts each genre individually (a title may count toward multiple genres).","schema":{"type":"string","default":"true","enum":["true","false"]}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenresResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get genres overview

> Retrieve content distribution by genre

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"GenresResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"genre":{"type":"string"},"title_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":{"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/content_pulse/overview/genres":{"get":{"summary":"Get genres overview","description":"Retrieve content distribution by genre","operationId":"getGenresOverview","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$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":"primary","in":"query","required":false,"description":"When true (default), counts by primary_genre. When false, splits the comma-separated genres column and counts each genre individually (a title may count toward multiple genres).","schema":{"type":"string","default":"true","enum":["true","false"]}},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenresResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic content age distribution

> Retrieve historical content distribution by release age from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"AgeResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["Less than 1 year","1-3 years","4-7 years","7+ years"]},"title_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":{"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/content_pulse/overview/historic/age":{"get":{"summary":"Get historic content age distribution","description":"Retrieve historical content distribution by release age from content_presence_historical","operationId":"getHistoricAge","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgeResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic overview KPIs

> Retrieve historical overview KPIs (platform count, country count, content counts, seasons, episodes) from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"KpisResponse":{"type":"object","properties":{"message":{"type":"string"},"kpis":{"type":"object","properties":{"platforms":{"type":"integer"},"countries":{"type":"integer"},"total_contents":{"type":"integer"},"movies":{"type":"integer"},"series":{"type":"integer"},"seasons":{"type":"integer"},"episodes":{"type":"integer"},"releases_current_year":{"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":{"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/content_pulse/overview/historic/kpis":{"get":{"summary":"Get historic overview KPIs","description":"Retrieve historical overview KPIs (platform count, country count, content counts, seasons, episodes) from content_presence_historical","operationId":"getHistoricKpis","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated","schema":{"type":"string"}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpisResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get content age distribution

> Retrieve content distribution by release age

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"AgeResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["Less than 1 year","1-3 years","4-7 years","7+ years"]},"title_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":{"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/content_pulse/overview/age":{"get":{"summary":"Get content age distribution","description":"Retrieve content distribution by release age","operationId":"getAgeOverview","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$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/AgeResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic distribution overview

> Retrieve historical content distribution by platform availability from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"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":{"DistributionResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title_year":{"type":"string"},"uid":{"type":"string"},"type":{"type":"string"},"primary_genre":{"type":"string","nullable":true},"total_platforms":{"type":"integer"},"unique_platforms":{"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":{"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/content_pulse/overview/historic/distribution":{"get":{"summary":"Get historic distribution overview","description":"Retrieve historical content distribution by platform availability from content_presence_historical","operationId":"getHistoricDistribution","tags":["Overview"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated","schema":{"type":"string"}},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DistributionResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get content distribution overview

> Retrieve content distribution by platform availability

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"DistributionResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title_year":{"type":"string"},"uid":{"type":"string"},"type":{"type":"string"},"primary_genre":{"type":"string","nullable":true},"total_platforms":{"type":"integer"},"unique_platforms":{"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":{"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/content_pulse/overview/distribution":{"get":{"summary":"Get content distribution overview","description":"Retrieve content distribution by platform availability","operationId":"getDistributionOverview","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"name":"uid","in":"query","required":false,"description":"Filter by content UID(s), comma-separated","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"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DistributionResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get popular content overview

> Retrieve popular content based on hits score, filterable by type, country, platform, and package type with pagination support

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"}},"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"]}},"AsyncParam":{"name":"async","in":"query","description":"Set to `true` to generate an Excel report asynchronously instead of returning JSON.\nRequires `user_email`, `report_name`, `product`, and `transform` parameters.\nSee [Async Report Generation](#section/Async-Report-Generation) for details.\n","required":false,"schema":{"type":"string","enum":["true"]}},"AsyncUserEmail":{"name":"user_email","in":"query","description":"Email of the user requesting the async report (required when `async=true`)","required":false,"schema":{"type":"string"}},"AsyncReportName":{"name":"report_name","in":"query","description":"Name for the generated report (required when `async=true`)","required":false,"schema":{"type":"string"}},"AsyncProduct":{"name":"product","in":"query","description":"Product identifier (required when `async=true`)","required":false,"schema":{"type":"string"}},"AsyncTransform":{"name":"transform","in":"query","description":"Transform function name from the transforms bundle (required when `async=true`)","required":false,"schema":{"type":"string"}},"AsyncBranch":{"name":"branch","in":"query","description":"Git branch for the transforms bundle (optional, used with `async=true`)","required":false,"schema":{"type":"string","default":"main"}}},"schemas":{"PopularResponse":{"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":{"position":{"type":"integer"},"delta_position":{"type":"integer"},"score":{"type":"number"},"title":{"type":"string"},"year":{"type":"integer"},"type":{"type":"string"},"poster":{"type":"string","nullable":true}}}},"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/content_pulse/overview/popular":{"get":{"summary":"Get popular content overview","description":"Retrieve popular content based on hits score, filterable by type, country, platform, and package type with pagination support","operationId":"getPopularOverview","tags":["Overview"],"parameters":[{"$ref":"#/components/parameters/CacheBypass"},{"name":"type","in":"query","description":"Content type filter, comma-separated for multiple (e.g. Movie, Series, or Movie,Series for both)","required":true,"schema":{"type":"string"}},{"name":"country","in":"query","description":"Country code filter (comma-separated for multiple)","required":false,"schema":{"type":"string"}},{"name":"platform","in":"query","description":"Platform ID filter (comma-separated integer IDs)","required":false,"schema":{"type":"string"}},{"name":"package_type","in":"query","description":"Package type filter (comma-separated, e.g. subscription-vod, transaction-vod, free-vod, tv-everywhere, validated-vod)","required":false,"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/MetaScripted"},{"$ref":"#/components/parameters/IsOriginal"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"},{"$ref":"#/components/parameters/AsyncParam"},{"$ref":"#/components/parameters/AsyncUserEmail"},{"$ref":"#/components/parameters/AsyncReportName"},{"$ref":"#/components/parameters/AsyncProduct"},{"$ref":"#/components/parameters/AsyncTransform"},{"$ref":"#/components/parameters/AsyncBranch"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PopularResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get business models overview

> Retrieve historical quarterly count of titles by business model (package code), filterable by country and platform

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"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":{"BusinessModelsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"package_code":{"type":"string"},"year":{"type":"integer"},"quarter":{"type":"integer","description":"Quarter of the year (1-4)"},"title_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":{"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/content_pulse/overview/business_models":{"get":{"summary":"Get business models overview","description":"Retrieve historical quarterly count of titles by business model (package code), filterable by country and platform","operationId":"getBusinessModelsOverview","tags":["Overview"],"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","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/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessModelsResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic local productions overview

> Retrieve historical per-country counts of titles on local platforms from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"LocalProductionsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_country":{"type":"string"},"local_production_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":{"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/content_pulse/overview/historic/local_productions":{"get":{"summary":"Get historic local productions overview","description":"Retrieve historical per-country counts of titles on local platforms from content_presence_historical","operationId":"getHistoricLocalProductions","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalProductionsResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get historic local contents by platform

> Retrieve historical per-platform counts of local production and co-production titles from content\_presence\_historical

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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"]}},"PresentFrom":{"name":"present_from","in":"query","required":false,"description":"Filter to content that was present on or after this date (inclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose out_on is NULL or after this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"PresentTo":{"name":"present_to","in":"query","required":false,"description":"Filter to content that entered before this date (exclusive). Format YYYY-MM-DD. Uses interval overlap logic — content whose enter_on is before this date. Only applies to historic catalog queries (historic overview endpoints, catalog with historical=true, and endpoints called with presence=historical, where a malformed date or present_from after present_to returns 400); ignored otherwise.","schema":{"type":"string","format":"date"}},"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":{"LocalContentsByPlatformResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_id":{"type":"integer"},"platform_name":{"type":"string"},"platform_country":{"type":"string"},"local_production_count":{"type":"integer"},"local_coproduction_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":{"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/content_pulse/overview/historic/local_contents_by_platform":{"get":{"summary":"Get historic local contents by platform","description":"Retrieve historical per-platform counts of local production and co-production titles from content_presence_historical","operationId":"getHistoricLocalContentsByPlatform","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$ref":"#/components/parameters/PresentFrom"},{"$ref":"#/components/parameters/PresentTo"},{"$ref":"#/components/parameters/PlanChannel"},{"$ref":"#/components/parameters/IsExclusive"},{"$ref":"#/components/parameters/IsLocal"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalContentsByPlatformResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get local productions overview

> Retrieve per-country counts of titles on local platforms that were produced in that country

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"LocalProductionsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_country":{"type":"string"},"local_production_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":{"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/content_pulse/overview/local_productions":{"get":{"summary":"Get local productions overview","description":"Retrieve per-country counts of titles on local platforms that were produced in that country","operationId":"getLocalProductionsOverview","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$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/LocalProductionsResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get local contents by platform

> Retrieve per-platform counts of local production and co-production titles

```json
{"openapi":"3.0.3","info":{"title":"Insights API","version":"1.0.0"},"tags":[{"name":"Overview","description":"Content Pulse overview KPIs, platform assets, genres, age distribution, and local productions"}],"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":{"LocalContentsByPlatformResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"platform_id":{"type":"integer"},"platform_name":{"type":"string"},"platform_country":{"type":"string"},"local_production_count":{"type":"integer"},"local_coproduction_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":{"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/content_pulse/overview/local_contents_by_platform":{"get":{"summary":"Get local contents by platform","description":"Retrieve per-platform counts of local production and co-production titles","operationId":"getLocalContentsByPlatformOverview","tags":["Overview"],"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":"package_type","in":"query","required":false,"description":"Filter by package/business model type(s), comma-separated","schema":{"type":"string","enum":["subscription-vod","transaction-vod","free-vod","tv-everywhere","subscription-vod-ads"]}},{"$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/LocalContentsByPlatformResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```
