{"openapi":"3.1.0","info":{"title":"Interactive Layers Context API","description":"\nInteractive Layers reads what is said on your channel and turns it into ad signals.\n\n* **Signal mode** (`mode=signal`): your program is untouched; every break of the output manifest carries an\n  `EXT-X-DATERANGE CLASS=\"com.interactivelayers.signal\"` with the matching campaign ids, keywords, your external ids\n  (e.g. SpringServe) and a brand-safety status, so your ad server can target the break.\n* **Live SSAI** (`mode=ssai`): supported live pipelines can stitch ads and in-band supers.\n* **Legacy URL scan**: enriched VOD manifest with signals; `ssai` adds supers. No ad segment replacement.\n* **Asset analysis and operations**: saved moments, campaign previews and airing/playback notifications.\n  GAM profiles use client-side VAST/IMA. SpringServe profiles produce revision-bound SSAI signals;\n  the OTTera transport remains pending external validation. Campaign synchronization is read-only.\n\nAuthenticate with the `X-API-Key` header (keys are issued by Interactive Layers). Errors are `{\"detail\": \"...\"}`.\nEvents can be polled (`GET /v1/events`) or pushed to a signed webhook (`PUT /v1/keys/me/webhook`).\nContent catalog and batch operations use their own scoped server key in `Authorization: Bearer …`.\n","version":"1.2"},"paths":{"/v1/keys/me":{"get":{"tags":["Keys"],"summary":"Describe the calling API key","description":"Name, scopes, webhook and last use of the key sent in `X-API-Key`. The secret is never returned.","operationId":"me_v1_keys_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/keys/me/webhook":{"put":{"tags":["Keys"],"summary":"Set the webhook of the calling key","description":"Events of the key's sources are POSTed in batches as `{\"events\": [...]}` (same objects as `GET /v1/events`), signed with HMAC-SHA256: `X-InteractiveLayers-Signature = hex(hmac(secret, \"{X-InteractiveLayers-Timestamp}.\" + body))`, plus `X-InteractiveLayers-Key-Id`. The pre-rename `X-Clipma-*` headers carry the same values and are sent only during the compatibility period: read the current ones. Delivery starts with the events after this call. A batch that fails 3 times is skipped.","operationId":"set_webhook_v1_keys_me_webhook_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]},"delete":{"tags":["Keys"],"summary":"Remove the webhook of the calling key","operationId":"delete_webhook_v1_keys_me_webhook_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/keys/me/webhook/test":{"post":{"tags":["Keys"],"summary":"Send a signed test event to the webhook","description":"Sends one `webhook.test` event synchronously (single attempt, 3 s timeout).","operationId":"test_webhook_v1_keys_me_webhook_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/campaigns":{"get":{"tags":["Campaigns"],"summary":"List your campaigns","operationId":"list__v1_campaigns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CampaignV1Out"},"type":"array","title":"Response List  V1 Campaigns Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]},"post":{"tags":["Campaigns"],"summary":"Create a signal campaign","description":"A signal campaign is matched against what is said on your sources; when it matches before a break, its id, keywords and external ids go into that break's marker.","operationId":"create_v1_campaigns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignV1In"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignV1Out"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/campaigns/{campaign_id}":{"get":{"tags":["Campaigns"],"summary":"Get a campaign","operationId":"get_v1_campaigns__campaign_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignV1Out"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found (or owned by another key)"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Campaigns"],"summary":"Replace a campaign","operationId":"put_v1_campaigns__campaign_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignV1In"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignV1Out"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found (or owned by another key)"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Campaigns"],"summary":"Delete a campaign","description":"A campaign with delivery history is deactivated instead of deleted.","operationId":"delete_v1_campaigns__campaign_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found (or owned by another key)"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-policies":{"get":{"tags":["Brand policies"],"summary":"List Policies","operationId":"list_policies_v1_brand_policies_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Brand Id"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Brand policies"],"summary":"Create","operationId":"create_v1_brand_policies_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-policies/suggestions":{"get":{"tags":["Brand policies"],"summary":"Suggestions","description":"Suggested exclusions per sector, as data. Choosing a sector activates nothing.","operationId":"suggestions_v1_brand_policies_suggestions_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"enum":["finance","food_drink","automotive","airlines","sport","gambling_sensitive"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"language","in":"query","required":false,"schema":{"enum":["es","en","pt"],"type":"string","default":"es","title":"Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-policies/test":{"post":{"tags":["Brand policies"],"summary":"Test Exclusions","description":"«Probar mis exclusiones»: what each rule answers for a described scene or transcript, and the outcome.","operationId":"test_exclusions_v1_brand_policies_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"Paid AI is off for this project"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/brand-policies/{policy_id}":{"get":{"tags":["Brand policies"],"summary":"Get Policy","operationId":"get_policy_v1_brand_policies__policy_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"^bp_[0-9a-f]{16}$","description":"Brand policy id, e.g. bp_0123456789abcdef","title":"Policy Id"},"description":"Brand policy id, e.g. bp_0123456789abcdef"},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Brand policies"],"summary":"Save Version","operationId":"save_version_v1_brand_policies__policy_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"^bp_[0-9a-f]{16}$","description":"Brand policy id, e.g. bp_0123456789abcdef","title":"Policy Id"},"description":"Brand policy id, e.g. bp_0123456789abcdef"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Version conflict or archived policy"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-policies/{policy_id}/history":{"get":{"tags":["Brand policies"],"summary":"History","operationId":"history_v1_brand_policies__policy_id__history_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"^bp_[0-9a-f]{16}$","description":"Brand policy id, e.g. bp_0123456789abcdef","title":"Policy Id"},"description":"Brand policy id, e.g. bp_0123456789abcdef"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-policies/{policy_id}/archive":{"post":{"tags":["Brand policies"],"summary":"Archive","operationId":"archive_v1_brand_policies__policy_id__archive_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"^bp_[0-9a-f]{16}$","description":"Brand policy id, e.g. bp_0123456789abcdef","title":"Policy Id"},"description":"Brand policy id, e.g. bp_0123456789abcdef"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Version conflict or already archived"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live-signals":{"get":{"tags":["Live signals"],"summary":"Read","description":"The configuration (null before the first save), its revision, and each generated file's state.","operationId":"read_v1_live_signals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]},"put":{"tags":["Live signals"],"summary":"Save","operationId":"save_v1_live_signals_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/live-signals/generate":{"post":{"tags":["Live signals"],"summary":"Generate","operationId":"generate_v1_live_signals_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"A file was edited by hand, or revision conflict"},"404":{"description":"Nothing saved yet"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/live/sessions":{"post":{"tags":["Live analysis"],"summary":"Open a live analysis session","operationId":"open_session_v1_live_sessions_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Open Session V1 Live Sessions Post"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/live/sessions/{session_id}/lines":{"put":{"tags":["Live analysis"],"summary":"Replace the lines of a session","operationId":"put_lines_v1_live_sessions__session_id__lines_put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Lines V1 Live Sessions  Session Id  Lines Put"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live/sessions/{session_id}/audio":{"post":{"tags":["Live analysis"],"summary":"Analyse one phrase of audio","operationId":"audio_v1_live_sessions__session_id__audio_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Audio V1 Live Sessions  Session Id  Audio Post"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live/sessions/{session_id}/frame":{"post":{"tags":["Live analysis"],"summary":"Look at the newest frame","operationId":"frame_v1_live_sessions__session_id__frame_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Frame V1 Live Sessions  Session Id  Frame Post"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live/sessions/{session_id}/offers/{offer_id}":{"post":{"tags":["Live analysis"],"summary":"Accept or decline an offer","operationId":"offer_v1_live_sessions__session_id__offers__offer_id__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Offer V1 Live Sessions  Session Id  Offers  Offer Id  Post"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live/sessions/{session_id}":{"delete":{"tags":["Live analysis"],"summary":"Close a live analysis session","operationId":"close_v1_live_sessions__session_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sources":{"get":{"tags":["Sources"],"summary":"List your sources","operationId":"list__v1_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SourceOut"},"type":"array","title":"Response List  V1 Sources Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]},"post":{"tags":["Sources"],"summary":"Create and start a source","description":"Starts ingesting the origin. Poll `output_hls_url` (it answers 503 + `Retry-After` while the delayed output is buffering). In `signal` mode the output is the origin program with one marker per break; lead time is available in the source status and break.announced events.","operationId":"create_v1_sources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/sources/{source_id}":{"get":{"tags":["Sources"],"summary":"Source state","description":"Status, real publication delay, AI latency (p50/p90 from the end of a phrase to the decision), next break, last signal and opportunities.","operationId":"get_v1_sources__source_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceDetail"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Sources"],"summary":"Stop a source","description":"Stops ingest and analysis. The output manifest answers 503.","operationId":"stop_v1_sources__source_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sources/{source_id}/opportunities":{"get":{"tags":["Sources"],"summary":"Context opportunities detected on the source","description":"Phrases where a campaign category matched (newest first): the evidence behind the signals.","operationId":"opportunities_v1_sources__source_id__opportunities_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOpportunities"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sources/{source_id}/signals":{"get":{"tags":["Sources"],"summary":"Signals computed for the source's breaks","description":"The same data written into each break marker (newest first).","operationId":"list_signals_v1_sources__source_id__signals_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceSignals"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sources/{source_id}/output.m3u8":{"get":{"tags":["Sources"],"summary":"Enriched output manifest (HLS)","description":"No API key: the unguessable source id is the capability. 404 unknown source; 503 + `Retry-After: 2` while buffering or after the source was stopped.","operationId":"output_v1_sources__source_id__output_m3u8_get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/vnd.apple.mpegurl":{"example":"#EXTM3U\n#EXT-X-DATERANGE:ID=\"sig-brk-…\",CLASS=\"com.interactivelayers.signal\",START-DATE=\"2026-11-04T16:00:30.000Z\",DURATION=30.000,X-COM-INTERACTIVELAYERS-CAMPAIGNS=\"acme-hydration\",X-COM-INTERACTIVELAYERS-KEYWORDS=\"water,hydration\",X-COM-INTERACTIVELAYERS-SAFETY=\"ok\",X-COM-INTERACTIVELAYERS-SCORE=\"0.92\"\n"}}},"404":{"description":"Unknown source"},"503":{"description":"Buffering or stopped"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/events":{"get":{"tags":["Events"],"summary":"List events of your sources and campaigns","description":"Cursor pagination by `seq`: start with `since=0` and pass `next_since` back. Only events of your own sources (and source-less events of your campaigns) are returned.","operationId":"list__v1_events_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated v1 types, e.g. `break.signal,opportunity.detected`","title":"Types"},"description":"Comma-separated v1 types, e.g. `break.signal,opportunity.detected`"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/events/{event_id}":{"get":{"tags":["Events"],"summary":"Get one event","operationId":"get_v1_events__event_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Not found (or not visible to this key)"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/assets":{"get":{"tags":["Assets"],"summary":"List assets","description":"Newest first. Search by title or asset ID. All results are scoped to the authenticated owner.","operationId":"list_assets_v1_vod_assets_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"description":"Part of a title or asset ID","default":"","title":"Q"},"description":"Part of a title or asset ID"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["ready","changed"],"type":"string"},{"type":"null"}],"description":"Filter by preparation status","title":"Status"},"description":"Filter by preparation status"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetPage"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Assets"],"summary":"Create an asset from a URL","description":"Validates the source before returning. Playback stays on the publisher CDN.","operationId":"create_v1_vod_assets_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/assets/upload":{"post":{"tags":["Assets"],"summary":"Upload an MP4 asset","description":"Multipart upload to private Interactive Layers storage. Returns after media validation.","operationId":"upload_v1_vod_assets_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_v1_vod_assets_upload_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"413":{"description":"File exceeds the configured limit"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/vod/assets/{asset_id}":{"get":{"tags":["Assets"],"summary":"Retrieve an asset","operationId":"get_v1_vod_assets__asset_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Assets"],"summary":"Rename an asset","operationId":"rename_v1_vod_assets__asset_id__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Assets"],"summary":"Delete an asset","description":"Cancels its analysis and removes private Interactive Layers files. Does not delete the publisher CDN source.","operationId":"delete_v1_vod_assets__asset_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/assets/{asset_id}/contexts":{"get":{"tags":["Assets"],"summary":"Read cached commercial scene context","description":"Seconds are relative to the asset. The project policy determines blocked windows and the adjacent safety margins.","operationId":"contexts_v1_vod_assets__asset_id__contexts_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneContexts"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Assets"],"summary":"Classify commercial scenes of an analyzed project asset","operationId":"classify_contexts_v1_vod_assets__asset_id__contexts_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneContexts"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/assets/{asset_id}/content":{"get":{"tags":["Assets"],"summary":"Retrieve private video","description":"An upload is served as MP4 with Range support. A linked URL returns a 307 to the publisher CDN.","operationId":"content_v1_vod_assets__asset_id__content_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"video/mp4":{}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"206":{"description":"Partial video content","content":{"video/mp4":{}}},"307":{"description":"Redirect to the publisher CDN"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/assets/{asset_id}/thumbnail":{"get":{"tags":["Assets"],"summary":"Retrieve a private thumbnail","operationId":"thumbnail_v1_vod_assets__asset_id__thumbnail_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"image/jpeg":{}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Asset is unknown or unavailable to this caller"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/scans":{"post":{"tags":["VOD"],"summary":"Start a VOD scan","description":"Queues an ahead-of-time scan (one runs at a time). Poll `GET /v1/vod/scans/{scan_id}` or listen for `vod.scan.*` events. With `asset_id`, read the analysis from `result_url` when done; no output manifest is generated. Legacy URL scans can also return `output_hls_url`.","operationId":"create_v1_vod_scans_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Invalid source"}}},"get":{"tags":["VOD"],"summary":"List your VOD scans","operationId":"list__v1_vod_scans_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScanOut"},"title":"Response List  V1 Vod Scans Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/scans/{scan_id}":{"get":{"tags":["VOD"],"summary":"VOD scan state","operationId":"get_v1_vod_scans__scan_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"string","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Unknown scan"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["VOD"],"summary":"Cancel / delete a scan","description":"Stops a running scan and removes its outputs (manifest, result, public segments).","operationId":"delete_v1_vod_scans__scan_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"string","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Unknown scan"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/scans/{scan_id}/result":{"get":{"tags":["VOD"],"summary":"Scan result","description":"Asset analyses include transcript, observations and the analysis profile. Legacy URL scans include opportunities, holds and breaks with signals. Offsets are content seconds.","operationId":"result_v1_vod_scans__scan_id__result_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"string","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanResult"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Unknown scan"},"409":{"description":"The scan is not done"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/scans/{scan_id}/transcript":{"get":{"tags":["VOD"],"summary":"Transcript (so far)","description":"Phrases transcribed so far (also while the scan runs). `format=txt` for plain text.","operationId":"transcript_v1_vod_scans__scan_id__transcript_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"string","title":"Scan Id"}},{"name":"format","in":"query","required":false,"schema":{"enum":["json","txt"],"type":"string","default":"json","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptOut"},"example":{"scan_id":"scan-0123456789abcdef","status":"done","transcript":[{"start":0,"end":3.5,"text":"The striker scored a goal."}]}},"text/plain":{"schema":{"type":"string"},"example":"[00:00:00.0 - 00:00:03.5] The striker scored a goal."}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Unknown scan"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/scans/{scan_id}/output.m3u8":{"get":{"tags":["VOD"],"summary":"Enriched VOD manifest (HLS)","description":"No API key: the unguessable scan id is the capability. `EXT-X-PLAYLIST-TYPE:VOD` with one `com.interactivelayers.signal` marker per break (marker profile of the scan), `com.interactivelayers.overlay` supers and the origin's own markers. 404 unknown scan; 409 until the scan is done.","operationId":"output_v1_vod_scans__scan_id__output_m3u8_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"string","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/vnd.apple.mpegurl":{"example":"#EXTM3U\n#EXT-X-PLAYLIST-TYPE:VOD\n#EXT-X-DATERANGE:ID=\"sig-brk-…\",CLASS=\"com.interactivelayers.signal\",START-DATE=\"2026-11-04T16:01:00.000Z\",DURATION=30.000,X-COM-INTERACTIVELAYERS-CAMPAIGNS=\"acme-hydration\",X-COM-INTERACTIVELAYERS-SOURCE=\"provided\"\n…\n#EXT-X-ENDLIST\n"}}},"404":{"description":"Unknown scan"},"409":{"description":"Not done yet"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/delivery-policy":{"get":{"tags":["VOD operations"],"summary":"Delivery Policy","description":"Read the VOD insertion policy of the calling project. Intended for a publisher backend.","operationId":"delivery_policy_v1_vod_delivery_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicVodPolicy"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/vod/airings/{airing_id}/delivery/preview":{"post":{"tags":["VOD operations"],"summary":"Preview Fast Break","description":"Prepare an upcoming GAM DAI break using a confirmed airing and the playout's actual offset. Dry-run only.","operationId":"preview_fast_break_v1_vod_airings__airing_id__delivery_preview_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastBreak"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/channels":{"get":{"tags":["VOD operations"],"summary":"Channels","operationId":"channels_v1_vod_channels_get","security":[{"APIKeyHeader":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChannelOut"},"title":"Response Channels V1 Vod Channels Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}}},"post":{"tags":["VOD operations"],"summary":"Create Channel","operationId":"create_channel_v1_vod_channels_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/channels/{channel_id}":{"patch":{"tags":["VOD operations"],"summary":"Update Channel","operationId":"update_channel_v1_vod_channels__channel_id__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","title":"Channel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/gam-profiles":{"get":{"tags":["VOD operations"],"summary":"Profiles","operationId":"profiles_v1_vod_gam_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/backend__api__v1__vod_operations__ProfileOut"},"type":"array","title":"Response Profiles V1 Vod Gam Profiles Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/vod/gam-profiles/{profile_id}":{"get":{"tags":["VOD operations"],"summary":"Profile","operationId":"profile_v1_vod_gam_profiles__profile_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__api__v1__vod_operations__ProfileOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/matches":{"get":{"tags":["VOD operations"],"summary":"Matches","operationId":"matches_v1_vod_matches_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MatchOut"},"title":"Response Matches V1 Vod Matches Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["VOD operations"],"summary":"Create Match","operationId":"create_match_v1_vod_matches_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanningIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/matches/{match_id}":{"get":{"tags":["VOD operations"],"summary":"Match","operationId":"match_v1_vod_matches__match_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"string","title":"Match Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/airings":{"get":{"tags":["VOD operations"],"summary":"Airings","operationId":"airings_v1_vod_airings_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"asset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiringOut"},"title":"Response Airings V1 Vod Airings Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["VOD operations"],"summary":"Create Airing","operationId":"create_airing_v1_vod_airings_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanningIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/airings/{airing_id}":{"get":{"tags":["VOD operations"],"summary":"Airing","operationId":"airing_v1_vod_airings__airing_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["VOD operations"],"summary":"Update Airing","operationId":"update_airing_v1_vod_airings__airing_id__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/airings/{airing_id}/cancel":{"post":{"tags":["VOD operations"],"summary":"Cancel Airing","operationId":"cancel_airing_v1_vod_airings__airing_id__cancel_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/airings/{airing_id}/events":{"post":{"tags":["VOD operations"],"summary":"Notify Airing","operationId":"notify_airing_v1_vod_airings__airing_id__events_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringEvent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiringOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks":{"post":{"tags":["VOD operations"],"summary":"Create Playback","operationId":"create_playback_v1_vod_playbacks_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybackIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybackOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}":{"get":{"tags":["VOD operations"],"summary":"Playback","operationId":"playback_v1_vod_playbacks__playback_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybackOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}/plan":{"get":{"tags":["VOD operations"],"summary":"Playback Plan","description":"The plan the IL adapter of an app that plays its own breaks draws during this playback: the project's ad plan with cuts: [], its scenes and its product windows, and commerce with a host grant for this playback's session (commerce.session, the same for the whole playback). The windows keep clear of the breaks IL would place, not of the app's: the adapter applies scenes.pacing.cut_clearance_seconds around the breaks the app reports. commerce.break_url is present only when the playback was created with graphics, walks routing steps without AdRouter, the scene product is on and the project saved an iADServer step with a tag. A version 2 plan expires soon: read it again before expires_at. 204 when there is nothing to draw (AdRouter on, analysis not finished, server-side insertion, playback ended, video changed since the playback started, or no scenes and no product). It may schedule a plan build and never touches the playback's opportunities or steps.","operationId":"playback_plan_v1_vod_playbacks__playback_id__plan_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}}],"responses":{"200":{"description":"The plan, with cuts: [] and a host grant for this playback's session","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"204":{"description":"Nothing to draw"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}/opportunities":{"post":{"tags":["VOD operations"],"summary":"Prepare","operationId":"prepare_v1_vod_playbacks__playback_id__opportunities_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CueIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CueOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}/opportunities/{opportunity_id}/request":{"post":{"tags":["VOD operations"],"summary":"Consume","operationId":"consume_v1_vod_playbacks__playback_id__opportunities__opportunity_id__request_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}},{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}/opportunities/{opportunity_id}/next":{"post":{"tags":["VOD operations"],"summary":"Next Step","description":"Ask the next ad-server step of a break after the ad server of the previous step returned no ad. Only for playbacks with routing steps. Send the step the previous answer named. With no askable step left the answer is {\"eligible\": false, \"reason\": \"steps_exhausted\", \"steps_left\": 0}, with the last reason in context.last_reason. If the lists were edited after /request and after_step is no longer the step asked, the reason is steps_changed. A blocked break or a changed video or analysis answers the same reason /request gives. Any eligible false ends the break: resume the content.","operationId":"next_step_v1_vod_playbacks__playback_id__opportunities__opportunity_id__next_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}},{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"404":{"description":"Unknown playback or opportunity"},"409":{"description":"The opportunity was not requested, after_step is not the last step answered, the playback does not walk steps, or the playback ended"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/playbacks/{playback_id}/events":{"post":{"tags":["VOD operations"],"summary":"Playback Event","operationId":"playback_event_v1_vod_playbacks__playback_id__events_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"playback_id","in":"path","required":true,"schema":{"type":"string","title":"Playback Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybackEvent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accepted"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/airings/{airing_id}/signals":{"post":{"tags":["VOD operations"],"summary":"Prepare Signal","description":"Prepare an SSAI signal using a fresh SpringServe snapshot. Does not request ads or count impressions. Reusing a break_id with different data returns 409.","operationId":"prepare_signal_v1_vod_airings__airing_id__signals_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"airing_id","in":"path","required":true,"schema":{"type":"string","title":"Airing Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vod/signals/{signal_id}":{"get":{"tags":["VOD operations"],"summary":"Signal","description":"Read a signal with live TTL and revision checks. Invalidated/expired signals contain no candidates.","operationId":"signal_v1_vod_signals__signal_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"signal_id","in":"path","required":true,"schema":{"type":"string","title":"Signal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/profiles":{"get":{"tags":["Advertising providers"],"summary":"Profiles","operationId":"profiles_v1_ad_providers_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__ProfileOut"},"type":"array","title":"Response Profiles V1 Ad Providers Profiles Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/ad-providers/connections":{"get":{"tags":["Advertising providers"],"summary":"Connections","operationId":"connections_v1_ad_providers_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConnectionOut"},"type":"array","title":"Response Connections V1 Ad Providers Connections Get"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/ad-providers/{provider}/profiles/{profile_id}":{"get":{"tags":["Advertising providers"],"summary":"Profile","operationId":"profile_v1_ad_providers__provider__profiles__profile_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["gam","springserve","iadserver"],"type":"string","title":"Provider"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__ProfileOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/springserve/profiles/{profile_id}":{"put":{"tags":["Advertising providers"],"summary":"Save Profile","operationId":"save_profile_v1_ad_providers_springserve_profiles__profile_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpringServeProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__ProfileOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/springserve/connection":{"post":{"tags":["Advertising providers"],"summary":"Connect","description":"Connect a read-only SpringServe API user. Credentials stay encrypted in the backend; no remote campaigns are modified.","operationId":"connect_v1_ad_providers_springserve_connection_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}},{"name":"create","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Create"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Advertising providers"],"summary":"Disconnect Springserve","operationId":"disconnect_springserve_v1_ad_providers_springserve_connection_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/{provider}/connection":{"delete":{"tags":["Advertising providers"],"summary":"Disconnect","operationId":"disconnect_v1_ad_providers__provider__connection_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["gam","iadserver"],"type":"string","title":"Provider"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Advertising providers"],"summary":"Connection","operationId":"connection_v1_ad_providers__provider__connection_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["gam","springserve","iadserver"],"type":"string","title":"Provider"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/{provider}/profiles/{profile_id}/snapshot":{"get":{"tags":["Advertising providers"],"summary":"Snapshot","operationId":"snapshot_v1_ad_providers__provider__profiles__profile_id__snapshot_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["gam","springserve","iadserver"],"type":"string","title":"Provider"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/{provider}/profiles/{profile_id}/sync":{"post":{"tags":["Advertising providers"],"summary":"Sync","operationId":"sync_v1_ad_providers__provider__profiles__profile_id__sync_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["gam","springserve","iadserver"],"type":"string","title":"Provider"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/iadserver/profiles/{profile_id}":{"put":{"tags":["Advertising providers"],"summary":"Save Iadserver Profile","operationId":"save_iadserver_profile_v1_ad_providers_iadserver_profiles__profile_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IadServerProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__ProfileOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ad-providers/gam/profiles/{profile_id}":{"put":{"tags":["Advertising providers"],"summary":"Save Gam Profile","operationId":"save_gam_profile_v1_ad_providers_gam_profiles__profile_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","title":"Profile Id"}},{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$","default":"default","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GamIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__ProfileOut"}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/settings":{"get":{"tags":["AdRouter"],"summary":"Get Settings","operationId":"get_settings_v1_adrouter_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]},"put":{"tags":["AdRouter"],"summary":"Set Settings","operationId":"set_settings_v1_adrouter_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/adrouter/routers":{"get":{"tags":["AdRouter"],"summary":"List Routers","operationId":"list_routers_v1_adrouter_routers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"}},"security":[{"APIKeyHeader":[]}]}},"/v1/adrouter/routers/{router_id}/draft":{"get":{"tags":["AdRouter"],"summary":"Get Draft","operationId":"get_draft_v1_adrouter_routers__router_id__draft_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["AdRouter"],"summary":"Save Draft","operationId":"save_draft_v1_adrouter_routers__router_id__draft_put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/history":{"get":{"tags":["AdRouter"],"summary":"History","operationId":"history_v1_adrouter_routers__router_id__history_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/publish":{"post":{"tags":["AdRouter"],"summary":"Publish","operationId":"publish_v1_adrouter_routers__router_id__publish_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/pause":{"post":{"tags":["AdRouter"],"summary":"Pause","operationId":"pause_v1_adrouter_routers__router_id__pause_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict or not published"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/rollback":{"post":{"tags":["AdRouter"],"summary":"Rollback","operationId":"rollback_v1_adrouter_routers__router_id__rollback_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"409":{"description":"Revision conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/simulate":{"post":{"tags":["AdRouter"],"summary":"Simulate","operationId":"simulate_v1_adrouter_routers__router_id__simulate_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]+$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing, invalid or revoked API key"},"403":{"description":"The API key lacks the required scope"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/opportunities":{"post":{"tags":["AdRouter"],"summary":"Launch","operationId":"launch_v1_adrouter_opportunities_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/adrouter/attempts/{attempt_id}/events":{"post":{"tags":["AdRouter"],"summary":"Attempt Event","operationId":"attempt_event_v1_adrouter_attempts__attempt_id__events_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/presets":{"get":{"tags":["AdRouter"],"summary":"Presets","operationId":"presets_v1_adrouter_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/adrouter/routers/{router_id}/tags":{"post":{"tags":["AdRouter"],"summary":"Create Tag","operationId":"create_tag_v1_adrouter_routers__router_id__tags_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["AdRouter"],"summary":"Tags","operationId":"tags_v1_adrouter_routers__router_id__tags_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","title":"Router Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/tags/{tag_id}":{"delete":{"tags":["AdRouter"],"summary":"Revoke Tag","operationId":"revoke_tag_v1_adrouter_tags__tag_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"tag_id","in":"path","required":true,"schema":{"type":"string","title":"Tag Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/tags/{tag_id}/bindings":{"post":{"tags":["AdRouter"],"summary":"Bind","operationId":"bind_v1_adrouter_tags__tag_id__bindings_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"tag_id","in":"path","required":true,"schema":{"type":"string","title":"Tag Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CutIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/reports":{"get":{"tags":["AdRouter"],"summary":"Get Reports","operationId":"get_reports_v1_adrouter_routers__router_id__reports_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Router Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["AdRouter"],"summary":"Import Settlement","operationId":"import_settlement_v1_adrouter_routers__router_id__reports_put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettlementIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/suggest-rule":{"post":{"tags":["AdRouter"],"summary":"Suggest Rule","operationId":"suggest_rule_v1_adrouter_routers__router_id__suggest_rule_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Router Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/adrouter/routers/{router_id}/decisions":{"get":{"tags":["AdRouter"],"summary":"Read Decisions","operationId":"read_decisions_v1_adrouter_routers__router_id__decisions_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"router_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Router Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":20,"title":"Limit"}},{"name":"opportunity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},{"type":"null"}],"title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credentials":{"post":{"tags":["Content credentials"],"summary":"Create Credential","operationId":"create_credential_v1_credentials_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateJwplayerManagement"},{"$ref":"#/components/schemas/CreateJwplayerDelivery"},{"$ref":"#/components/schemas/CreateHttpBearer"},{"$ref":"#/components/schemas/CreateHttpBasic"},{"$ref":"#/components/schemas/CreateAkamaiEdgegrid"},{"$ref":"#/components/schemas/CreateAkamaiNetstorage"},{"$ref":"#/components/schemas/CreateFastlyManagement"},{"$ref":"#/components/schemas/CreateFastlyS3"}],"discriminator":{"propertyName":"kind","mapping":{"jwplayer_management":"#/components/schemas/CreateJwplayerManagement","jwplayer_delivery":"#/components/schemas/CreateJwplayerDelivery","http_bearer":"#/components/schemas/CreateHttpBearer","http_basic":"#/components/schemas/CreateHttpBasic","akamai_edgegrid":"#/components/schemas/CreateAkamaiEdgegrid","akamai_netstorage":"#/components/schemas/CreateAkamaiNetstorage","fastly_management":"#/components/schemas/CreateFastlyManagement","fastly_s3":"#/components/schemas/CreateFastlyS3"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/credentials/{credential_id}":{"get":{"tags":["Content credentials"],"summary":"Get Credential","operationId":"get_credential_v1_credentials__credential_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"put":{"tags":["Content credentials"],"summary":"Rotate Credential","operationId":"rotate_credential_v1_credentials__credential_id__put","security":[{"ContentKey":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/RotateJwplayerManagement"},{"$ref":"#/components/schemas/RotateJwplayerDelivery"},{"$ref":"#/components/schemas/RotateHttpBearer"},{"$ref":"#/components/schemas/RotateHttpBasic"},{"$ref":"#/components/schemas/RotateAkamaiEdgegrid"},{"$ref":"#/components/schemas/RotateAkamaiNetstorage"},{"$ref":"#/components/schemas/RotateFastlyManagement"},{"$ref":"#/components/schemas/RotateFastlyS3"}],"discriminator":{"propertyName":"kind","mapping":{"jwplayer_management":"#/components/schemas/RotateJwplayerManagement","jwplayer_delivery":"#/components/schemas/RotateJwplayerDelivery","http_bearer":"#/components/schemas/RotateHttpBearer","http_basic":"#/components/schemas/RotateHttpBasic","akamai_edgegrid":"#/components/schemas/RotateAkamaiEdgegrid","akamai_netstorage":"#/components/schemas/RotateAkamaiNetstorage","fastly_management":"#/components/schemas/RotateFastlyManagement","fastly_s3":"#/components/schemas/RotateFastlyS3"}},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/credentials/{credential_id}/revoke":{"post":{"tags":["Content credentials"],"summary":"Revoke Credential","operationId":"revoke_credential_v1_credentials__credential_id__revoke_post","security":[{"ContentKey":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Create Connection","operationId":"create_connection_v1_connections_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateConnectionGeneric"},{"$ref":"#/components/schemas/CreateConnectionJw"},{"$ref":"#/components/schemas/CreateConnectionS3"},{"$ref":"#/components/schemas/CreateConnectionGcs"},{"$ref":"#/components/schemas/CreateConnectionAkamai"},{"$ref":"#/components/schemas/CreateConnectionFastly"},{"$ref":"#/components/schemas/CreateConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/CreateConnectionGeneric","jwplayer":"#/components/schemas/CreateConnectionJw","aws_s3":"#/components/schemas/CreateConnectionS3","gcs":"#/components/schemas/CreateConnectionGcs","akamai":"#/components/schemas/CreateConnectionAkamai","fastly":"#/components/schemas/CreateConnectionFastly","fastly_s3":"#/components/schemas/CreateConnectionFastlyS3"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw","aws_s3":"#/components/schemas/ConnectionS3","gcs":"#/components/schemas/ConnectionGcs","akamai":"#/components/schemas/ConnectionAkamai","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3"}},"title":"Response Create Connection V1 Connections Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"tags":["Content credentials","Content catalog"],"summary":"List Connections","operationId":"list_connections_v1_connections_get","security":[{"ContentKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Annotated_Union_ConnectionGeneric__ConnectionJw__ConnectionS3__ConnectionGcs__ConnectionAkamai__ConnectionFastly__ConnectionFastlyS3___FieldInfo_annotation_NoneType__required_True__discriminator__provider____"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}":{"get":{"tags":["Content credentials","Content catalog"],"summary":"Get Connection","operationId":"get_connection_v1_connections__connection_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw","aws_s3":"#/components/schemas/ConnectionS3","gcs":"#/components/schemas/ConnectionGcs","akamai":"#/components/schemas/ConnectionAkamai","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3"}},"title":"Response Get Connection V1 Connections  Connection Id  Get"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"put":{"tags":["Content credentials","Content catalog"],"summary":"Replace Connection","operationId":"replace_connection_v1_connections__connection_id__put","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReplaceConnectionGeneric"},{"$ref":"#/components/schemas/ReplaceConnectionJw"},{"$ref":"#/components/schemas/ReplaceConnectionS3"},{"$ref":"#/components/schemas/ReplaceConnectionGcs"},{"$ref":"#/components/schemas/ReplaceConnectionAkamai"},{"$ref":"#/components/schemas/ReplaceConnectionFastly"},{"$ref":"#/components/schemas/ReplaceConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ReplaceConnectionGeneric","jwplayer":"#/components/schemas/ReplaceConnectionJw","aws_s3":"#/components/schemas/ReplaceConnectionS3","gcs":"#/components/schemas/ReplaceConnectionGcs","akamai":"#/components/schemas/ReplaceConnectionAkamai","fastly":"#/components/schemas/ReplaceConnectionFastly","fastly_s3":"#/components/schemas/ReplaceConnectionFastlyS3"}},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw","aws_s3":"#/components/schemas/ConnectionS3","gcs":"#/components/schemas/ConnectionGcs","akamai":"#/components/schemas/ConnectionAkamai","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3"}},"title":"Response Replace Connection V1 Connections  Connection Id  Put"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/disable":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Disable Connection","operationId":"disable_connection_v1_connections__connection_id__disable_post","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw","aws_s3":"#/components/schemas/ConnectionS3","gcs":"#/components/schemas/ConnectionGcs","akamai":"#/components/schemas/ConnectionAkamai","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3"}},"title":"Response Disable Connection V1 Connections  Connection Id  Disable Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/enable":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Enable Connection","operationId":"enable_connection_v1_connections__connection_id__enable_post","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw","aws_s3":"#/components/schemas/ConnectionS3","gcs":"#/components/schemas/ConnectionGcs","akamai":"#/components/schemas/ConnectionAkamai","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3"}},"title":"Response Enable Connection V1 Connections  Connection Id  Enable Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/setup":{"get":{"tags":["Content credentials","Content catalog"],"summary":"Connection Setup","operationId":"connection_setup_v1_connections__connection_id__setup_get","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionSetup"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/validate":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Request Validation","operationId":"request_validation_v1_connections__connection_id__validate_post","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateConnection"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionValidation"},{"$ref":"#/components/schemas/IntegrationValidation"}],"discriminator":{"propertyName":"target_type","mapping":{"connection":"#/components/schemas/ConnectionValidation","integration":"#/components/schemas/IntegrationValidation"}},"title":"Response Request Validation V1 Connections  Connection Id  Validate Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/validations/{validation_id}":{"get":{"tags":["Content credentials","Content catalog"],"summary":"Validation Status","operationId":"validation_status_v1_validations__validation_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"validation_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Validation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionValidation"},{"$ref":"#/components/schemas/IntegrationValidation"}],"discriminator":{"propertyName":"target_type","mapping":{"connection":"#/components/schemas/ConnectionValidation","integration":"#/components/schemas/IntegrationValidation"}},"title":"Response Validation Status V1 Validations  Validation Id  Get"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/sync":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Request Sync","operationId":"request_sync_v1_connections__connection_id__sync_post","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sync"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/syncs/{sync_id}":{"get":{"tags":["Content credentials","Content catalog"],"summary":"Sync Status","operationId":"sync_status_v1_syncs__sync_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"sync_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Sync Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sync"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/connections/{connection_id}/assets:import":{"post":{"tags":["Content credentials","Content catalog"],"summary":"Import Assets","operationId":"import_assets_v1_connections__connection_id__assets_import_post","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportAssets"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportReceipt"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/assets":{"get":{"tags":["Content credentials","Content catalog"],"summary":"List Assets","operationId":"list_assets_v1_assets_get","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"}},{"name":"media_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Kind"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"tags_any","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tags Any"}},{"name":"availability","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Availability"}},{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Asset_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/assets/{asset_id}":{"get":{"tags":["Content credentials","Content catalog"],"summary":"Get Asset","operationId":"get_asset_v1_assets__asset_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/analysis-profiles":{"get":{"tags":["Content credentials","Content processing"],"summary":"Analysis Profiles","operationId":"analysis_profiles_v1_analysis_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Data_AnalysisProfile_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"ContentKey":[]}]}},"/v1/safety-policies":{"get":{"tags":["Content credentials","Content processing"],"summary":"Safety Policies","operationId":"safety_policies_v1_safety_policies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Data_SafetyPolicy_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"ContentKey":[]}]}},"/v1/processing-batches":{"post":{"tags":["Content credentials","Content processing"],"summary":"Request Batch","operationId":"request_batch_v1_processing_batches_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBatch"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"tags":["Content credentials","Content processing"],"summary":"List Batches","operationId":"list_batches_v1_processing_batches_get","security":[{"ContentKey":[]}],"parameters":[{"name":"connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Connection Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["validating","queued","running","cancelling","succeeded","completed_with_errors","failed","cancelled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Batch_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/processing-batches/{batch_id}":{"get":{"tags":["Content credentials","Content processing"],"summary":"Get Batch","operationId":"get_batch_v1_processing_batches__batch_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/processing-batches/{batch_id}/cancel":{"post":{"tags":["Content credentials","Content processing"],"summary":"Cancel Batch","operationId":"cancel_batch_v1_processing_batches__batch_id__cancel_post","security":[{"ContentKey":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/processing-batches/{batch_id}/retry-failed":{"post":{"tags":["Content credentials","Content processing"],"summary":"Retry Batch","operationId":"retry_batch_v1_processing_batches__batch_id__retry_failed_post","security":[{"ContentKey":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryFailed"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Batch"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/processing-batches/{batch_id}/items":{"get":{"tags":["Content credentials","Content processing"],"summary":"Batch Items","operationId":"batch_items_v1_processing_batches__batch_id__items_get","security":[{"ContentKey":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["queued","resolving","fetching","analyzing","succeeded","failed","cancelled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_BatchItem_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/processing-batches/{batch_id}/results":{"get":{"tags":["Content credentials","Content processing"],"summary":"Batch Results","operationId":"batch_results_v1_processing_batches__batch_id__results_get","security":[{"ContentKey":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_BatchResult_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/results/{result_id}":{"get":{"tags":["Content credentials","Content processing"],"summary":"Get Result","operationId":"get_result_v1_results__result_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalysisResult"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/artifacts/{artifact_id}/download":{"get":{"tags":["Content credentials","Content processing"],"summary":"Download Artifact","operationId":"download_artifact_v1_artifacts__artifact_id__download_get","security":[{"ContentKey":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Artifact Id"}}],"responses":{"200":{"description":"Private result artifact","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-endpoints":{"post":{"tags":["Content credentials","Content webhooks"],"summary":"Create Endpoint","operationId":"create_endpoint_v1_webhook_endpoints_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhook"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"tags":["Content credentials","Content webhooks"],"summary":"List Endpoints","operationId":"list_endpoints_v1_webhook_endpoints_get","security":[{"ContentKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_WebhookEndpoint_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-endpoints/{endpoint_id}":{"get":{"tags":["Content credentials","Content webhooks"],"summary":"Get Endpoint","operationId":"get_endpoint_v1_webhook_endpoints__endpoint_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-endpoints/{endpoint_id}/disable":{"post":{"tags":["Content credentials","Content webhooks"],"summary":"Disable Endpoint","operationId":"disable_endpoint_v1_webhook_endpoints__endpoint_id__disable_post","security":[{"ContentKey":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Endpoint Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-endpoints/{endpoint_id}/secret":{"put":{"tags":["Content credentials","Content webhooks"],"summary":"Rotate Endpoint","operationId":"rotate_endpoint_v1_webhook_endpoints__endpoint_id__secret_put","security":[{"ContentKey":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Endpoint Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateSecret"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-endpoints/{endpoint_id}/deliveries":{"get":{"tags":["Content credentials","Content webhooks"],"summary":"List Deliveries","operationId":"list_deliveries_v1_webhook_endpoints__endpoint_id__deliveries_get","security":[{"ContentKey":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Endpoint Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_WebhookDelivery_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/webhook-deliveries/{delivery_id}/retry":{"post":{"tags":["Content credentials","Content webhooks"],"summary":"Retry Delivery","operationId":"retry_delivery_v1_webhook_deliveries__delivery_id__retry_post","security":[{"ContentKey":[]}],"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Delivery Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDelivery"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/integrations":{"post":{"tags":["Content credentials","GAM content export"],"summary":"Create Integration","operationId":"create_integration_v1_integrations_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GamLocal"},{"$ref":"#/components/schemas/GamServiceAccount"},{"$ref":"#/components/schemas/GamOAuth"}],"discriminator":{"propertyName":"auth_mode","mapping":{"local":"#/components/schemas/GamLocal","runtime_service_account":"#/components/schemas/GamServiceAccount","oauth_user":"#/components/schemas/GamOAuth"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GamLocalIntegration"},{"$ref":"#/components/schemas/GamServiceAccountIntegration"},{"$ref":"#/components/schemas/GamOAuthIntegration"}],"discriminator":{"propertyName":"auth_mode","mapping":{"local":"#/components/schemas/GamLocalIntegration","runtime_service_account":"#/components/schemas/GamServiceAccountIntegration","oauth_user":"#/components/schemas/GamOAuthIntegration"}},"title":"Response Create Integration V1 Integrations Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/integrations/{integration_id}":{"get":{"tags":["Content credentials","GAM content export"],"summary":"Get Integration","operationId":"get_integration_v1_integrations__integration_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GamLocalIntegration"},{"$ref":"#/components/schemas/GamServiceAccountIntegration"},{"$ref":"#/components/schemas/GamOAuthIntegration"}],"discriminator":{"propertyName":"auth_mode","mapping":{"local":"#/components/schemas/GamLocalIntegration","runtime_service_account":"#/components/schemas/GamServiceAccountIntegration","oauth_user":"#/components/schemas/GamOAuthIntegration"}},"title":"Response Get Integration V1 Integrations  Integration Id  Get"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/integrations/{integration_id}/validate":{"post":{"tags":["Content credentials","GAM content export"],"summary":"Validate Integration","operationId":"validate_integration_v1_integrations__integration_id__validate_post","security":[{"ContentKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionValidation"},{"$ref":"#/components/schemas/IntegrationValidation"}],"discriminator":{"propertyName":"target_type","mapping":{"connection":"#/components/schemas/ConnectionValidation","integration":"#/components/schemas/IntegrationValidation"}},"title":"Response Validate Integration V1 Integrations  Integration Id  Validate Post"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/assets/{asset_id}/ad-mapping":{"put":{"tags":["Content credentials","GAM content export"],"summary":"Update Mapping","operationId":"update_mapping_v1_assets__asset_id__ad_mapping_put","security":[{"ContentKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutAdMapping"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdMapping"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"tags":["Content credentials","GAM content export"],"summary":"Get Mapping","operationId":"get_mapping_v1_assets__asset_id__ad_mapping_get","security":[{"ContentKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"}},{"name":"integration_id","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdMapping"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports":{"post":{"tags":["Content credentials","GAM content export"],"summary":"Request Export","operationId":"request_export_v1_exports_post","security":[{"ContentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{8,128}$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExport"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportJob"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports/{export_id}":{"get":{"tags":["Content credentials","GAM content export"],"summary":"Get Export","operationId":"get_export_v1_exports__export_id__get","security":[{"ContentKey":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportJob"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/v1/exports/{export_id}/items":{"get":{"tags":["Content credentials","GAM content export"],"summary":"Export Items","operationId":"export_items_v1_exports__export_id__items_get","security":[{"ContentKey":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Export Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ExportItem_"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Gone","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Request Entity Too Large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Entity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Service Unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"components":{"schemas":{"Accepted":{"properties":{"accepted":{"type":"boolean","title":"Accepted"}},"type":"object","required":["accepted"],"title":"Accepted"},"AdMapping":{"properties":{"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"video_id":{"type":"string","maxLength":512,"minLength":1,"pattern":"^[^\\x00-\\x20\\x7f/]+$","title":"Video Id"},"source_version":{"type":"string","maxLength":2048,"minLength":1,"title":"Source Version"},"existing":{"type":"boolean","title":"Existing"},"metadata_base_revision":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Metadata Base Revision"},"baseline":{"anyOf":[{"$ref":"#/components/schemas/VideoBaseline"},{"type":"null"}]},"expected_mapping_revision":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Mapping Revision"},"mapping_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Mapping Id"},"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"mapping_revision":{"type":"integer","minimum":1.0,"title":"Mapping Revision"}},"additionalProperties":false,"type":"object","required":["integration_id","video_id","source_version","existing","expected_mapping_revision","mapping_id","asset_id","mapping_revision"],"title":"AdMapping"},"AiringEvent":{"properties":{"event_id":{"type":"string","maxLength":80,"minLength":1,"title":"Event Id"},"type":{"type":"string","enum":["started","ended"],"title":"Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["event_id","type","occurred_at"],"title":"AiringEvent"},"AiringOut":{"properties":{"provider":{"type":"string","enum":["gam","springserve","iadserver"],"title":"Provider","default":"gam"},"ad_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Profile Id","default":"default"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","default":"default"},"airing_id":{"type":"string","title":"Airing Id"},"asset_id":{"type":"string","title":"Asset Id"},"channel_id":{"type":"string","title":"Channel Id"},"gam_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gam Profile Id"},"planned_start_at":{"type":"string","format":"date-time","title":"Planned Start At"},"actual_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actual Start At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"match_id":{"type":"string","title":"Match Id"},"status":{"type":"string","enum":["scheduled","started","ended","cancelled"],"title":"Status"}},"type":"object","required":["airing_id","asset_id","channel_id","gam_profile_id","planned_start_at","actual_start_at","ended_at","created_at","match_id","status"],"title":"AiringOut"},"AiringPatch":{"properties":{"provider":{"anyOf":[{"type":"string","enum":["gam","springserve","iadserver"]},{"type":"null"}],"title":"Provider"},"ad_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Ad Profile Id"},"connection_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Connection Id"},"gam_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Gam Profile Id","description":"Legacy GAM-only alias for ad_profile_id"},"channel_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Channel Id"},"planned_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Planned Start At"}},"additionalProperties":false,"type":"object","title":"AiringPatch"},"AkamaiConfig":{"properties":{"catalog":{"oneOf":[{"$ref":"#/components/schemas/FeedCatalog"},{"$ref":"#/components/schemas/NetStorageCatalog"}],"title":"Catalog","discriminator":{"propertyName":"mode","mapping":{"feed":"#/components/schemas/FeedCatalog","netstorage_inventory":"#/components/schemas/NetStorageCatalog"}}},"delivery_resolver_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Delivery Resolver Ref"},"management":{"anyOf":[{"$ref":"#/components/schemas/AkamaiManagement"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["catalog","delivery_resolver_ref"],"title":"AkamaiConfig"},"AkamaiEdgegridPayload":{"properties":{"host":{"type":"string","format":"password","title":"Host","writeOnly":true},"client_token":{"type":"string","format":"password","title":"Client Token","writeOnly":true},"client_secret":{"type":"string","format":"password","title":"Client Secret","writeOnly":true},"access_token":{"type":"string","format":"password","title":"Access Token","writeOnly":true}},"additionalProperties":false,"type":"object","required":["host","client_token","client_secret","access_token"],"title":"AkamaiEdgegridPayload"},"AkamaiManagement":{"properties":{"edgegrid_credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Edgegrid Credential Ref"},"contract_id":{"type":"string","maxLength":2048,"minLength":1,"title":"Contract Id"},"group_id":{"type":"string","maxLength":2048,"minLength":1,"title":"Group Id"}},"additionalProperties":false,"type":"object","required":["edgegrid_credential_ref","contract_id","group_id"],"title":"AkamaiManagement"},"AkamaiNetstoragePayload":{"properties":{"upload_account_id":{"type":"string","format":"password","title":"Upload Account Id","writeOnly":true},"key":{"type":"string","format":"password","title":"Key","writeOnly":true}},"additionalProperties":false,"type":"object","required":["upload_account_id","key"],"title":"AkamaiNetstoragePayload"},"AnalysisProfile":{"properties":{"id":{"type":"string","enum":["context_av_v1","context_audio_v1"],"title":"Id"},"revision":{"type":"string","title":"Revision"},"enabled":{"type":"boolean","title":"Enabled"},"video_sample_interval_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Sample Interval Ms"},"audio_chunk_ms":{"type":"integer","title":"Audio Chunk Ms"},"audio_overlap_ms":{"type":"integer","title":"Audio Overlap Ms"},"timeline_segment_ms":{"type":"integer","title":"Timeline Segment Ms"},"engine_revision":{"type":"string","title":"Engine Revision"}},"additionalProperties":false,"type":"object","required":["id","revision","enabled","video_sample_interval_ms","audio_chunk_ms","audio_overlap_ms","timeline_segment_ms","engine_revision"],"title":"AnalysisProfile"},"AnalysisResult":{"properties":{"schema_version":{"type":"string","const":"1.1","title":"Schema Version"},"result_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Result Id"},"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"source_asset_id":{"type":"string","title":"Source Asset Id"},"source_version":{"type":"string","title":"Source Version"},"status":{"type":"string","const":"succeeded","title":"Status"},"duration_ms":{"type":"integer","title":"Duration Ms"},"analysis_profile":{"type":"string","enum":["context_av_v1","context_audio_v1"],"title":"Analysis Profile"},"profile_revision":{"type":"string","title":"Profile Revision"},"safety_policy_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Safety Policy Id"},"policy_revision":{"type":"string","title":"Policy Revision"},"engine_revision":{"type":"string","title":"Engine Revision"},"outputs":{"items":{"type":"string","enum":["transcript","context","suitability","opportunities"]},"type":"array","title":"Outputs"},"coverage":{"$ref":"#/components/schemas/Coverage"},"overall_suitability":{"type":"string","enum":["eligible","ineligible","unknown"],"title":"Overall Suitability"},"segments":{"items":{"$ref":"#/components/schemas/Segment"},"type":"array","title":"Segments"},"opportunities":{"items":{"$ref":"#/components/schemas/Opportunity"},"type":"array","title":"Opportunities"},"artifacts":{"items":{"$ref":"#/components/schemas/Artifact"},"type":"array","title":"Artifacts"},"models":{"items":{"$ref":"#/components/schemas/EngineModel"},"type":"array","title":"Models"},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"},"expires_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["schema_version","result_id","asset_id","source_asset_id","source_version","status","duration_ms","analysis_profile","profile_revision","safety_policy_id","policy_revision","engine_revision","outputs","coverage","overall_suitability","segments","opportunities","artifacts","models","created_at","expires_at"],"title":"AnalysisResult"},"ArchiveIn":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"ArchiveIn"},"Artifact":{"properties":{"artifact_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Artifact Id"},"kind":{"type":"string","enum":["transcript_json","transcript_vtt","context_json"],"title":"Kind"},"content_type":{"type":"string","title":"Content Type"},"size_bytes":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","title":"Size Bytes"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"expires_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["artifact_id","kind","content_type","size_bytes","sha256","expires_at"],"title":"Artifact"},"Asset":{"properties":{"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"source_asset_id":{"type":"string","maxLength":512,"minLength":1,"title":"Source Asset Id"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"metadata_revision":{"type":"integer","minimum":1.0,"title":"Metadata Revision"},"title":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Title"},"language":{"anyOf":[{"type":"string","maxLength":64,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},{"type":"null"}],"title":"Language"},"duration_ms":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration Ms"},"media_kind":{"type":"string","enum":["vod","recording","live_channel"],"title":"Media Kind"},"tags":{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","title":"Tags"},"availability":{"type":"string","enum":["unknown","available","unavailable","deleted"],"title":"Availability"},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"},"updated_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Updated At"},"last_synced_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Last Synced At"},"source_metadata":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Source Metadata"}},"additionalProperties":false,"type":"object","required":["asset_id","connection_id","source_asset_id","source_version","metadata_revision","title","language","duration_ms","media_kind","tags","availability","created_at","updated_at","last_synced_at","source_metadata"],"title":"Asset"},"AssetAnalysis":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"status":{"type":"string","title":"Status"},"progress":{"$ref":"#/components/schemas/Progress"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["scan_id","status","progress"],"title":"AssetAnalysis"},"AssetMetadata":{"properties":{"duration":{"type":"number","title":"Duration","description":"Duration in seconds"},"video_codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Codec"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"embedded_ads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Embedded Ads"},"expires_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expires At","description":"Unix time for automatic removal of a temporary upload."}},"type":"object","required":["duration"],"title":"AssetMetadata"},"AssetOut":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"title":{"type":"string","title":"Title"},"source_kind":{"type":"string","enum":["upload","mp4","hls"],"title":"Source Kind"},"version":{"type":"string","title":"Version","description":"Version of the source validated at import"},"status":{"type":"string","enum":["ready","changed"],"title":"Status"},"ad_free":{"type":"boolean","title":"Ad Free"},"immutable":{"type":"boolean","title":"Immutable"},"created_at":{"type":"number","title":"Created At","description":"Unix timestamp in seconds"},"metadata":{"$ref":"#/components/schemas/AssetMetadata"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Redacted CDN source; null for uploads"},"playback_url":{"type":"string","title":"Playback Url","description":"Private relative URL. Use the same authentication as the asset request."},"thumbnail_url":{"type":"string","title":"Thumbnail Url","description":"Private relative URL for the thumbnail, if available"},"analysis":{"anyOf":[{"$ref":"#/components/schemas/AssetAnalysis"},{"type":"null"}]}},"type":"object","required":["asset_id","title","source_kind","version","status","ad_free","immutable","created_at","metadata","source","playback_url","thumbnail_url","analysis"],"title":"AssetOut"},"AssetPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AssetOut"},"type":"array","title":"Data"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"next_page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Page"}},"type":"object","required":["data","total","page","limit","next_page"],"title":"AssetPage"},"AssetQuery":{"properties":{"media_kind":{"anyOf":[{"type":"string","enum":["vod","recording","live_channel"]},{"type":"null"}],"title":"Media Kind"},"language":{"anyOf":[{"type":"string","maxLength":64,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},{"type":"null"}],"title":"Language"},"tags_any":{"anyOf":[{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","maxItems":50,"minItems":1},{"type":"null"}],"title":"Tags Any"},"availability":{"anyOf":[{"type":"string","enum":["unknown","available","unavailable","deleted"]},{"type":"null"}],"title":"Availability"},"updated_after":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Updated After"}},"additionalProperties":false,"type":"object","title":"AssetQuery"},"AssetsSelection":{"properties":{"asset_ids":{"items":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},"type":"array","maxItems":500,"minItems":1,"title":"Asset Ids"}},"additionalProperties":false,"type":"object","required":["asset_ids"],"title":"AssetsSelection"},"Batch":{"properties":{"batch_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"parent_batch_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Parent Batch Id"},"status":{"type":"string","enum":["validating","queued","running","cancelling","succeeded","completed_with_errors","failed","cancelled"],"title":"Status"},"selection_snapshot_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Selection Snapshot Id"},"selection_truncated":{"type":"boolean","title":"Selection Truncated"},"total_items":{"type":"integer","title":"Total Items"},"counters":{"$ref":"#/components/schemas/Counters"},"usage":{"$ref":"#/components/schemas/Usage"},"analysis_profile":{"type":"string","enum":["context_av_v1","context_audio_v1"],"title":"Analysis Profile"},"profile_revision":{"type":"string","title":"Profile Revision"},"safety_policy_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Safety Policy Id"},"policy_revision":{"type":"string","title":"Policy Revision"},"outputs":{"items":{"type":"string","enum":["transcript","context","suitability","opportunities"]},"type":"array","title":"Outputs"},"max_input_seconds":{"type":"integer","title":"Max Input Seconds"},"blocked_reason":{"anyOf":[{"type":"string","const":"connection_action_required"},{"type":"null"}],"title":"Blocked Reason"},"error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"},"started_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Finished At"},"deadline_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Deadline At"},"status_url":{"type":"string","title":"Status Url"}},"additionalProperties":false,"type":"object","required":["batch_id","connection_id","parent_batch_id","status","selection_snapshot_id","selection_truncated","total_items","counters","usage","analysis_profile","profile_revision","safety_policy_id","policy_revision","outputs","max_input_seconds","blocked_reason","error","created_at","started_at","finished_at","deadline_at","status_url"],"title":"Batch"},"BatchItem":{"properties":{"item_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Item Id"},"batch_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"},"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"source_asset_id":{"type":"string","title":"Source Asset Id"},"ordinal":{"type":"integer","title":"Ordinal"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"snapshot_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Snapshot Id"},"status":{"type":"string","enum":["queued","resolving","fetching","analyzing","succeeded","failed","cancelled"],"title":"Status"},"phase":{"type":"string","enum":["preflight","execution"],"title":"Phase"},"attempts":{"type":"integer","title":"Attempts"},"progress_percent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress Percent"},"blocked_reason":{"anyOf":[{"type":"string","const":"connection_action_required"},{"type":"null"}],"title":"Blocked Reason"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"result_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Result Id"},"reused":{"type":"boolean","title":"Reused"},"error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"},"started_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Finished At"}},"additionalProperties":false,"type":"object","required":["item_id","batch_id","asset_id","source_asset_id","ordinal","source_version","snapshot_id","status","phase","attempts","progress_percent","blocked_reason","duration_ms","result_id","reused","error","created_at","started_at","finished_at"],"title":"BatchItem"},"BatchResult":{"properties":{"batch_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Batch Id"},"item_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Item Id"},"ordinal":{"type":"integer","title":"Ordinal"},"reused":{"type":"boolean","title":"Reused"},"result":{"$ref":"#/components/schemas/AnalysisResult"}},"additionalProperties":false,"type":"object","required":["batch_id","item_id","ordinal","reused","result"],"title":"BatchResult"},"Bidder":{"properties":{"bidder_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Bidder Id"},"imp_tag":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Imp Tag"},"floor_micros":{"type":"integer","maximum":1000000000.0,"minimum":0.0,"title":"Floor Micros","default":0},"fee_bps":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Fee Bps","default":0}},"additionalProperties":false,"type":"object","required":["bidder_id"],"title":"Bidder"},"Block":{"properties":{"start":{"type":"number","minimum":0.0,"title":"Start"},"end":{"type":"number","exclusiveMinimum":0.0,"title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"Block"},"BlockIn":{"properties":{"start":{"type":"number","minimum":0.0,"title":"Start"},"end":{"type":"number","exclusiveMinimum":0.0,"title":"End"}},"type":"object","required":["start","end"],"title":"BlockIn"},"Body_upload_v1_vod_assets_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File","description":"MP4 video with H.264 8-bit video and AAC/MP3 audio if present"},"title":{"type":"string","title":"Title","default":"Video"},"ad_free":{"type":"boolean","title":"Ad Free","default":false},"temporary":{"type":"boolean","title":"Temporary","description":"Schedule removal after one hour, including abandoned analyses.","default":false}},"type":"object","required":["file"],"title":"Body_upload_v1_vod_assets_upload_post"},"BreakOut":{"properties":{"break_id":{"type":"string","title":"Break Id"},"start":{"type":"string","title":"Start"},"duration":{"type":"number","title":"Duration"},"status":{"type":"string","title":"Status"},"seconds_to_publish":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds To Publish"}},"type":"object","required":["break_id","start","duration","status"],"title":"BreakOut"},"CampaignV1In":{"properties":{"campaign_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{2,39}$"},{"type":"null"}],"title":"Campaign Id","description":"Optional id (lowercase slug). Generated when omitted."},"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"},"brand_name":{"type":"string","maxLength":60,"minLength":1,"title":"Brand Name"},"categories":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Categories","description":"Context categories (natural language) that trigger the campaign."},"keywords":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Keywords","description":"Targeting keywords written into the break marker."},"external_ids":{"additionalProperties":{"type":"string"},"type":"object","title":"External Ids","description":"Ids in your ad stack, e.g. `{\"springserve\": \"123\"}`."},"brief":{"type":"string","maxLength":2000,"title":"Brief","default":""},"positive_examples":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Positive Examples"},"negative_examples":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Negative Examples"},"safety_rules":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Safety Rules"},"trigger_mode":{"type":"string","enum":["need","topic"],"title":"Trigger Mode","description":"`need`: someone expresses an own need; `topic`: the conversation is about it.","default":"need"},"active":{"type":"boolean","title":"Active","default":true},"start_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start At","description":"Unix seconds"},"end_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"End At","description":"Unix seconds"},"sources":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Sources","description":"Restrict to these source ids (empty = all your sources)."}},"type":"object","required":["name","brand_name","categories"],"title":"CampaignV1In","examples":[{"active":true,"brand_name":"Acme Water","brief":"Bottled water for people who are thirsty or talk about staying hydrated.","campaign_id":"acme-hydration","categories":["bebidas","hidratación"],"external_ids":{"gam_line_item":"987654","springserve":"123456"},"keywords":["water","hydration","sports"],"name":"Acme hydration Q4","negative_examples":["El agua del río estaba helada"],"positive_examples":["Tengo mucha sed"],"safety_rules":["tragedias o accidentes"],"sources":[],"trigger_mode":"need"}]},"CampaignV1Out":{"properties":{"campaign_id":{"type":"string","title":"Campaign Id"},"name":{"type":"string","title":"Name"},"brand_name":{"type":"string","title":"Brand Name"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"},"external_ids":{"additionalProperties":{"type":"string"},"type":"object","title":"External Ids"},"brief":{"type":"string","title":"Brief"},"positive_examples":{"items":{"type":"string"},"type":"array","title":"Positive Examples"},"negative_examples":{"items":{"type":"string"},"type":"array","title":"Negative Examples"},"safety_rules":{"items":{"type":"string"},"type":"array","title":"Safety Rules"},"trigger_mode":{"type":"string","title":"Trigger Mode"},"active":{"type":"boolean","title":"Active"},"start_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start At"},"end_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"End At"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"created_at":{"type":"number","title":"Created At"},"updated_at":{"type":"number","title":"Updated At"}},"type":"object","required":["campaign_id","name","brand_name","categories","keywords","external_ids","brief","positive_examples","negative_examples","safety_rules","trigger_mode","active","sources","created_at","updated_at"],"title":"CampaignV1Out","examples":[{"active":true,"brand_name":"Acme Water","brief":"Bottled water for people who are thirsty or talk about staying hydrated.","campaign_id":"acme-hydration","categories":["bebidas","hidratación"],"created_at":1793635200.0,"external_ids":{"gam_line_item":"987654","springserve":"123456"},"keywords":["water","hydration","sports"],"name":"Acme hydration Q4","negative_examples":["El agua del río estaba helada"],"positive_examples":["Tengo mucha sed"],"safety_rules":["tragedias o accidentes"],"sources":[],"trigger_mode":"need","updated_at":1793635200.0}]},"Caption":{"properties":{"languageCode":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Languagecode"},"closedCaptionFormat":{"anyOf":[{"type":"string","enum":["CLOSED_CAPTION_FORMAT_UNSPECIFIED","TTML","WEB_VTT"]},{"type":"null"}],"title":"Closedcaptionformat"},"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Url"}},"additionalProperties":false,"type":"object","title":"Caption"},"ChannelIn":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"timezone":{"type":"string","maxLength":100,"minLength":1,"title":"Timezone","examples":["America/Argentina/Cordoba"]}},"additionalProperties":false,"type":"object","required":["name","timezone"],"title":"ChannelIn"},"ChannelOut":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"timezone":{"type":"string","maxLength":100,"minLength":1,"title":"Timezone","examples":["America/Argentina/Cordoba"]},"channel_id":{"type":"string","title":"Channel Id"}},"additionalProperties":false,"type":"object","required":["name","timezone","channel_id"],"title":"ChannelOut"},"CommercePolicy":{"properties":{"contextual_tag":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}],"title":"Contextual Tag"},"preroll_tag":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}],"title":"Preroll Tag"},"midroll_tag":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}],"title":"Midroll Tag"}},"additionalProperties":false,"type":"object","title":"CommercePolicy"},"Condition":{"properties":{"field":{"type":"string","enum":["iab_category","topic","confidence","channel_id","position","duration_seconds","local_hour","mode","platform","language","country","format","cue_seconds"],"title":"Field"},"operator":{"type":"string","enum":["eq","ne","in","between","gt","gte","lt","lte"],"title":"Operator"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"items":{"anyOf":[{"type":"string"},{"type":"number"}]},"type":"array"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","operator","value"],"title":"Condition"},"ConditionGroup":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Id"},"match":{"type":"string","enum":["all","any"],"title":"Match","default":"all"},"conditions":{"items":{"$ref":"#/components/schemas/Condition"},"type":"array","maxItems":16,"title":"Conditions"}},"additionalProperties":false,"type":"object","required":["id"],"title":"ConditionGroup"},"ConnectionAkamai":{"properties":{"provider":{"type":"string","const":"akamai","title":"Provider"},"config":{"$ref":"#/components/schemas/AkamaiConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionAkamai"},"ConnectionFastly":{"properties":{"provider":{"type":"string","const":"fastly","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionFastly"},"ConnectionFastlyS3":{"properties":{"provider":{"type":"string","const":"fastly_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyS3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionFastlyS3"},"ConnectionGcs":{"properties":{"provider":{"type":"string","const":"gcs","title":"Provider"},"config":{"$ref":"#/components/schemas/GcsConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionGcs"},"ConnectionGeneric":{"properties":{"provider":{"type":"string","const":"generic","title":"Provider"},"config":{"$ref":"#/components/schemas/GenericConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionGeneric"},"ConnectionIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":1024,"minLength":1,"format":"password","title":"Password","writeOnly":true},"account_id":{"type":"string","pattern":"^[0-9]{1,20}$","title":"Account Id"},"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["email","password","account_id"],"title":"ConnectionIn"},"ConnectionJw":{"properties":{"provider":{"type":"string","const":"jwplayer","title":"Provider"},"config":{"$ref":"#/components/schemas/JwConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionJw"},"ConnectionOut":{"properties":{"provider":{"type":"string","enum":["gam","springserve","iadserver"],"title":"Provider"},"connection_status":{"type":"string","enum":["connected","disconnected"],"title":"Connection Status"},"connection_id":{"type":"string","title":"Connection Id"},"connection_name":{"type":"string","title":"Connection Name"},"remote_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remote Account"},"capabilities":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__Capabilities"}},"type":"object","required":["provider","connection_status","connection_id","connection_name","remote_account","capabilities"],"title":"ConnectionOut"},"ConnectionS3":{"properties":{"provider":{"type":"string","const":"aws_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/S3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/backend__content__contracts__Capabilities"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"last_error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["provider","config","name","connection_id","revision","status","capabilities","created_at","updated_at","last_error"],"title":"ConnectionS3"},"ConnectionSetup":{"properties":{"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"provider":{"type":"string","enum":["jwplayer","aws_s3","gcs","generic","akamai","fastly","fastly_s3"],"title":"Provider"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"runtime_principal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtime Principal"},"required_steps":{"items":{"type":"string"},"type":"array","title":"Required Steps"},"policy_documents":{"items":{"$ref":"#/components/schemas/PolicyDocument"},"type":"array","title":"Policy Documents"}},"additionalProperties":false,"type":"object","required":["connection_id","provider","external_id","runtime_principal","required_steps","policy_documents"],"title":"ConnectionSetup"},"ConnectionValidation":{"properties":{"validation_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Validation Id"},"target_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Target Id"},"target_revision":{"type":"integer","minimum":1.0,"title":"Target Revision"},"status":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"Status"},"checks":{"items":{"$ref":"#/components/schemas/ValidationCheck"},"type":"array","title":"Checks"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"},"target_type":{"type":"string","const":"connection","title":"Target Type"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"connection_revision":{"type":"integer","minimum":1.0,"title":"Connection Revision"}},"additionalProperties":false,"type":"object","required":["validation_id","target_id","target_revision","status","checks","started_at","finished_at","target_type","connection_id","connection_revision"],"title":"ConnectionValidation"},"Counters":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"active":{"type":"integer","title":"Active","default":0},"succeeded":{"type":"integer","title":"Succeeded","default":0},"failed":{"type":"integer","title":"Failed","default":0},"cancelled":{"type":"integer","title":"Cancelled","default":0},"reused":{"type":"integer","title":"Reused","default":0}},"additionalProperties":false,"type":"object","title":"Counters"},"Coverage":{"properties":{"audio":{"type":"string","enum":["complete","sampled","partial","not_analyzed","not_present"],"title":"Audio"},"video":{"type":"string","enum":["complete","sampled","partial","not_analyzed","not_present"],"title":"Video"},"video_sample_interval_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Sample Interval Ms"},"analyzed_ranges":{"items":{"$ref":"#/components/schemas/Span"},"type":"array","title":"Analyzed Ranges"},"missing_ranges":{"items":{"$ref":"#/components/schemas/MissingSpan"},"type":"array","title":"Missing Ranges"}},"additionalProperties":false,"type":"object","required":["audio","video","video_sample_interval_ms","analyzed_ranges","missing_ranges"],"title":"Coverage"},"CreateAkamaiEdgegrid":{"properties":{"kind":{"type":"string","const":"akamai_edgegrid","title":"Kind"},"payload":{"$ref":"#/components/schemas/AkamaiEdgegridPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateAkamaiEdgegrid"},"CreateAkamaiNetstorage":{"properties":{"kind":{"type":"string","const":"akamai_netstorage","title":"Kind"},"payload":{"$ref":"#/components/schemas/AkamaiNetstoragePayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateAkamaiNetstorage"},"CreateBatch":{"properties":{"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"selection":{"anyOf":[{"$ref":"#/components/schemas/AssetsSelection"},{"$ref":"#/components/schemas/QuerySelection"},{"$ref":"#/components/schemas/WindowSelection"}],"title":"Selection"},"analysis_profile":{"type":"string","enum":["context_av_v1","context_audio_v1"],"title":"Analysis Profile"},"safety_policy_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Safety Policy Id"},"outputs":{"items":{"type":"string","enum":["transcript","context","suitability","opportunities"]},"type":"array","maxItems":4,"minItems":1,"title":"Outputs","default":["transcript","context","suitability","opportunities"]},"max_input_seconds":{"type":"integer","maximum":604800.0,"minimum":1.0,"title":"Max Input Seconds"},"webhook_endpoint_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Webhook Endpoint Id"}},"additionalProperties":false,"type":"object","required":["connection_id","selection","analysis_profile","safety_policy_id","max_input_seconds"],"title":"CreateBatch"},"CreateConnectionAkamai":{"properties":{"provider":{"type":"string","const":"akamai","title":"Provider"},"config":{"$ref":"#/components/schemas/AkamaiConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["provider","config","name"],"title":"CreateConnectionAkamai"},"CreateConnectionFastly":{"properties":{"provider":{"type":"string","const":"fastly","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["provider","config","name"],"title":"CreateConnectionFastly"},"CreateConnectionFastlyS3":{"properties":{"provider":{"type":"string","const":"fastly_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyS3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref"],"title":"CreateConnectionFastlyS3"},"CreateConnectionGcs":{"properties":{"provider":{"type":"string","const":"gcs","title":"Provider"},"config":{"$ref":"#/components/schemas/GcsConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["provider","config","name"],"title":"CreateConnectionGcs"},"CreateConnectionGeneric":{"properties":{"provider":{"type":"string","const":"generic","title":"Provider"},"config":{"$ref":"#/components/schemas/GenericConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["provider","config","name"],"title":"CreateConnectionGeneric"},"CreateConnectionJw":{"properties":{"provider":{"type":"string","const":"jwplayer","title":"Provider"},"config":{"$ref":"#/components/schemas/JwConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref"],"title":"CreateConnectionJw"},"CreateConnectionS3":{"properties":{"provider":{"type":"string","const":"aws_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/S3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["provider","config","name"],"title":"CreateConnectionS3"},"CreateExport":{"properties":{"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"result_ids":{"items":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},"type":"array","maxItems":500,"minItems":1,"title":"Result Ids"},"dry_run":{"type":"boolean","title":"Dry Run","default":true},"metadata_base_revisions":{"patternProperties":{"^[a-z]+_[A-Za-z0-9_-]{8,64}$":{"type":"string","maxLength":2048,"minLength":1}},"type":"object","title":"Metadata Base Revisions"}},"additionalProperties":false,"type":"object","required":["integration_id","result_ids","metadata_base_revisions"],"title":"CreateExport"},"CreateFastlyManagement":{"properties":{"kind":{"type":"string","const":"fastly_management","title":"Kind"},"payload":{"$ref":"#/components/schemas/FastlyManagementPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateFastlyManagement"},"CreateFastlyS3":{"properties":{"kind":{"type":"string","const":"fastly_s3","title":"Kind"},"payload":{"$ref":"#/components/schemas/FastlyS3Payload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateFastlyS3"},"CreateHttpBasic":{"properties":{"kind":{"type":"string","const":"http_basic","title":"Kind"},"payload":{"$ref":"#/components/schemas/HttpBasicPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateHttpBasic"},"CreateHttpBearer":{"properties":{"kind":{"type":"string","const":"http_bearer","title":"Kind"},"payload":{"$ref":"#/components/schemas/HttpBearerPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateHttpBearer"},"CreateIn":{"properties":{"brand_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","title":"Brand Id","description":"The brand this policy is for, as your campaigns name it."},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"policy":{"$ref":"#/components/schemas/PolicyBody"}},"additionalProperties":false,"type":"object","required":["brand_id","name","policy"],"title":"CreateIn"},"CreateJwplayerDelivery":{"properties":{"kind":{"type":"string","const":"jwplayer_delivery","title":"Kind"},"payload":{"$ref":"#/components/schemas/JwplayerDeliveryPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateJwplayerDelivery"},"CreateJwplayerManagement":{"properties":{"kind":{"type":"string","const":"jwplayer_management","title":"Kind"},"payload":{"$ref":"#/components/schemas/JwplayerManagementPayload"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","payload","name"],"title":"CreateJwplayerManagement"},"CreateWebhook":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"events":{"items":{"type":"string","enum":["batch.completed","batch.completed_with_errors","batch.failed","batch.cancelled","connection.action_required","export.completed","export.failed"]},"type":"array","maxItems":7,"minItems":1,"title":"Events"},"signing_secret":{"type":"string","format":"password","title":"Signing Secret","writeOnly":true}},"additionalProperties":false,"type":"object","required":["url","name","events","signing_secret"],"title":"CreateWebhook"},"Credential":{"properties":{"credential_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"kind":{"type":"string","enum":["jwplayer_management","jwplayer_delivery","http_bearer","http_basic","akamai_edgegrid","akamai_netstorage","fastly_management","fastly_s3"],"title":"Kind"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["active","revoked"],"title":"Status"},"created_at":{"type":"string","title":"Created At"},"rotated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rotated At"}},"additionalProperties":false,"type":"object","required":["credential_id","name","kind","revision","status","created_at","rotated_at"],"title":"Credential"},"CueIn":{"properties":{"cue_seconds":{"type":"number","minimum":0.0,"title":"Cue Seconds"}},"additionalProperties":false,"type":"object","required":["cue_seconds"],"title":"CueIn"},"CueOut":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"},"playback_id":{"type":"string","title":"Playback Id"},"cue_seconds":{"type":"number","title":"Cue Seconds"},"status":{"type":"string","title":"Status"},"context":{"$ref":"#/components/schemas/MatchDecision"}},"type":"object","required":["opportunity_id","playback_id","cue_seconds","status","context"],"title":"CueOut"},"CutIn":{"properties":{"session_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Session Id"},"asset_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Asset Id"},"asset_version":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Asset Version"},"external_content_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"External Content Id"},"cue_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cue Seconds"},"stream_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Stream Id"},"epoch":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Epoch"},"break_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Break Id"},"channel_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Channel Id"},"position":{"anyOf":[{"type":"string","enum":["preroll","midroll","postroll"]},{"type":"null"}],"title":"Position"},"duration_seconds":{"type":"number","maximum":600.0,"minimum":1.0,"title":"Duration Seconds","default":30},"slot":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Slot","default":0},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"additionalProperties":false,"type":"object","title":"CutIn"},"Dai":{"properties":{"videoIngestUrlInfo":{"anyOf":[{"$ref":"#/components/schemas/VideoIngest"},{"type":"null"}]},"mediaUpdateTime":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Mediaupdatetime"},"closedCaptionUrlInfo":{"anyOf":[{"items":{"$ref":"#/components/schemas/Caption"},"type":"array"},{"type":"null"}],"title":"Closedcaptionurlinfo"},"fwCaid":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Fwcaid"}},"additionalProperties":false,"type":"object","title":"Dai"},"Data_AnalysisProfile_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AnalysisProfile"},"type":"array","title":"Data"}},"additionalProperties":false,"type":"object","required":["data"],"title":"Data[AnalysisProfile]"},"Data_SafetyPolicy_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SafetyPolicy"},"type":"array","title":"Data"}},"additionalProperties":false,"type":"object","required":["data"],"title":"Data[SafetyPolicy]"},"DeletedOut":{"properties":{"deleted":{"type":"boolean","title":"Deleted"},"deactivated":{"type":"boolean","title":"Deactivated","default":false}},"type":"object","required":["deleted"],"title":"DeletedOut"},"Destination":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Id"},"provider":{"type":"string","enum":["gam","iadserver","springserve"],"title":"Provider"},"connection_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Connection Id"},"ad_profile_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Ad Profile Id"},"inventory_id":{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_./:-]+$","title":"Inventory Id"},"modes":{"items":{"type":"string","enum":["client_vast","sdk","ssai","ssai_signals"]},"type":"array","maxItems":4,"minItems":1,"title":"Modes"},"formats":{"items":{"type":"string","enum":["linear","nonlinear","companion","super","l_shape","squeeze_back","interactive"]},"type":"array","maxItems":7,"minItems":1,"title":"Formats"},"commercial":{"type":"string","enum":["direct","open"],"title":"Commercial","default":"open"},"allow_unclassified":{"type":"boolean","title":"Allow Unclassified","default":false},"reciprocal_exclusion":{"type":"boolean","title":"Reciprocal Exclusion","default":false},"enforces_duration":{"type":"boolean","title":"Enforces Duration","default":false},"enforces_brand_safety":{"type":"boolean","title":"Enforces Brand Safety","default":false},"linear_fallback":{"type":"boolean","title":"Linear Fallback","default":false},"vast_certified":{"type":"boolean","title":"Vast Certified","default":false},"vast_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Vast Url"},"vast_hosts":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Vast Hosts"},"openrtb":{"anyOf":[{"$ref":"#/components/schemas/Bidder"},{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Openrtb"},"commitment_line_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_./:-]+$"},{"type":"null"}],"title":"Commitment Line Id"},"initial_cpm_micros":{"anyOf":[{"type":"integer","maximum":1000000000.0,"minimum":0.0},{"type":"null"}],"title":"Initial Cpm Micros"},"initial_fill_bps":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Initial Fill Bps"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Currency"}},"additionalProperties":false,"type":"object","required":["id","provider","connection_id","ad_profile_id","inventory_id"],"title":"Destination"},"DraftIn":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"policy":{"$ref":"#/components/schemas/Policy"}},"additionalProperties":false,"type":"object","required":["expected_revision","policy"],"title":"DraftIn"},"Empty":{"properties":{},"additionalProperties":false,"type":"object","title":"Empty"},"EngineModel":{"properties":{"role":{"type":"string","title":"Role"},"provider":{"type":"string","title":"Provider"},"model":{"type":"string","title":"Model"},"revision":{"type":"string","title":"Revision"}},"additionalProperties":false,"type":"object","required":["role","provider","model","revision"],"title":"EngineModel"},"EventOut":{"properties":{"id":{"type":"string","title":"Id"},"seq":{"type":"integer","title":"Seq"},"type":{"type":"string","title":"Type","description":"brand_safety.hold, break.announced, break.decided, break.signal, opportunity.detected, source.error, source.status, super.cancelled, super.scheduled, vod.scan.completed, vod.scan.failed, vod.scan.progress, vod.scan.started"},"created_at":{"type":"string","title":"Created At"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"break_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Break Id"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["id","seq","type","created_at","data"],"title":"EventOut","examples":[{"break_id":"brk-src-0123456789abcdef-0-auto-1793635230","campaign_id":"acme-hydration","created_at":"2026-11-04T16:00:20.000Z","data":{"campaigns":["acme-hydration"],"external_ids":"springserve:123456","keywords":["water","hydration"],"safety":{"status":"ok"},"scenario":"context","score":0.92},"id":"evt-1a2b3c4d5e6f","seq":1042,"source_id":"src-0123456789abcdef","type":"break.signal"}]},"EventPage":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventOut"},"type":"array","title":"Events"},"next_since":{"type":"integer","title":"Next Since","description":"Pass as `since` to continue, even if this page contains no events."}},"type":"object","required":["events","next_since"],"title":"EventPage","examples":[{"events":[{"break_id":"brk-src-0123456789abcdef-0-auto-1793635230","campaign_id":"acme-hydration","created_at":"2026-11-04T16:00:20.000Z","data":{"campaigns":["acme-hydration"],"external_ids":"springserve:123456","keywords":["water","hydration"],"safety":{"status":"ok"},"scenario":"context","score":0.92},"id":"evt-1a2b3c4d5e6f","seq":1042,"source_id":"src-0123456789abcdef","type":"break.signal"}],"next_since":1042}]},"ExportItem":{"properties":{"export_item_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Export Item Id"},"result_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Result Id"},"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"status":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"Status"},"payload":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/VideoPayload"},{"$ref":"#/components/schemas/MrssPayload"},{"$ref":"#/components/schemas/SignalsPayload"}],"discriminator":{"propertyName":"mode","mapping":{"ad_request_signals":"#/components/schemas/SignalsPayload","mrss":"#/components/schemas/MrssPayload","video_api":"#/components/schemas/VideoPayload"}}},{"type":"null"}],"title":"Payload"},"payload_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Hash"},"delivery_status":{"type":"string","enum":["not_sent","accepted","unknown"],"title":"Delivery Status"},"error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["export_item_id","result_id","asset_id","status","payload","payload_hash","delivery_status","error"],"title":"ExportItem"},"ExportJob":{"properties":{"export_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Export Id"},"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"dry_run":{"type":"boolean","title":"Dry Run"},"status":{"type":"string","enum":["queued","running","succeeded","completed_with_errors","failed"],"title":"Status"},"total_items":{"type":"integer","title":"Total Items"},"succeeded":{"type":"integer","title":"Succeeded"},"failed":{"type":"integer","title":"Failed"},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"}},"additionalProperties":false,"type":"object","required":["export_id","integration_id","dry_run","status","total_items","succeeded","failed","created_at"],"title":"ExportJob"},"FastBreak":{"properties":{"break_id":{"type":"string","maxLength":80,"minLength":1,"title":"Break Id"},"start_at":{"type":"string","format":"date-time","title":"Start At"},"content_offset_seconds":{"type":"number","minimum":0.0,"title":"Content Offset Seconds"},"asset_version":{"type":"string","maxLength":128,"minLength":1,"title":"Asset Version"},"duration_seconds":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Duration Seconds"},"scte35_cue_out":{"type":"string","maxLength":4096,"minLength":8,"title":"Scte35 Cue Out"}},"additionalProperties":false,"type":"object","required":["break_id","start_at","content_offset_seconds","asset_version","duration_seconds","scte35_cue_out"],"title":"FastBreak"},"FastlyConfig":{"properties":{"feed_connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Feed Connection Id"},"delivery_resolver_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Delivery Resolver Ref"},"management_credential_ref":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Management Credential Ref"},"service_id":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Service Id"}},"additionalProperties":false,"type":"object","required":["feed_connection_id","delivery_resolver_ref"],"title":"FastlyConfig"},"FastlyManagementPayload":{"properties":{"token":{"type":"string","format":"password","title":"Token","writeOnly":true}},"additionalProperties":false,"type":"object","required":["token"],"title":"FastlyManagementPayload"},"FastlyS3Config":{"properties":{"bucket":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,220}[a-z0-9]$","title":"Bucket"},"prefixes":{"items":{"type":"string","maxLength":2048,"minLength":1},"type":"array","maxItems":20,"minItems":1,"title":"Prefixes"},"asset_discovery":{"type":"string","enum":["manifest","mp4_objects"],"title":"Asset Discovery"},"manifest_locator":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Manifest Locator"},"endpoint":{"type":"string","maxLength":2048,"minLength":1,"title":"Endpoint"},"region":{"type":"string","maxLength":40,"pattern":"^[a-z0-9]{2,5}(?:-[a-z0-9]+){1,5}-[0-9]+$","title":"Region"}},"additionalProperties":false,"type":"object","required":["bucket","prefixes","asset_discovery","endpoint","region"],"title":"FastlyS3Config"},"FastlyS3Payload":{"properties":{"access_key_id":{"type":"string","format":"password","title":"Access Key Id","writeOnly":true},"secret_access_key":{"type":"string","format":"password","title":"Secret Access Key","writeOnly":true}},"additionalProperties":false,"type":"object","required":["access_key_id","secret_access_key"],"title":"FastlyS3Payload"},"FeedCatalog":{"properties":{"mode":{"type":"string","const":"feed","title":"Mode"},"feed_connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Feed Connection Id"}},"additionalProperties":false,"type":"object","required":["mode","feed_connection_id"],"title":"FeedCatalog"},"GamCapabilities":{"properties":{"video_api_write":{"type":"boolean","title":"Video Api Write"},"metadata_readback":{"type":"boolean","const":false,"title":"Metadata Readback"},"mrss":{"type":"boolean","title":"Mrss"}},"additionalProperties":false,"type":"object","required":["video_api_write","metadata_readback","mrss"],"title":"GamCapabilities"},"GamIn":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","default":"Predeterminado"},"enabled":{"type":"boolean","title":"Enabled","default":true},"match_lead_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Match Lead Seconds","default":900},"ad_unit_id":{"anyOf":[{"type":"string","maxLength":30,"pattern":"^\\d+$"},{"type":"null"}],"title":"Ad Unit Id"},"tag_url":{"type":"string","maxLength":4096,"title":"Tag Url"},"network_code":{"type":"string","maxLength":30,"pattern":"^\\d+$","title":"Network Code"},"ad_unit":{"type":"string","maxLength":500,"minLength":1,"pattern":"^[A-Za-z0-9_./-]+$","title":"Ad Unit"},"links":{"items":{"$ref":"#/components/schemas/LinkIn"},"type":"array","maxItems":50,"title":"Links"},"publisher_blocks":{"items":{"$ref":"#/components/schemas/BlockIn"},"type":"array","maxItems":100,"title":"Publisher Blocks"}},"type":"object","required":["tag_url","network_code","ad_unit"],"title":"GamIn"},"GamLocal":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"anyOf":[{"type":"string","pattern":"^[0-9]{1,32}$"},{"type":"null"}],"title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"local","title":"Auth Mode"},"export_mode":{"type":"string","enum":["ad_request_signals","mrss"],"title":"Export Mode"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","metadata_owner","owned_keys","auth_mode","export_mode"],"title":"GamLocal"},"GamLocalIntegration":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"anyOf":[{"type":"string","pattern":"^[0-9]{1,32}$"},{"type":"null"}],"title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"local","title":"Auth Mode"},"export_mode":{"type":"string","enum":["ad_request_signals","mrss"],"title":"Export Mode"},"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/GamCapabilities"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","metadata_owner","owned_keys","auth_mode","export_mode","integration_id","revision","status","capabilities"],"title":"GamLocalIntegration"},"GamOAuth":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"oauth_user","title":"Auth Mode"},"export_mode":{"type":"string","enum":["ad_request_signals","mrss"],"title":"Export Mode"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","cms_id","metadata_owner","owned_keys","auth_mode","export_mode","credential_ref"],"title":"GamOAuth"},"GamOAuthIntegration":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"oauth_user","title":"Auth Mode"},"export_mode":{"type":"string","enum":["ad_request_signals","mrss"],"title":"Export Mode"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"},"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/GamCapabilities"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","cms_id","metadata_owner","owned_keys","auth_mode","export_mode","credential_ref","integration_id","revision","status","capabilities"],"title":"GamOAuthIntegration"},"GamServiceAccount":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"runtime_service_account","title":"Auth Mode"},"export_mode":{"type":"string","const":"video_api","title":"Export Mode"},"identity_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Identity Ref"},"writer_binding_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Writer Binding Ref"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","cms_id","metadata_owner","owned_keys","auth_mode","export_mode","identity_ref","writer_binding_ref"],"title":"GamServiceAccount"},"GamServiceAccountIntegration":{"properties":{"type":{"type":"string","const":"gam","title":"Type"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"network_code":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Network Code"},"cms_id":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Cms Id"},"metadata_owner":{"type":"string","enum":["publisher_snapshot","il_owned_source"],"title":"Metadata Owner"},"owned_keys":{"items":{"type":"string","enum":["il_topic","il_suitability"]},"type":"array","maxItems":2,"minItems":1,"title":"Owned Keys"},"auth_mode":{"type":"string","const":"runtime_service_account","title":"Auth Mode"},"export_mode":{"type":"string","const":"video_api","title":"Export Mode"},"identity_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Identity Ref"},"writer_binding_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Writer Binding Ref"},"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"status":{"type":"string","enum":["needs_validation","ready","action_required","disabled"],"title":"Status"},"capabilities":{"$ref":"#/components/schemas/GamCapabilities"}},"additionalProperties":false,"type":"object","required":["type","name","network_code","cms_id","metadata_owner","owned_keys","auth_mode","export_mode","identity_ref","writer_binding_ref","integration_id","revision","status","capabilities"],"title":"GamServiceAccountIntegration"},"GcsConfig":{"properties":{"bucket":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,220}[a-z0-9]$","title":"Bucket"},"prefixes":{"items":{"type":"string","maxLength":2048,"minLength":1},"type":"array","maxItems":20,"minItems":1,"title":"Prefixes"},"asset_discovery":{"type":"string","enum":["manifest","mp4_objects"],"title":"Asset Discovery"},"manifest_locator":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Manifest Locator"},"project_number":{"type":"string","pattern":"^[0-9]{1,32}$","title":"Project Number"},"federation_binding_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Federation Binding Ref"},"service_account_email":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Service Account Email"},"delivery":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Origin"},{"$ref":"#/components/schemas/ResolverDelivery"}],"discriminator":{"propertyName":"mode","mapping":{"origin":"#/components/schemas/Origin","resolver":"#/components/schemas/ResolverDelivery"}}},{"type":"null"}],"title":"Delivery"}},"additionalProperties":false,"type":"object","required":["bucket","prefixes","asset_discovery","project_number","federation_binding_ref"],"title":"GcsConfig"},"GenerateIn":{"properties":{"expected_revision":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Revision","description":"Optional: generate only this revision."},"force":{"type":"boolean","title":"Force","description":"Replace files edited by hand or generated for another project. A dated copy of each is kept.","default":false}},"additionalProperties":false,"type":"object","title":"GenerateIn"},"GenericConfig":{"properties":{"catalog_mode":{"type":"string","enum":["push","json_feed","mrss"],"title":"Catalog Mode"},"feed_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Feed Url"},"feed_credential_ref":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Feed Credential Ref"},"allowed_media_hosts":{"items":{"type":"string","maxLength":253,"pattern":"^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?)+$"},"type":"array","maxItems":50,"minItems":1,"title":"Allowed Media Hosts"},"resolver_ref":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Resolver Ref"}},"additionalProperties":false,"type":"object","required":["catalog_mode","allowed_media_hosts"],"title":"GenericConfig"},"Gracenote":{"properties":{"gracenoteId":{"type":"string","pattern":"^(EP|MV|SP)[a-zA-Z0-9]+$","title":"Gracenoteid"},"gracenoteSeriesId":{"anyOf":[{"type":"string","pattern":"^SH[a-zA-Z0-9]+$"},{"type":"null"}],"title":"Gracenoteseriesid"}},"additionalProperties":false,"type":"object","required":["gracenoteId"],"title":"Gracenote"},"GraphicCampaign":{"properties":{"provider":{"type":"string","const":"gam","title":"Provider"},"format":{"type":"string","enum":["super","l_shape"],"title":"Format"},"tag_url":{"type":"string","title":"Tag Url"}},"type":"object","required":["provider","format","tag_url"],"title":"GraphicCampaign"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HttpBasicPayload":{"properties":{"username":{"type":"string","format":"password","title":"Username","writeOnly":true},"password":{"type":"string","format":"password","title":"Password","writeOnly":true}},"additionalProperties":false,"type":"object","required":["username","password"],"title":"HttpBasicPayload"},"HttpBearerPayload":{"properties":{"token":{"type":"string","format":"password","title":"Token","writeOnly":true}},"additionalProperties":false,"type":"object","required":["token"],"title":"HttpBearerPayload"},"IadServerProfileIn":{"properties":{"ad_unit_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Ad Unit Id"},"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","default":"iADServer"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"additionalProperties":false,"type":"object","required":["ad_unit_id"],"title":"IadServerProfileIn"},"ImportAsset":{"properties":{"source_asset_id":{"type":"string","maxLength":512,"minLength":1,"title":"Source Asset Id"},"title":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Title"},"language":{"anyOf":[{"type":"string","maxLength":64,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},{"type":"null"}],"title":"Language"},"media_kind":{"type":"string","enum":["vod","recording","live_channel"],"title":"Media Kind"},"tags":{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","maxItems":100,"title":"Tags"},"duration_ms":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration Ms"},"source":{"$ref":"#/components/schemas/ImportSource"},"source_metadata":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","title":"Source Metadata"},"deleted":{"type":"boolean","title":"Deleted","default":false}},"additionalProperties":false,"type":"object","required":["source_asset_id","title","language","media_kind","tags","duration_ms","source"],"title":"ImportAsset"},"ImportAssets":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ImportAsset"},"type":"array","maxItems":500,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"ImportAssets"},"ImportReceipt":{"properties":{"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"created":{"type":"integer","title":"Created"},"updated":{"type":"integer","title":"Updated"},"deleted":{"type":"integer","title":"Deleted"},"assets":{"items":{"$ref":"#/components/schemas/ImportedAsset"},"type":"array","title":"Assets"}},"additionalProperties":false,"type":"object","required":["connection_id","created","updated","deleted","assets"],"title":"ImportReceipt"},"ImportSource":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"version_hint":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Version Hint"},"resolver_ref":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Resolver Ref"}},"additionalProperties":false,"type":"object","required":["url"],"title":"ImportSource"},"ImportedAsset":{"properties":{"source_asset_id":{"type":"string","maxLength":512,"minLength":1,"title":"Source Asset Id"},"asset_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Asset Id"},"metadata_revision":{"type":"integer","minimum":1.0,"title":"Metadata Revision"}},"additionalProperties":false,"type":"object","required":["source_asset_id","asset_id","metadata_revision"],"title":"ImportedAsset"},"IntegrationValidation":{"properties":{"validation_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Validation Id"},"target_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Target Id"},"target_revision":{"type":"integer","minimum":1.0,"title":"Target Revision"},"status":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"Status"},"checks":{"items":{"$ref":"#/components/schemas/ValidationCheck"},"type":"array","title":"Checks"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"},"target_type":{"type":"string","const":"integration","title":"Target Type"}},"additionalProperties":false,"type":"object","required":["validation_id","target_id","target_revision","status","checks","started_at","finished_at","target_type"],"title":"IntegrationValidation"},"Interval":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"}},"type":"object","required":["start","end"],"title":"Interval"},"JsonValue":{},"JwConfig":{"properties":{"site_id":{"type":"string","pattern":"^[A-Za-z0-9]{8}$","title":"Site Id"},"delivery_credential_ref":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Delivery Credential Ref"},"rendition_policy":{"type":"string","enum":["analysis_proxy","original_required"],"title":"Rendition Policy","default":"analysis_proxy"},"allowed_media_hosts":{"items":{"type":"string","maxLength":253,"pattern":"^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?)+$"},"type":"array","maxItems":50,"minItems":1,"title":"Allowed Media Hosts"}},"additionalProperties":false,"type":"object","required":["site_id","allowed_media_hosts"],"title":"JwConfig"},"JwplayerDeliveryPayload":{"properties":{"signing_secret":{"type":"string","format":"password","title":"Signing Secret","writeOnly":true}},"additionalProperties":false,"type":"object","required":["signing_secret"],"title":"JwplayerDeliveryPayload"},"JwplayerManagementPayload":{"properties":{"api_secret":{"type":"string","format":"password","title":"Api Secret","writeOnly":true}},"additionalProperties":false,"type":"object","required":["api_secret"],"title":"JwplayerManagementPayload"},"KeyOut":{"properties":{"key_id":{"type":"string","title":"Key Id"},"name":{"type":"string","title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret_set":{"type":"boolean","title":"Webhook Secret Set","default":false},"created_at":{"type":"number","title":"Created At"},"revoked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revoked At"},"last_used_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["key_id","name","scopes","created_at"],"title":"KeyOut"},"Level":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Id"},"strategy":{"type":"string","enum":["fixed","weighted","revenue","auction"],"title":"Strategy"},"destinations":{"items":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},"type":"array","maxItems":40,"minItems":1,"title":"Destinations"},"weights":{"patternProperties":{"^[A-Za-z0-9_-]+$":{"type":"integer"}},"propertyNames":{"maxLength":80,"minLength":1},"type":"object","maxProperties":40,"title":"Weights"},"optimize":{"type":"boolean","title":"Optimize","default":false},"control_pct":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Control Pct","default":0}},"additionalProperties":false,"type":"object","required":["id","strategy","destinations"],"title":"Level"},"LinePacingIn":{"properties":{"line_id":{"type":"string","pattern":"^[a-zA-Z0-9_./:-]{1,160}$","title":"Line Id"},"start_at":{"type":"number","minimum":0.0,"title":"Start At"},"end_at":{"type":"number","exclusiveMinimum":0.0,"title":"End At"},"target":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Target"},"confirmed":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Confirmed"},"observed_at":{"type":"number","minimum":0.0,"title":"Observed At"},"expires_at":{"type":"number","exclusiveMinimum":0.0,"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["line_id","start_at","end_at","target","confirmed","observed_at","expires_at"],"title":"LinePacingIn"},"Link":{"properties":{"campaign_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Campaign Id"},"springserve_campaign_id":{"type":"string","pattern":"^[0-9]{1,20}$","title":"Springserve Campaign Id"},"demand_tag_ids":{"items":{"type":"string","pattern":"^[0-9]{1,20}$"},"type":"array","maxItems":50,"minItems":1,"title":"Demand Tag Ids"}},"additionalProperties":false,"type":"object","required":["campaign_id","springserve_campaign_id","demand_tag_ids"],"title":"Link"},"LinkIn":{"properties":{"campaign_id":{"type":"string","maxLength":100,"title":"Campaign Id"},"line_item_id":{"type":"string","maxLength":30,"pattern":"^\\d+$","title":"Line Item Id"},"creative_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Creative Ids"}},"type":"object","required":["campaign_id","line_item_id","creative_ids"],"title":"LinkIn"},"LiveConfig":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Title","description":"Name the console shows the live contents with; without it, «Live»."},"profile":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$","title":"Profile","description":"iADServer profile of the live tag (the profile id of the console request)."},"ad_units":{"items":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"type":"array","maxItems":50,"title":"Ad Units","description":"Ad units of the live tag: only their lines are asked about. Empty: every unit."},"origin_hosts":{"items":{"type":"string","maxLength":253,"pattern":"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+$"},"type":"array","maxItems":50,"minItems":1,"title":"Origin Hosts","description":"Public hosts the origin URLs may use."},"ad_break_classes":{"items":{"type":"string","pattern":"^[A-Za-z0-9_.:/-]{1,120}$"},"type":"array","maxItems":20,"title":"Ad Break Classes","description":"Extra DATERANGE classes the origin uses for ad breaks."},"snapshot":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,80}\\.json$","title":"Snapshot","description":"Opportunities file the analyzer writes and the console and gateway read, in the project's live folder.","default":"cues.json"},"public_prefix":{"anyOf":[{"type":"string","maxLength":120,"pattern":"^/[a-z0-9/-]+$"},{"type":"null"}],"title":"Public Prefix","description":"Path under which a proxy serves the gateway."},"commerce_feed_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Commerce Feed Url","description":"iADServer commerce cue URL of the live tag (https on an iADServer host, no query)."},"signals":{"items":{"$ref":"#/components/schemas/Signal"},"type":"array","maxItems":20,"minItems":1,"title":"Signals"}},"additionalProperties":false,"type":"object","required":["profile","origin_hosts","signals"],"title":"LiveConfig"},"LiveWindow":{"properties":{"channel_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Channel Id"},"start_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Start At"},"end_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"End At"}},"additionalProperties":false,"type":"object","required":["channel_id","start_at","end_at"],"title":"LiveWindow"},"MatchDecision":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"type":"string","title":"Reason"},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"}},"type":"object","required":["eligible","reason"],"title":"MatchDecision"},"MatchOut":{"properties":{"provider":{"type":"string","enum":["gam","springserve","iadserver"],"title":"Provider","default":"gam"},"ad_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Profile Id","default":"default"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","default":"default"},"match_id":{"type":"string","title":"Match Id"},"asset_id":{"type":"string","title":"Asset Id"},"analysis_id":{"type":"string","title":"Analysis Id"},"version":{"type":"string","title":"Version"},"channel_id":{"type":"string","title":"Channel Id"},"gam_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gam Profile Id"},"planned_start_at":{"type":"string","format":"date-time","title":"Planned Start At"},"airing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Airing Id"},"due_at":{"type":"string","format":"date-time","title":"Due At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"status":{"type":"string","enum":["queued","running","done","failed","cancelled"],"title":"Status"},"result":{"anyOf":[{"$ref":"#/components/schemas/MatchResult"},{"type":"null"}]}},"type":"object","required":["match_id","asset_id","analysis_id","version","channel_id","gam_profile_id","planned_start_at","airing_id","due_at","created_at","status","result"],"title":"MatchOut"},"MatchResult":{"properties":{"moments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Moment"},"type":"array"},{"type":"null"}],"title":"Moments"},"gam":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Gam"},"springserve":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Springserve"},"iadserver":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Iadserver"},"channel":{"anyOf":[{"$ref":"#/components/schemas/ChannelOut"},{"type":"null"}]},"profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Profile"},"analysis_profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Analysis Profile"},"campaigns":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Campaigns"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"MatchResult"},"MissingSpan":{"properties":{"start_ms":{"type":"integer","minimum":0.0,"title":"Start Ms"},"end_ms":{"type":"integer","minimum":0.0,"title":"End Ms"},"reason":{"type":"string","title":"Reason"}},"additionalProperties":false,"type":"object","required":["start_ms","end_ms","reason"],"title":"MissingSpan"},"Moment":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"type":"string","title":"Reason"},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"}},"type":"object","required":["eligible","reason","start","end","text","evaluated_at"],"title":"Moment"},"MrssPayload":{"properties":{"mode":{"type":"string","const":"mrss","title":"Mode"},"xml":{"type":"string","title":"Xml"},"feed_revision":{"type":"string","title":"Feed Revision"}},"additionalProperties":false,"type":"object","required":["mode","xml","feed_revision"],"title":"MrssPayload"},"NetStorageCatalog":{"properties":{"mode":{"type":"string","const":"netstorage_inventory","title":"Mode"},"hostname":{"type":"string","maxLength":253,"pattern":"^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62})?)+$","title":"Hostname"},"cp_code":{"type":"string","pattern":"^[0-9]{1,15}$","title":"Cp Code"},"root_path":{"type":"string","maxLength":2048,"minLength":1,"title":"Root Path"},"key_secret_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Key Secret Ref"},"asset_manifest_path":{"type":"string","maxLength":2048,"minLength":1,"title":"Asset Manifest Path"}},"additionalProperties":false,"type":"object","required":["mode","hostname","cp_code","root_path","key_secret_ref","asset_manifest_path"],"title":"NetStorageCatalog"},"NextIn":{"properties":{"after_step":{"type":"integer","maximum":2.0,"minimum":0.0,"title":"After Step","description":"The step the previous answer named, whose ad server had no ad"}},"additionalProperties":false,"type":"object","required":["after_step"],"title":"NextIn"},"Observation":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"},"output":{"additionalProperties":true,"type":"object","title":"Output"}},"type":"object","required":["start","end","text","output"],"title":"Observation"},"Opportunity":{"properties":{"start_ms":{"type":"integer","minimum":0.0,"title":"Start Ms"},"end_ms":{"type":"integer","minimum":0.0,"title":"End Ms"},"opportunity_id":{"type":"string","title":"Opportunity Id"},"format":{"type":"string","const":"overlay_super","title":"Format"},"status":{"type":"string","const":"candidate","title":"Status"},"segment_ids":{"items":{"type":"string"},"type":"array","title":"Segment Ids"},"suitability":{"type":"string","enum":["eligible","ineligible","unknown"],"title":"Suitability"}},"additionalProperties":false,"type":"object","required":["start_ms","end_ms","opportunity_id","format","status","segment_ids","suitability"],"title":"Opportunity"},"OpportunityIn":{"properties":{"session_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Session Id"},"asset_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Asset Id"},"asset_version":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Asset Version"},"external_content_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"External Content Id"},"cue_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cue Seconds"},"stream_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Stream Id"},"epoch":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Epoch"},"break_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Break Id"},"channel_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Channel Id"},"position":{"anyOf":[{"type":"string","enum":["preroll","midroll","postroll"]},{"type":"null"}],"title":"Position"},"duration_seconds":{"type":"number","maximum":600.0,"minimum":1.0,"title":"Duration Seconds","default":30},"slot":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Slot","default":0},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"},"router_id":{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$","title":"Router Id"},"reference":{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$","title":"Reference"},"mode":{"type":"string","enum":["sdk","client_vast","ssai"],"title":"Mode","default":"sdk"},"platform":{"type":"string","enum":["web","android","ios","ctv"],"title":"Platform","default":"web"},"format":{"type":"string","enum":["linear","nonlinear"],"title":"Format","default":"linear"},"renderer":{"anyOf":[{"type":"string","const":"ima_html5_overlay"},{"type":"null"}],"title":"Renderer"},"deadline_ms":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":100.0},{"type":"null"}],"title":"Deadline Ms"}},"additionalProperties":false,"type":"object","required":["router_id","reference"],"title":"OpportunityIn"},"Origin":{"properties":{"mode":{"type":"string","const":"origin","title":"Mode"}},"additionalProperties":false,"type":"object","required":["mode"],"title":"Origin"},"OutcomeIn":{"properties":{"event":{"type":"string","enum":["started","impression","no_fill","failed_before_start","cancelled","timeout","uncertain"],"title":"Event"}},"additionalProperties":false,"type":"object","required":["event"],"title":"OutcomeIn"},"Page_Annotated_Union_ConnectionGeneric__ConnectionJw__ConnectionS3__ConnectionGcs__ConnectionAkamai__ConnectionFastly__ConnectionFastlyS3___FieldInfo_annotation_NoneType__required_True__discriminator__provider____":{"properties":{"data":{"items":{"oneOf":[{"$ref":"#/components/schemas/ConnectionGeneric"},{"$ref":"#/components/schemas/ConnectionJw"},{"$ref":"#/components/schemas/ConnectionS3"},{"$ref":"#/components/schemas/ConnectionGcs"},{"$ref":"#/components/schemas/ConnectionAkamai"},{"$ref":"#/components/schemas/ConnectionFastly"},{"$ref":"#/components/schemas/ConnectionFastlyS3"}],"discriminator":{"propertyName":"provider","mapping":{"akamai":"#/components/schemas/ConnectionAkamai","aws_s3":"#/components/schemas/ConnectionS3","fastly":"#/components/schemas/ConnectionFastly","fastly_s3":"#/components/schemas/ConnectionFastlyS3","gcs":"#/components/schemas/ConnectionGcs","generic":"#/components/schemas/ConnectionGeneric","jwplayer":"#/components/schemas/ConnectionJw"}}},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[Annotated[Union[ConnectionGeneric, ConnectionJw, ConnectionS3, ConnectionGcs, ConnectionAkamai, ConnectionFastly, ConnectionFastlyS3], FieldInfo(annotation=NoneType, required=True, discriminator='provider')]]"},"Page_Asset_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[Asset]"},"Page_BatchItem_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BatchItem"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[BatchItem]"},"Page_BatchResult_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BatchResult"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[BatchResult]"},"Page_Batch_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Batch"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[Batch]"},"Page_ExportItem_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ExportItem"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[ExportItem]"},"Page_WebhookDelivery_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[WebhookDelivery]"},"Page_WebhookEndpoint_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebhookEndpoint"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"Page[WebhookEndpoint]"},"PlanningIn":{"properties":{"provider":{"anyOf":[{"type":"string","enum":["gam","springserve","iadserver"]},{"type":"null"}],"title":"Provider"},"ad_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Ad Profile Id"},"connection_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Connection Id"},"gam_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Gam Profile Id","description":"Legacy GAM-only alias for ad_profile_id"},"asset_id":{"type":"string","maxLength":80,"minLength":1,"title":"Asset Id"},"channel_id":{"type":"string","maxLength":80,"minLength":1,"title":"Channel Id"},"planned_start_at":{"type":"string","format":"date-time","title":"Planned Start At"}},"additionalProperties":false,"type":"object","required":["asset_id","channel_id","planned_start_at"],"title":"PlanningIn"},"PlaybackEvent":{"properties":{"event_id":{"type":"string","maxLength":80,"minLength":1,"title":"Event Id"},"type":{"type":"string","maxLength":40,"title":"Type"},"data":{"$ref":"#/components/schemas/PlaybackEventData"}},"additionalProperties":false,"type":"object","required":["event_id","type"],"title":"PlaybackEvent"},"PlaybackEventData":{"properties":{"opportunity_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Opportunity Id"},"position_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Position Seconds"},"creative_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Creative Id"},"ad_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ad Id"},"code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Code"},"reason":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason"},"details":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Details"}},"additionalProperties":false,"type":"object","title":"PlaybackEventData"},"PlaybackIn":{"properties":{"provider":{"anyOf":[{"type":"string","enum":["gam","springserve","iadserver"]},{"type":"null"}],"title":"Provider"},"ad_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Ad Profile Id"},"connection_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Connection Id"},"gam_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Gam Profile Id","description":"Legacy GAM-only alias for ad_profile_id"},"asset_id":{"type":"string","maxLength":80,"minLength":1,"title":"Asset Id"},"channel_id":{"type":"string","maxLength":80,"minLength":1,"title":"Channel Id"},"airing_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Airing Id"},"diagnostic_test_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Diagnostic Test Id"},"adrouter_placement_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Adrouter Placement Id"},"project_routing":{"type":"boolean","title":"Project Routing","description":"Resolve the current project route for this playback, including diagnostics","default":false},"graphics":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Graphics","description":"Set to true when the app has the IL adapter and draws IL graphics next to the breaks it plays. Read them with GET /v1/vod/playbacks/{playback_id}/plan and pass that plan to the app. On playbacks that walk routing steps, an iADServer step with a tag (whose iADServer connection still exists) then answers its permanent tag, whose ads can carry a Buy button; the app must report its breaks and ads to the adapter and attach with the plan's commerce.session."}},"additionalProperties":false,"type":"object","required":["asset_id","channel_id"],"title":"PlaybackIn"},"PlaybackOut":{"properties":{"provider":{"anyOf":[{"type":"string","enum":["gam","springserve","iadserver"]},{"type":"null"}],"title":"Provider","default":"gam"},"adrouter_placement_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adrouter Placement Id"},"ad_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Profile Id","default":"default"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","default":"default"},"playback_id":{"type":"string","title":"Playback Id"},"asset_id":{"type":"string","title":"Asset Id"},"analysis_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Analysis Id"},"version":{"type":"string","title":"Version"},"channel_id":{"type":"string","title":"Channel Id"},"gam_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gam Profile Id"},"airing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Airing Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"position_seconds":{"type":"number","title":"Position Seconds"},"diagnostic_test_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diagnostic Test Id"},"routing":{"anyOf":[{"type":"string","const":"steps"},{"type":"null"}],"title":"Routing","description":"Present with the value steps when the playback walks the project's ordered ad-server steps per moment. Absent otherwise."},"graphics":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Graphics","description":"Present with the value true when the playback was created with graphics (false when created with graphics: false). Absent otherwise."}},"type":"object","required":["playback_id","asset_id","analysis_id","version","channel_id","gam_profile_id","airing_id","created_at","ended_at","position_seconds","diagnostic_test_id"],"title":"PlaybackOut"},"Policy":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"pattern":"\\S","title":"Name"},"inherit_project":{"type":"boolean","title":"Inherit Project","default":false},"modes":{"items":{"type":"string","enum":["client_vast","sdk","ssai","ssai_signals"]},"type":"array","maxItems":4,"minItems":1,"title":"Modes"},"formats":{"items":{"type":"string","enum":["linear","nonlinear","companion","super","l_shape","squeeze_back","interactive"]},"type":"array","maxItems":7,"minItems":1,"title":"Formats"},"channel_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Channel Id"},"timezone":{"type":"string","maxLength":64,"title":"Timezone","default":"UTC"},"origin_inventory_id":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Origin Inventory Id"},"strict_content":{"type":"boolean","title":"Strict Content","default":false},"allow_unclassified":{"type":"boolean","title":"Allow Unclassified","default":false},"require_consent":{"type":"boolean","title":"Require Consent","default":false},"strict_duration":{"type":"boolean","title":"Strict Duration","default":false},"deadline_ms":{"type":"integer","maximum":10000.0,"minimum":100.0,"title":"Deadline Ms","default":1500},"max_attempts":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Max Attempts","default":1},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency","default":"USD"},"direct_priority":{"type":"string","enum":["first","behind","free"],"title":"Direct Priority","default":"free"},"pacing_fallback":{"type":"string","enum":["first","free"],"title":"Pacing Fallback","default":"first"},"pacing_margin_pct":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Pacing Margin Pct","default":0},"destinations":{"items":{"$ref":"#/components/schemas/Destination"},"type":"array","maxItems":40,"title":"Destinations"},"levels":{"items":{"$ref":"#/components/schemas/Level"},"type":"array","maxItems":20,"title":"Levels"},"rules":{"items":{"$ref":"#/components/schemas/Rule"},"type":"array","maxItems":50,"title":"Rules"},"publisher_blocks":{"items":{"$ref":"#/components/schemas/ConditionGroup"},"type":"array","maxItems":30,"title":"Publisher Blocks"},"default_level_ids":{"anyOf":[{"items":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},"type":"array","maxItems":20},{"type":"null"}],"title":"Default Level Ids"},"fallback_level_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Fallback Level Id"}},"additionalProperties":false,"type":"object","required":["name"],"title":"Policy"},"PolicyBody":{"properties":{"rules":{"items":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}]},"type":"array","maxItems":100,"title":"Rules","description":"Each rule: `text` (the situation in the brand's words), optional `id`, `presence` (`developed` default, or `mention`), `exception` (what the brand still accepts) and `scope` (the sector, brand or person)."},"risk_levels":{"additionalProperties":{"type":"string"},"type":"object","title":"Risk Levels","description":"Extra protection over the six sensitive topics (`balanced` or `strict`). It only hardens the project's."},"before_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Before Seconds","description":"Margin before the ad. Only widens the project's."},"after_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"After Seconds","description":"Margin after the ad. Only widens the project's."}},"additionalProperties":true,"type":"object","title":"PolicyBody","description":"What decides. Checked by the engine (`backend/context_engine/policy.py`); nothing is dropped silently.","examples":[{"after_seconds":10,"before_seconds":10,"risk_levels":{"tragedia":"strict"},"rules":[{"exception":"contenido educativo dedicado a prevenirlas","id":"estafas","text":"estafas financieras"},{"id":"apuestas","presence":"mention","text":"apuestas"},{"id":"toyota","scope":"vehículos Toyota","text":"accidentes de tránsito"}]}]},"PolicyDocument":{"properties":{"name":{"type":"string","title":"Name"},"document":{"$ref":"#/components/schemas/JsonValue"}},"additionalProperties":false,"type":"object","required":["name","document"],"title":"PolicyDocument"},"Progress":{"properties":{"percent":{"type":"number","title":"Percent","default":0},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","title":"Progress"},"PublicVodPolicy":{"properties":{"project_id":{"type":"string","title":"Project Id"},"revision":{"type":"integer","title":"Revision"},"vod":{"$ref":"#/components/schemas/PublishedVodSettings"},"live_commerce":{"anyOf":[{"$ref":"#/components/schemas/CommercePolicy"},{"type":"null"}]}},"type":"object","required":["project_id","revision","vod"],"title":"PublicVodPolicy"},"PublishedVodSettings":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true},"format":{"type":"string","enum":["overlay_300x250","super","l_shape"],"title":"Format","default":"overlay_300x250"},"formats":{"anyOf":[{"items":{"type":"string","enum":["overlay_300x250","super","l_shape"]},"type":"array","maxItems":3,"minItems":1},{"type":"null"}],"title":"Formats"},"commerce":{"anyOf":[{"$ref":"#/components/schemas/CommercePolicy"},{"type":"null"}]},"min_seconds":{"type":"number","maximum":120.0,"minimum":1.5,"title":"Min Seconds","default":1.5},"max_seconds":{"anyOf":[{"type":"number","maximum":120.0,"minimum":1.5},{"type":"null"}],"title":"Max Seconds"},"gap_after_seconds":{"type":"number","maximum":3600.0,"minimum":0.0,"title":"Gap After Seconds","default":0},"max_per_video":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":1.0},{"type":"null"}],"title":"Max Per Video"},"cut_clearance_seconds":{"type":"number","maximum":120.0,"minimum":0.0,"title":"Cut Clearance Seconds","default":0},"graphic_campaign":{"anyOf":[{"$ref":"#/components/schemas/GraphicCampaign"},{"type":"null"}]},"graphic_campaigns":{"items":{"$ref":"#/components/schemas/GraphicCampaign"},"type":"array","title":"Graphic Campaigns"}},"additionalProperties":false,"type":"object","title":"PublishedVodSettings"},"PutAdMapping":{"properties":{"integration_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Integration Id"},"video_id":{"type":"string","maxLength":512,"minLength":1,"pattern":"^[^\\x00-\\x20\\x7f/]+$","title":"Video Id"},"source_version":{"type":"string","maxLength":2048,"minLength":1,"title":"Source Version"},"existing":{"type":"boolean","title":"Existing"},"metadata_base_revision":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Metadata Base Revision"},"baseline":{"anyOf":[{"$ref":"#/components/schemas/VideoBaseline"},{"type":"null"}]},"expected_mapping_revision":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Mapping Revision"}},"additionalProperties":false,"type":"object","required":["integration_id","video_id","source_version","existing","expected_mapping_revision"],"title":"PutAdMapping"},"QuerySelection":{"properties":{"query":{"$ref":"#/components/schemas/AssetQuery"},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit"},"allow_truncate":{"type":"boolean","title":"Allow Truncate","default":false}},"additionalProperties":false,"type":"object","required":["query","limit"],"title":"QuerySelection"},"RenameIn":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title","examples":["Match highlights — final"]}},"type":"object","required":["title"],"title":"RenameIn"},"ReplaceConnectionAkamai":{"properties":{"provider":{"type":"string","const":"akamai","title":"Provider"},"config":{"$ref":"#/components/schemas/AkamaiConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","expected_revision"],"title":"ReplaceConnectionAkamai"},"ReplaceConnectionFastly":{"properties":{"provider":{"type":"string","const":"fastly","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","expected_revision"],"title":"ReplaceConnectionFastly"},"ReplaceConnectionFastlyS3":{"properties":{"provider":{"type":"string","const":"fastly_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/FastlyS3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref","expected_revision"],"title":"ReplaceConnectionFastlyS3"},"ReplaceConnectionGcs":{"properties":{"provider":{"type":"string","const":"gcs","title":"Provider"},"config":{"$ref":"#/components/schemas/GcsConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","expected_revision"],"title":"ReplaceConnectionGcs"},"ReplaceConnectionGeneric":{"properties":{"provider":{"type":"string","const":"generic","title":"Provider"},"config":{"$ref":"#/components/schemas/GenericConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","expected_revision"],"title":"ReplaceConnectionGeneric"},"ReplaceConnectionJw":{"properties":{"provider":{"type":"string","const":"jwplayer","title":"Provider"},"config":{"$ref":"#/components/schemas/JwConfig"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"credential_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Credential Ref"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","credential_ref","expected_revision"],"title":"ReplaceConnectionJw"},"ReplaceConnectionS3":{"properties":{"provider":{"type":"string","const":"aws_s3","title":"Provider"},"config":{"$ref":"#/components/schemas/S3Config"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["provider","config","name","expected_revision"],"title":"ReplaceConnectionS3"},"RequestOut":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"type":"string","title":"Reason","description":"Why the break is or is not eligible. Playbacks with routing steps can also answer requested (iADServer step), steps_exhausted (no askable step left), steps_changed (on /next: the project's lists were edited and after_step is no longer the step asked), midroll_disabled (no mid-roll steps), preroll_disabled (no pre-roll steps) and gam_disconnected. context.skipped_steps lists each skipped step with its reason: covered_by_contextual, no_linked_campaigns, profile_unavailable, no_scene_at_preroll, iadserver_unavailable, iadserver_refused or a scene reason."},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"},"ad_tag_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Tag Url","description":"Opaque VAST URL to fetch exactly as given. On a playback created with graphics, an iADServer step with a tag answers its permanent tag with sid set to the plan's commerce.session and a correlator kept for this break: do not add, change or remove sid or correlator; a repeated fetch returns the same delivery."},"router_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Router Id"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"ticket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket"},"attempt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Id"},"expires_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expires At"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"step":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step","description":"Index, from 0, of the step that answered. Only on playbacks with routing steps."},"steps_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Steps Left","description":"Steps after this one in the moment's list. 0 when no other step can be asked. Only on playbacks with routing steps."},"kind":{"anyOf":[{"type":"string","enum":["contextual","common"]},{"type":"null"}],"title":"Kind","description":"Kind of the step that answered, contextual or common. Only on playbacks with routing steps."},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Ad-server connection of the step that answered. Only on playbacks with routing steps."},"ad_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Profile Id","description":"Ad profile of the step that answered. Only on playbacks with routing steps."}},"type":"object","required":["eligible","reason"],"title":"RequestOut"},"ResolverDelivery":{"properties":{"mode":{"type":"string","const":"resolver","title":"Mode"},"resolver_ref":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Resolver Ref"}},"additionalProperties":false,"type":"object","required":["mode","resolver_ref"],"title":"ResolverDelivery"},"RetryFailed":{"properties":{"webhook_endpoint_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Webhook Endpoint Id"}},"additionalProperties":false,"type":"object","title":"RetryFailed"},"RevisionIn":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["expected_revision"],"title":"RevisionIn"},"RollbackIn":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"target_revision":{"type":"integer","minimum":0.0,"title":"Target Revision"}},"additionalProperties":false,"type":"object","required":["expected_revision","target_revision"],"title":"RollbackIn"},"RotateAkamaiEdgegrid":{"properties":{"kind":{"type":"string","const":"akamai_edgegrid","title":"Kind"},"payload":{"$ref":"#/components/schemas/AkamaiEdgegridPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateAkamaiEdgegrid"},"RotateAkamaiNetstorage":{"properties":{"kind":{"type":"string","const":"akamai_netstorage","title":"Kind"},"payload":{"$ref":"#/components/schemas/AkamaiNetstoragePayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateAkamaiNetstorage"},"RotateFastlyManagement":{"properties":{"kind":{"type":"string","const":"fastly_management","title":"Kind"},"payload":{"$ref":"#/components/schemas/FastlyManagementPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateFastlyManagement"},"RotateFastlyS3":{"properties":{"kind":{"type":"string","const":"fastly_s3","title":"Kind"},"payload":{"$ref":"#/components/schemas/FastlyS3Payload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateFastlyS3"},"RotateHttpBasic":{"properties":{"kind":{"type":"string","const":"http_basic","title":"Kind"},"payload":{"$ref":"#/components/schemas/HttpBasicPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateHttpBasic"},"RotateHttpBearer":{"properties":{"kind":{"type":"string","const":"http_bearer","title":"Kind"},"payload":{"$ref":"#/components/schemas/HttpBearerPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateHttpBearer"},"RotateJwplayerDelivery":{"properties":{"kind":{"type":"string","const":"jwplayer_delivery","title":"Kind"},"payload":{"$ref":"#/components/schemas/JwplayerDeliveryPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateJwplayerDelivery"},"RotateJwplayerManagement":{"properties":{"kind":{"type":"string","const":"jwplayer_management","title":"Kind"},"payload":{"$ref":"#/components/schemas/JwplayerManagementPayload"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["kind","payload","expected_revision"],"title":"RotateJwplayerManagement"},"RotateSecret":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"signing_secret":{"type":"string","format":"password","title":"Signing Secret","writeOnly":true}},"additionalProperties":false,"type":"object","required":["expected_revision","signing_secret"],"title":"RotateSecret"},"Rule":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Id"},"match":{"type":"string","enum":["all","any"],"title":"Match","default":"all"},"conditions":{"items":{"$ref":"#/components/schemas/Condition"},"type":"array","maxItems":16,"title":"Conditions"},"level_ids":{"items":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},"type":"array","maxItems":16,"minItems":1,"title":"Level Ids"}},"additionalProperties":false,"type":"object","required":["id","level_ids"],"title":"Rule"},"S3Config":{"properties":{"bucket":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,220}[a-z0-9]$","title":"Bucket"},"prefixes":{"items":{"type":"string","maxLength":2048,"minLength":1},"type":"array","maxItems":20,"minItems":1,"title":"Prefixes"},"asset_discovery":{"type":"string","enum":["manifest","mp4_objects"],"title":"Asset Discovery"},"manifest_locator":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Manifest Locator"},"role_arn":{"type":"string","maxLength":512,"pattern":"^arn:aws:iam::[0-9]{12}:role/[A-Za-z0-9+=,.@_/-]+$","title":"Role Arn"},"region":{"type":"string","maxLength":40,"pattern":"^[a-z0-9]{2,5}(?:-[a-z0-9]+){1,5}-[0-9]+$","title":"Region"},"expected_bucket_owner":{"type":"string","pattern":"^[0-9]{12}$","title":"Expected Bucket Owner"},"delivery":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Origin"},{"$ref":"#/components/schemas/ResolverDelivery"}],"discriminator":{"propertyName":"mode","mapping":{"origin":"#/components/schemas/Origin","resolver":"#/components/schemas/ResolverDelivery"}}},{"type":"null"}],"title":"Delivery"}},"additionalProperties":false,"type":"object","required":["bucket","prefixes","asset_discovery","role_arn","region","expected_bucket_owner"],"title":"S3Config"},"SafetyAssessment":{"properties":{"category":{"type":"string","title":"Category"},"modality":{"type":"string","enum":["audio","video"],"title":"Modality"},"decision":{"type":"string","enum":["detected","not_detected","uncertain","not_evaluated"],"title":"Decision"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["category","modality","decision","confidence","evidence_refs"],"title":"SafetyAssessment"},"SafetyPolicy":{"properties":{"id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Id"},"revision":{"type":"string","title":"Revision"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"required_modalities":{"items":{"type":"string","enum":["audio","video"]},"type":"array","maxItems":2,"minItems":1,"title":"Required Modalities"},"min_confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Confidence"},"allow_sampled_video":{"type":"boolean","title":"Allow Sampled Video"},"prohibited_categories":{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","title":"Prohibited Categories"},"review_categories":{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","title":"Review Categories"},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","revision","name","required_modalities","min_confidence","allow_sampled_video","prohibited_categories","review_categories","created_at"],"title":"SafetyPolicy"},"SaveIn":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision","description":"The revision you read (0 before the first save)."},"config":{"$ref":"#/components/schemas/LiveConfig"}},"additionalProperties":false,"type":"object","required":["expected_revision","config"],"title":"SaveIn"},"ScanBreak":{"properties":{"break_id":{"type":"string","title":"Break Id"},"start":{"type":"number","title":"Start"},"duration":{"type":"number","title":"Duration"},"source":{"type":"string","title":"Source"},"signal":{"additionalProperties":true,"type":"object","title":"Signal"}},"type":"object","required":["break_id","start","duration","source","signal"],"title":"ScanBreak"},"ScanHold":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"},"risk":{"type":"string","title":"Risk"},"severity":{"type":"number","title":"Severity"}},"type":"object","required":["start","end","text","risk","severity"],"title":"ScanHold"},"ScanIn":{"properties":{"asset_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Asset Id","description":"Owned asset ID. Produces an analysis-only scan with no output manifest."},"topics":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1},{"type":"null"}],"title":"Topics","description":"Analysis topics for asset_id. Defaults to the owner's topics."},"hls_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Hls Url","description":"VOD HLS media playlist (https, with `#EXT-X-ENDLIST`, MPEG-TS)."},"mp4_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Mp4 Url","description":"Progressive MP4 (https)."},"youtube_url":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Youtube Url","description":"YouTube video (not a live)."},"cue_points":{"items":{"type":"number"},"type":"array","maxItems":200,"title":"Cue Points","description":"Break start times in seconds from the start of the VOD. Merged with the origin's own CUE-OUT/DATERANGE breaks."},"break_interval_seconds":{"anyOf":[{"type":"integer","maximum":3600.0,"minimum":30.0},{"type":"null"}],"title":"Break Interval Seconds","description":"When the VOD has no breaks (origin or cue_points): Interactive Layers proposes one every N seconds (multiple of 30), moved out of brand-safety holds."},"mode":{"type":"string","enum":["signal","ssai"],"title":"Mode","description":"`signal`: markers only. `ssai`: markers + in-band supers (ad segment replacement is not available for VOD in v1).","default":"signal"},"marker_profile":{"type":"string","enum":["interactivelayers","interactivelayers_cue","ottera","clipma","clipma_cue"],"title":"Marker Profile","description":"Break marker profile (see Sources). `clipma` and `clipma_cue` are deprecated aliases of `interactivelayers` and `interactivelayers_cue`.","default":"interactivelayers"},"campaign_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Campaign Ids","description":"Restrict the scan to these campaigns (default: all of yours)."}},"type":"object","title":"ScanIn","examples":[{"campaign_ids":["acme-hydration"],"cue_points":[600,1200],"hls_url":"https://cdn.example.com/vod/episode-12/index.m3u8","mode":"signal"},{"asset_id":"asset-0123456789abcdef0123456789abcdef","topics":["deportes","viajes"]}]},"ScanOpportunity":{"properties":{"time":{"type":"number","title":"Time"},"text":{"type":"string","title":"Text"},"category":{"type":"string","title":"Category"},"prob":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Prob"},"campaigns":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Campaigns"},"scenario":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Scenario"},"outcome":{"type":"string","title":"Outcome"},"run_id":{"type":"string","title":"Run Id"},"super":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Super"}},"type":"object","required":["time","text","category","prob","campaigns","scenario","outcome","run_id"],"title":"ScanOpportunity"},"ScanOut":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"status":{"type":"string","enum":["queued","downloading","transcribing","analyzing","rendering","done","failed","cancelled"],"title":"Status"},"progress":{"$ref":"#/components/schemas/Progress"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"source":{"additionalProperties":{"type":"string"},"type":"object","title":"Source"},"mode":{"type":"string","title":"Mode"},"output_hls_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Hls Url","description":"Enriched VOD manifest; set only when `done`."},"result_url":{"type":"string","title":"Result Url"},"created_at":{"type":"string","title":"Created At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"},"links":{"additionalProperties":{"type":"string"},"type":"object","title":"Links"}},"type":"object","required":["scan_id","status","progress","source","mode","result_url","created_at","links"],"title":"ScanOut"},"ScanResult":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"duration":{"type":"number","title":"Duration"},"transcript":{"items":{"$ref":"#/components/schemas/TranscriptLine"},"type":"array","title":"Transcript"},"opportunities":{"items":{"$ref":"#/components/schemas/ScanOpportunity"},"type":"array","title":"Opportunities"},"holds":{"items":{"$ref":"#/components/schemas/ScanHold"},"type":"array","title":"Holds"},"breaks":{"items":{"$ref":"#/components/schemas/ScanBreak"},"type":"array","title":"Breaks"},"costs":{"additionalProperties":true,"type":"object","title":"Costs"},"latency":{"additionalProperties":{"type":"number"},"type":"object","title":"Latency"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"observations":{"anyOf":[{"items":{"$ref":"#/components/schemas/Observation"},"type":"array"},{"type":"null"}],"title":"Observations"},"profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Profile"}},"type":"object","required":["scan_id","duration","transcript","opportunities","holds","breaks","costs","latency","counts","notes"],"title":"ScanResult","examples":[{"breaks":[],"costs":{"by_stage":{"asr":0.001},"currency":"USD","total_usd":0.001},"counts":{"breaks":0,"phrases":1},"duration":14.48,"holds":[],"latency":{"media_seconds":14.48,"speedup":2,"wall_seconds":7.24},"notes":[],"observations":[{"end":3.5,"output":{"category_probs":{"topic:deportes":0.95},"risk_severity":0.0},"start":0.0,"text":"The striker scored a goal."}],"opportunities":[],"profile":{"revision":1,"topics":["deportes"]},"scan_id":"scan-0123456789abcdef","transcript":[{"end":3.5,"start":0.0,"text":"The striker scored a goal."}]}]},"SceneContexts":{"properties":{"available":{"type":"boolean","title":"Available"},"step":{"type":"number","title":"Step"},"windows":{"items":{"$ref":"#/components/schemas/SceneWindow"},"type":"array","title":"Windows"},"pending":{"type":"integer","title":"Pending"},"running":{"type":"boolean","title":"Running"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"estimated_cost_usd":{"type":"number","title":"Estimated Cost Usd"},"margins":{"items":{"$ref":"#/components/schemas/Interval"},"type":"array","title":"Margins"},"policy_version":{"type":"integer","title":"Policy Version"}},"type":"object","required":["available","step","windows","pending","running","error","estimated_cost_usd","margins","policy_version"],"title":"SceneContexts"},"SceneLabel":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"kind":{"type":"string","enum":["topic","iab"],"title":"Kind"},"score":{"type":"number","title":"Score"},"parent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent"}},"type":"object","required":["key","label","kind","score"],"title":"SceneLabel"},"SceneRisk":{"properties":{"risk":{"type":"string","title":"Risk"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"}},"type":"object","required":["risk","score"],"title":"SceneRisk"},"SceneWindow":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"state":{"type":"string","enum":["ad","quiet","blocked","unknown"],"title":"State"},"moment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Moment"},"labels":{"items":{"$ref":"#/components/schemas/SceneLabel"},"type":"array","title":"Labels"},"cancelled":{"items":{"$ref":"#/components/schemas/SceneLabel"},"type":"array","title":"Cancelled"},"risks":{"items":{"$ref":"#/components/schemas/SceneRisk"},"type":"array","title":"Risks"},"clearance":{"additionalProperties":{"type":"string","enum":["off","flexible","balanced","strict"]},"type":"object","title":"Clearance","description":"For each risk, the strictest Content Safety level this window's scores pass; `off` when it passes none or the risk was not scored. Empty without enough dialogue to judge."}},"type":"object","required":["start","end","state","labels","cancelled","risks"],"title":"SceneWindow"},"Segment":{"properties":{"start_ms":{"type":"integer","minimum":0.0,"title":"Start Ms"},"end_ms":{"type":"integer","minimum":0.0,"title":"End Ms"},"segment_id":{"type":"string","title":"Segment Id"},"topics":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array","title":"Topics"},"suitability":{"type":"string","enum":["eligible","ineligible","unknown"],"title":"Suitability"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"safety_assessments":{"items":{"$ref":"#/components/schemas/SafetyAssessment"},"type":"array","title":"Safety Assessments"},"evidence_modalities":{"items":{"type":"string","enum":["audio","video","ocr","metadata"]},"type":"array","title":"Evidence Modalities"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["start_ms","end_ms","segment_id","topics","suitability","reason_codes","safety_assessments","evidence_modalities","evidence_refs"],"title":"Segment"},"SelectionIn":{"properties":{"provider":{"type":"string","enum":["gam","iadserver","springserve"],"title":"Provider"},"connection_id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Connection Id"},"ad_profile_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Ad Profile Id"}},"additionalProperties":false,"type":"object","required":["provider","connection_id"],"title":"SelectionIn"},"SettingsIn":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"mode":{"type":"string","enum":["direct","ai"],"title":"Mode"},"selection":{"anyOf":[{"$ref":"#/components/schemas/SelectionIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["expected_revision","mode"],"title":"SettingsIn"},"SettlementIn":{"properties":{"destination_id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Destination Id"},"segment":{"type":"string","maxLength":128,"title":"Segment","default":""},"report_id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$","title":"Report Id"},"revision":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Revision"},"start":{"type":"number","minimum":0.0,"title":"Start"},"end":{"type":"number","exclusiveMinimum":0.0,"title":"End"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"attempts":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Attempts"},"impressions":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Impressions"},"amount_micros":{"type":"integer","maximum":1000000000000000.0,"minimum":0.0,"title":"Amount Micros"},"fee_bps":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Fee Bps","default":0},"timezone":{"type":"string","maxLength":80,"title":"Timezone","default":"UTC"},"policy_revision":{"type":"integer","minimum":1.0,"title":"Policy Revision"},"line_pacing":{"anyOf":[{"$ref":"#/components/schemas/LinePacingIn"},{"type":"null"}]},"experiment_arm":{"anyOf":[{"type":"string","enum":["control","optimized"]},{"type":"null"}],"title":"Experiment Arm"}},"additionalProperties":false,"type":"object","required":["destination_id","report_id","revision","start","end","currency","attempts","impressions","amount_micros","policy_revision"],"title":"SettlementIn"},"Signal":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,39}$","title":"Name","description":"The signal's name, as the TV app and the files name it (e.g. a channel slug)."},"origin_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Origin Url","description":"HTTPS playlist the TV plays through the gateway. Without it the signal is a rehearsal: a recorded clip whose opportunities come only from its own snapshot file, with no origin, gateway or analysis."},"analysis_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Analysis Url","description":"HTTPS MPEG-TS variant the analyzer reads. Without it the signal is played but not analysed."},"analysis_unit_ms":{"anyOf":[{"type":"integer","maximum":12000.0,"minimum":2000.0},{"type":"null"}],"title":"Analysis Unit Ms","description":"Join short segments into units of about this length. Needs analysis_url."},"playback_delay_ms":{"anyOf":[{"type":"integer","maximum":90000.0,"minimum":1.0},{"type":"null"}],"title":"Playback Delay Ms","description":"The gateway offers the signal as it was this long ago."},"playback_window_ms":{"anyOf":[{"type":"integer","maximum":300000.0,"minimum":1.0},{"type":"null"}],"title":"Playback Window Ms","description":"The gateway offers a longer list than the origin's. Not together with playback_delay_ms."},"recording":{"type":"boolean","title":"Recording","description":"Write a generated headline for each opportunity. Needs analysis_url.","default":false},"asset_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"null"}],"title":"Asset Id","description":"Content id linked to this signal in iADServer; the console shows and evaluates it as this signal."},"snapshot":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,80}\\.json$","description":"A file name inside the project's live folder, e.g. cues.json."},{"type":"null"}],"title":"Snapshot","description":"A separate opportunities file for this signal (e.g. a rehearsal clip), in the project's live folder."}},"additionalProperties":false,"type":"object","required":["name"],"title":"Signal"},"SignalIn":{"properties":{"break_id":{"type":"string","maxLength":80,"minLength":1,"title":"Break Id"},"content_offset_seconds":{"type":"number","exclusiveMinimum":0.0,"title":"Content Offset Seconds"},"break_start_at":{"type":"string","format":"date-time","title":"Break Start At"},"break_duration_seconds":{"type":"number","maximum":600.0,"exclusiveMinimum":0.0,"title":"Break Duration Seconds"}},"additionalProperties":false,"type":"object","required":["break_id","content_offset_seconds","break_start_at","break_duration_seconds"],"title":"SignalIn"},"SignalOut":{"properties":{"schema_version":{"type":"string","title":"Schema Version"},"signal_id":{"type":"string","title":"Signal Id"},"provider":{"type":"string","const":"springserve","title":"Provider"},"connection_id":{"type":"string","maxLength":80,"minLength":1,"title":"Connection Id","default":"default"},"ad_profile_id":{"type":"string","title":"Ad Profile Id"},"delivery_mode":{"type":"string","const":"ssai_signals","title":"Delivery Mode"},"channel_id":{"type":"string","title":"Channel Id"},"airing_id":{"type":"string","title":"Airing Id"},"break_id":{"type":"string","title":"Break Id"},"asset_id":{"type":"string","title":"Asset Id"},"asset_version":{"type":"string","title":"Asset Version"},"analysis_id":{"type":"string","title":"Analysis Id"},"content_offset_seconds":{"type":"number","title":"Content Offset Seconds"},"break_start_at":{"type":"string","format":"date-time","title":"Break Start At"},"break_duration_seconds":{"type":"number","title":"Break Duration Seconds"},"valid_until":{"type":"string","format":"date-time","title":"Valid Until"},"status":{"type":"string","enum":["matched","no_match","expired","invalidated"],"title":"Status"},"reason":{"type":"string","title":"Reason"},"candidates":{"items":{"type":"string"},"type":"array","title":"Candidates"},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"},"integration_status":{"type":"string","const":"ottera_validation_pending","title":"Integration Status"}},"type":"object","required":["schema_version","signal_id","provider","ad_profile_id","delivery_mode","channel_id","airing_id","break_id","asset_id","asset_version","analysis_id","content_offset_seconds","break_start_at","break_duration_seconds","valid_until","status","reason","candidates","context","integration_status"],"title":"SignalOut"},"SignalsPayload":{"properties":{"mode":{"type":"string","const":"ad_request_signals","title":"Mode"},"cmsid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cmsid"},"vid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vid"},"targeting":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"propertyNames":{"enum":["il_topic","il_suitability"]},"type":"object","title":"Targeting"},"encoded_query_fragment":{"type":"string","title":"Encoded Query Fragment"}},"additionalProperties":false,"type":"object","required":["mode","targeting","encoded_query_fragment"],"title":"SignalsPayload"},"SimulationIn":{"properties":{"revision":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Revision"},"policy":{"anyOf":[{"$ref":"#/components/schemas/Policy"},{"type":"null"}]},"opportunity_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Opportunity Id"},"recorded_opportunity_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Recorded Opportunity Id"},"asset_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Asset Id"},"asset_version":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Asset Version"},"cue_seconds":{"anyOf":[{"type":"number","maximum":86400.0,"minimum":0.0},{"type":"null"}],"title":"Cue Seconds"},"stream_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Stream Id"},"epoch":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Epoch"},"break_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Break Id"},"channel_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$"},{"type":"null"}],"title":"Channel Id"},"timestamp":{"anyOf":[{"type":"number","maximum":32503680000.0,"minimum":0.0},{"type":"null"}],"title":"Timestamp","description":"Unix time of the ad break"},"position":{"anyOf":[{"type":"string","enum":["preroll","midroll","postroll"]},{"type":"null"}],"title":"Position"},"duration_seconds":{"anyOf":[{"type":"number","maximum":600.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration Seconds"},"slot":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Slot","default":0},"mode":{"anyOf":[{"type":"string","enum":["client_vast","sdk","ssai","ssai_signals"]},{"type":"null"}],"title":"Mode"},"format":{"anyOf":[{"type":"string","enum":["linear","nonlinear","companion","super","l_shape","squeeze_back","interactive"]},{"type":"null"}],"title":"Format"},"platform":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Platform"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"additionalProperties":false,"type":"object","title":"SimulationIn"},"SnapshotOut":{"properties":{"provider":{"type":"string","enum":["gam","springserve","iadserver"],"title":"Provider"},"status":{"type":"string","title":"Status"},"checked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checked At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"items":{"additionalProperties":true,"type":"object","title":"Items"},"demand_tags":{"additionalProperties":true,"type":"object","title":"Demand Tags"},"keys":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Keys"}},"type":"object","required":["provider","status"],"title":"SnapshotOut"},"SourceDetail":{"properties":{"source_id":{"type":"string","title":"Source Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"status_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Reason"},"source_kind":{"type":"string","title":"Source Kind"},"mode":{"type":"string","title":"Mode"},"marker_profile":{"type":"string","title":"Marker Profile"},"break_mode":{"type":"string","title":"Break Mode"},"output_delay_seconds":{"type":"number","title":"Output Delay Seconds"},"break_interval_seconds":{"type":"integer","title":"Break Interval Seconds"},"output_hls_url":{"type":"string","title":"Output Hls Url","description":"Enriched output manifest (no auth: the source id is the capability)."},"playback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playback Url"},"created_at":{"type":"number","title":"Created At"},"publication_delay_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Publication Delay S"},"ai_latency":{"additionalProperties":true,"type":"object","title":"Ai Latency"},"next_break":{"anyOf":[{"$ref":"#/components/schemas/BreakOut"},{"type":"null"}]},"last_signal":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Last Signal"},"last_opportunities":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Last Opportunities"}},"type":"object","required":["source_id","name","status","source_kind","mode","marker_profile","break_mode","output_delay_seconds","break_interval_seconds","output_hls_url","created_at"],"title":"SourceDetail"},"SourceIn":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name","default":"Source"},"hls_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Hls Url","description":"Live HLS media playlist (https, .m3u8)."},"youtube_url":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Youtube Url","description":"YouTube live or video URL."},"mode":{"type":"string","enum":["signal","ssai"],"title":"Mode","description":"`signal`: program untouched, break markers enriched with the targeting signal. `ssai`: Interactive Layers replaces break segments and adds in-band supers.","default":"signal"},"marker_profile":{"type":"string","enum":["interactivelayers","interactivelayers_cue","ottera","clipma","clipma_cue"],"title":"Marker Profile","description":"`interactivelayers`: `EXT-X-DATERANGE CLASS=\"com.interactivelayers.signal\"`; `interactivelayers_cue`: also `#EXT-X-ASSET` + `#EXT-X-CUE-OUT/IN`; `ottera`: experimental alias of interactivelayers_cue. `clipma` and `clipma_cue` are deprecated aliases of `interactivelayers` and `interactivelayers_cue`.","default":"interactivelayers"},"output_delay_seconds":{"type":"number","maximum":300.0,"minimum":6.0,"title":"Output Delay Seconds","description":"Output delay behind the origin (time for the AI to analyse).","default":30.0},"break_interval_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Break Interval Seconds","description":"Spacing of the breaks Interactive Layers opens when `break_mode=auto` (multiple of 30).","default":600},"break_mode":{"type":"string","enum":["origin","auto"],"title":"Break Mode","description":"`origin`: breaks signalled by the origin (CUE-OUT/DATERANGE). `auto`: Interactive Layers opens a break every `break_interval_seconds`.","default":"origin"}},"type":"object","title":"SourceIn","examples":[{"break_interval_seconds":600,"break_mode":"auto","marker_profile":"interactivelayers_cue","mode":"signal","name":"Canal FAST","output_delay_seconds":30,"youtube_url":"https://www.youtube.com/watch?v=XXXXXXXXXXX"}]},"SourceOpportunities":{"properties":{"opportunities":{"items":{"$ref":"#/components/schemas/SourceOpportunity"},"type":"array","title":"Opportunities"}},"type":"object","required":["opportunities"],"title":"SourceOpportunities","examples":[{"opportunities":[{"at":1793804680,"campaign_id":"cmp-sports","category":"deportes","outcome":"signal_candidate","phrase":{"end":"2026-11-04T15:04:40Z","phrase_id":"phrase-123","start":"2026-11-04T15:04:38Z","text":"A goal!"},"prob":0.95,"run_id":"run-123","scenario":1,"trigger_mode":"topic"}]}]},"SourceOpportunity":{"properties":{"run_id":{"type":"string","title":"Run Id"},"at":{"type":"number","title":"At"},"outcome":{"type":"string","title":"Outcome"},"phrase":{"$ref":"#/components/schemas/SourcePhrase"},"category":{"type":"string","title":"Category"},"trigger_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Mode"},"prob":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Prob"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"},"scenario":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"title":"Scenario"},"explanation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explanation"}},"type":"object","required":["run_id","at","outcome","phrase","category","trigger_mode","prob","campaign_id","scenario","explanation"],"title":"SourceOpportunity"},"SourceOut":{"properties":{"source_id":{"type":"string","title":"Source Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"status_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Reason"},"source_kind":{"type":"string","title":"Source Kind"},"mode":{"type":"string","title":"Mode"},"marker_profile":{"type":"string","title":"Marker Profile"},"break_mode":{"type":"string","title":"Break Mode"},"output_delay_seconds":{"type":"number","title":"Output Delay Seconds"},"break_interval_seconds":{"type":"integer","title":"Break Interval Seconds"},"output_hls_url":{"type":"string","title":"Output Hls Url","description":"Enriched output manifest (no auth: the source id is the capability)."},"playback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playback Url"},"created_at":{"type":"number","title":"Created At"}},"type":"object","required":["source_id","name","status","source_kind","mode","marker_profile","break_mode","output_delay_seconds","break_interval_seconds","output_hls_url","created_at"],"title":"SourceOut"},"SourcePhrase":{"properties":{"phrase_id":{"type":"string","title":"Phrase Id"},"text":{"type":"string","title":"Text"},"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"}},"type":"object","required":["phrase_id","text","start","end"],"title":"SourcePhrase"},"SourceSignal":{"properties":{"break_id":{"type":"string","title":"Break Id"},"source_id":{"type":"string","title":"Source Id"},"epoch":{"type":"integer","title":"Epoch"},"start_pdt":{"type":"number","title":"Start Pdt"},"start_iso":{"type":"string","title":"Start Iso"},"duration":{"type":"number","title":"Duration"},"source":{"type":"string","title":"Source"},"computed_at":{"type":"number","title":"Computed At"},"campaigns":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Campaigns"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"},"external_ids":{"type":"string","title":"External Ids"},"safety":{"additionalProperties":true,"type":"object","title":"Safety"},"score":{"type":"number","title":"Score"},"scenario":{"type":"string","title":"Scenario"},"context_seconds":{"type":"number","title":"Context Seconds"},"runs_considered":{"type":"integer","title":"Runs Considered"}},"type":"object","required":["break_id","source_id","epoch","start_pdt","start_iso","duration","source","computed_at","campaigns","keywords","external_ids","safety","score","scenario","context_seconds","runs_considered"],"title":"SourceSignal"},"SourceSignals":{"properties":{"signals":{"items":{"$ref":"#/components/schemas/SourceSignal"},"type":"array","title":"Signals"}},"type":"object","required":["signals"],"title":"SourceSignals","examples":[{"signals":[{"break_id":"brk-123","campaigns":[],"computed_at":1793804680,"context_seconds":20,"duration":30,"epoch":0,"external_ids":"","keywords":[],"runs_considered":0,"safety":{"status":"ok"},"scenario":"none","score":0,"source":"origin","source_id":"src-123","start_iso":"2026-11-04T15:05:02Z","start_pdt":1793804702}]}]},"Span":{"properties":{"start_ms":{"type":"integer","minimum":0.0,"title":"Start Ms"},"end_ms":{"type":"integer","minimum":0.0,"title":"End Ms"}},"additionalProperties":false,"type":"object","required":["start_ms","end_ms"],"title":"Span"},"SpringServeProfileIn":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","default":"SpringServe"},"enabled":{"type":"boolean","title":"Enabled","default":true},"match_lead_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Match Lead Seconds","default":900},"links":{"items":{"$ref":"#/components/schemas/Link"},"type":"array","maxItems":100,"title":"Links"},"publisher_blocks":{"items":{"$ref":"#/components/schemas/Block"},"type":"array","maxItems":200,"title":"Publisher Blocks"}},"additionalProperties":false,"type":"object","title":"SpringServeProfileIn"},"SuggestionIn":{"properties":{"instruction":{"type":"string","maxLength":300,"minLength":1,"title":"Instruction"},"destination_id":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},{"type":"null"}],"title":"Destination Id"},"policy":{"anyOf":[{"$ref":"#/components/schemas/Policy"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["instruction"],"title":"SuggestionIn"},"Sync":{"properties":{"sync_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Sync Id"},"connection_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Connection Id"},"mode":{"type":"string","enum":["full","incremental"],"title":"Mode"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"Status"},"discovered":{"type":"integer","title":"Discovered"},"updated":{"type":"integer","title":"Updated"},"removed":{"type":"integer","title":"Removed"},"failed":{"type":"integer","title":"Failed"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["sync_id","connection_id","mode","status","discovered","updated","removed","failed","started_at","finished_at","error"],"title":"Sync"},"SyncRequest":{"properties":{"mode":{"type":"string","enum":["full","incremental"],"title":"Mode"}},"additionalProperties":false,"type":"object","required":["mode"],"title":"SyncRequest"},"SyndicatedNames":{"properties":{"syndicatedVideoContent":{"items":{"type":"string"},"type":"array","title":"Syndicatedvideocontent"}},"additionalProperties":false,"type":"object","required":["syndicatedVideoContent"],"title":"SyndicatedNames"},"Syndication":{"properties":{"canonicalVideoContent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonicalvideocontent"},"syndicatedVideoContentNames":{"anyOf":[{"$ref":"#/components/schemas/SyndicatedNames"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"Syndication"},"TagIn":{"properties":{"preset":{"type":"string","enum":["web","android","ios","gam","springserve","mediatailor"],"title":"Preset"},"vast_version":{"anyOf":[{"type":"string","enum":["3.0","4.0","4.1","4.2"]},{"type":"null"}],"title":"Vast Version"},"external_content_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"External Content Id"},"cue_seconds":{"type":"number","minimum":0.0,"title":"Cue Seconds","default":0},"stream_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Stream Id"},"epoch":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Epoch"},"duration_seconds":{"type":"number","maximum":600.0,"minimum":1.0,"title":"Duration Seconds","default":30},"personalized":{"type":"boolean","title":"Personalized","default":false}},"additionalProperties":false,"type":"object","required":["preset"],"title":"TagIn"},"TestIn":{"properties":{"policy_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Policy Ref","description":"A saved policy: `bp_…`, `bp_…@3` or the full `ref` it returned. Give this or `policy`."},"policy":{"anyOf":[{"$ref":"#/components/schemas/PolicyBody"},{"type":"null"}],"description":"A draft that is not saved."},"text":{"type":"string","maxLength":2000,"minLength":1,"title":"Text","description":"A described scene or a short transcript. It is never stored."},"language":{"type":"string","enum":["es","en","pt"],"title":"Language","default":"es"}},"additionalProperties":false,"type":"object","required":["text"],"title":"TestIn"},"Topic":{"properties":{"label":{"type":"string","title":"Label"},"taxonomy":{"type":"string","const":"il_topics_v1","title":"Taxonomy"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"}},"additionalProperties":false,"type":"object","required":["label","taxonomy","confidence"],"title":"Topic"},"TranscriptLine":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"}},"type":"object","required":["start","end","text"],"title":"TranscriptLine"},"TranscriptOut":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"status":{"type":"string","title":"Status"},"transcript":{"items":{"$ref":"#/components/schemas/TranscriptLine"},"type":"array","title":"Transcript"}},"type":"object","required":["scan_id","status","transcript"],"title":"TranscriptOut"},"UrlIn":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"url":{"type":"string","maxLength":4096,"title":"Url","description":"HTTPS MP4, or a finite clear HLS playlist on an allowed CDN: a master or a media playlist, MPEG-TS or fMP4. From a master, the lowest-bandwidth video variant and its default audio are analysed."},"immutable":{"type":"boolean","title":"Immutable","description":"Attest the URL and all its segments are versioned and immutable.","default":false},"ad_free":{"type":"boolean","title":"Ad Free","description":"Attest the source contains no embedded ads.","default":false}},"type":"object","required":["title","url"],"title":"UrlIn","examples":[{"ad_free":true,"immutable":true,"title":"Match highlights","url":"https://cdn.example.com/v1/match.mp4"}]},"Usage":{"properties":{"input_duration_ms":{"type":"integer","title":"Input Duration Ms","default":0},"analyzed_duration_ms":{"type":"integer","title":"Analyzed Duration Ms","default":0},"reused_duration_ms":{"type":"integer","title":"Reused Duration Ms","default":0},"downloaded_bytes":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","title":"Downloaded Bytes","default":"0"},"provider_requests":{"type":"integer","title":"Provider Requests","default":0},"engine_requests":{"type":"integer","title":"Engine Requests","default":0}},"additionalProperties":false,"type":"object","title":"Usage"},"ValidateConnection":{"properties":{"sample_asset_id":{"anyOf":[{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$"},{"type":"null"}],"title":"Sample Asset Id"}},"additionalProperties":false,"type":"object","title":"ValidateConnection"},"ValidationCheck":{"properties":{"name":{"type":"string","title":"Name"},"status":{"type":"string","enum":["passed","failed","pending","unsupported"],"title":"Status"},"error":{"anyOf":[{"$ref":"#/components/schemas/WorkError"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["name","status","error"],"title":"ValidationCheck"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VersionIn":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version","description":"The version you read. Another save in between gives 409."},"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"policy":{"$ref":"#/components/schemas/PolicyBody"}},"additionalProperties":false,"type":"object","required":["expected_version","policy"],"title":"VersionIn"},"VideoBaseline":{"properties":{"title":{"type":"string","maxLength":2048,"minLength":1,"title":"Title"},"updateTime":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Updatetime"},"status":{"type":"string","enum":["ACTIVE","BLOCKED","DELETED"],"title":"Status"},"publishTime":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Publishtime"},"duration":{"anyOf":[{"type":"string","maxLength":30,"pattern":"^\\d+(?:\\.\\d{1,9})?s$"},{"type":"null"}],"title":"Duration"},"cuePoints":{"anyOf":[{"items":{"type":"string","maxLength":30,"pattern":"^\\d+(?:\\.\\d{1,9})?s$"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Cuepoints"},"thumbnailUrl":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Thumbnailurl"},"metadata":{"anyOf":[{"$ref":"#/components/schemas/VideoMetadata"},{"type":"null"}]},"gracenoteMetadata":{"anyOf":[{"$ref":"#/components/schemas/Gracenote"},{"type":"null"}]},"syndicationMetadata":{"anyOf":[{"$ref":"#/components/schemas/Syndication"},{"type":"null"}]},"dynamicAdInsertionMetadata":{"anyOf":[{"$ref":"#/components/schemas/Dai"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["title","updateTime","status"],"title":"VideoBaseline"},"VideoIngest":{"properties":{"videoFormat":{"anyOf":[{"type":"string","enum":["VIDEO_FORMAT_UNSPECIFIED","HLS","DASH"]},{"type":"null"}],"title":"Videoformat"},"videoPreconditioned":{"anyOf":[{"type":"string","enum":["YES","NO"]},{"type":"null"}],"title":"Videopreconditioned"},"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Url"}},"additionalProperties":false,"type":"object","title":"VideoIngest"},"VideoMetadata":{"properties":{"keyValues":{"additionalProperties":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"type":"object","title":"Keyvalues"}},"additionalProperties":false,"type":"object","required":["keyValues"],"title":"VideoMetadata"},"VideoPayload":{"properties":{"mode":{"type":"string","const":"video_api","title":"Mode"},"video_content":{"$ref":"#/components/schemas/VideoBaseline"}},"additionalProperties":false,"type":"object","required":["mode","video_content"],"title":"VideoPayload"},"WebhookDelivery":{"properties":{"delivery_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Delivery Id"},"event_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Event Id"},"webhook_endpoint_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Webhook Endpoint Id"},"status":{"type":"string","enum":["pending","delivered","failed"],"title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"last_http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Http Status"},"next_attempt_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$"},{"type":"null"}],"title":"Next Attempt At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"}},"additionalProperties":false,"type":"object","required":["delivery_id","event_id","webhook_endpoint_id","status","attempts","last_http_status","next_attempt_at","last_error"],"title":"WebhookDelivery"},"WebhookEndpoint":{"properties":{"webhook_endpoint_id":{"type":"string","pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Webhook Endpoint Id"},"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"events":{"items":{"type":"string","enum":["batch.completed","batch.completed_with_errors","batch.failed","batch.cancelled","connection.action_required","export.completed","export.failed"]},"type":"array","title":"Events"},"status":{"type":"string","enum":["active","disabled"],"title":"Status"},"secret_revision":{"type":"integer","minimum":1.0,"title":"Secret Revision"},"created_at":{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(?:\\.\\d{1,9})?Z$","title":"Created At"}},"additionalProperties":false,"type":"object","required":["webhook_endpoint_id","url","name","events","status","secret_revision","created_at"],"title":"WebhookEndpoint"},"WebhookIn":{"properties":{"url":{"type":"string","maxLength":2048,"title":"Url","description":"Public https URL that receives `POST {\"events\": [...]}`."},"secret":{"anyOf":[{"type":"string","maxLength":128,"minLength":16},{"type":"null"}],"title":"Secret","description":"HMAC secret. Omit it to let Interactive Layers generate one."}},"type":"object","required":["url"],"title":"WebhookIn","examples":[{"url":"https://partner.example.com/interactivelayers/webhook"}]},"WebhookOut":{"properties":{"key":{"$ref":"#/components/schemas/KeyOut"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret","description":"Shown only in this response."}},"type":"object","required":["key"],"title":"WebhookOut"},"WebhookTestOut":{"properties":{"delivered":{"type":"boolean","title":"Delivered"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["delivered"],"title":"WebhookTestOut"},"WindowSelection":{"properties":{"live_window":{"$ref":"#/components/schemas/LiveWindow"}},"additionalProperties":false,"type":"object","required":["live_window"],"title":"WindowSelection"},"WorkError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"retryable":{"type":"boolean","title":"Retryable"},"provider_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Provider Status"},"stage":{"type":"string","title":"Stage"},"occurred_at":{"type":"string","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["code","message","retryable","provider_status","stage","occurred_at"],"title":"WorkError"},"backend__api__v1__ad_providers__Capabilities":{"properties":{"campaign_read":{"type":"boolean","title":"Campaign Read"},"context_matching":{"type":"boolean","title":"Context Matching"},"client_vast":{"type":"boolean","title":"Client Vast"},"ssai_signals":{"type":"boolean","title":"Ssai Signals"}},"type":"object","required":["campaign_read","context_matching","client_vast","ssai_signals"],"title":"Capabilities"},"backend__api__v1__ad_providers__ProfileOut":{"properties":{"provider":{"type":"string","enum":["gam","springserve","iadserver"],"title":"Provider"},"connection_status":{"type":"string","enum":["connected","disconnected"],"title":"Connection Status"},"connection_id":{"type":"string","title":"Connection Id"},"connection_name":{"type":"string","title":"Connection Name"},"remote_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remote Account"},"capabilities":{"$ref":"#/components/schemas/backend__api__v1__ad_providers__Capabilities"},"ad_profile_id":{"type":"string","title":"Ad Profile Id"},"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"name":{"type":"string","title":"Name"},"enabled":{"type":"boolean","title":"Enabled"},"delivery_mode":{"type":"string","enum":["client_vast","ssai_signals"],"title":"Delivery Mode"},"match_lead_seconds":{"type":"integer","title":"Match Lead Seconds"},"links":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Links"},"publisher_blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Publisher Blocks"}},"type":"object","required":["provider","connection_status","connection_id","connection_name","remote_account","capabilities","ad_profile_id","inventory_id","name","enabled","delivery_mode","match_lead_seconds","links","publisher_blocks"],"title":"ProfileOut"},"backend__api__v1__vod_operations__ProfileOut":{"properties":{"gam_profile_id":{"type":"string","title":"Gam Profile Id"},"name":{"type":"string","title":"Name"},"enabled":{"type":"boolean","title":"Enabled"},"oauth_connected":{"type":"boolean","title":"Oauth Connected"},"network_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network Code"},"ad_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Unit"},"match_lead_seconds":{"type":"integer","title":"Match Lead Seconds"},"links":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Links"}},"type":"object","required":["gam_profile_id","name","enabled","oauth_connected","network_code","ad_unit","match_lead_seconds","links"],"title":"ProfileOut"},"backend__content__contracts__Capabilities":{"properties":{"inventory":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Inventory","default":"unverified"},"metadata":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Metadata","default":"unverified"},"media_read":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Media Read","default":"unverified"},"renewable_source":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Renewable Source","default":"unverified"},"immutable_version":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Immutable Version","default":"unverified"},"hls":{"type":"string","enum":["verified","unverified","unsupported"],"title":"Hls","default":"unverified"},"checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checked At"}},"additionalProperties":false,"type":"object","title":"Capabilities"},"FieldError":{"additionalProperties":false,"properties":{"pointer":{"title":"Pointer","type":"string"},"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["pointer","code","message"],"title":"FieldError","type":"object"},"Problem":{"additionalProperties":false,"properties":{"type":{"title":"Type","type":"string"},"title":{"title":"Title","type":"string"},"status":{"title":"Status","type":"integer"},"detail":{"title":"Detail","type":"string"},"instance":{"title":"Instance","type":"string"},"code":{"title":"Code","type":"string"},"request_id":{"pattern":"^[a-z]+_[A-Za-z0-9_-]{8,64}$","title":"Request Id","type":"string"},"retryable":{"title":"Retryable","type":"boolean"},"errors":{"anyOf":[{"items":{"$ref":"#/components/schemas/FieldError"},"type":"array"},{"type":"null"}],"default":null,"title":"Errors"}},"required":["type","title","status","detail","instance","code","request_id","retryable"],"title":"Problem","type":"object"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","description":"Partner API key (`ck_…`). Created by Interactive Layers; shown only once.","in":"header","name":"X-API-Key"},"ContentKey":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"AdRouter","description":"Advertising routing, simulation, delivery and reports per project."},{"name":"Advertising providers","description":"GAM and SpringServe connections, profiles and read-only campaign synchronization."},{"name":"Keys","description":"The calling API key and its signed webhook."},{"name":"Campaigns","description":"Signal campaigns: categories, keywords and the external ids written into break markers when the context matches."},{"name":"Brand policies","description":"A brand's own exclusions, stored once with immutable versions, suggested exclusions per sector and a text test of a policy."},{"name":"Sources","description":"Realtime sources (HLS or YouTube) in `signal` or `ssai` mode and their enriched output manifest."},{"name":"Live signals","description":"A project's live signals and the files the live analysis reads, generated from them."},{"name":"Live analysis","description":"Live sessions analysed by Interactive Layers for a partner app: phrases of audio and frames in, transcript, decision and visual veto out."},{"name":"Events","description":"Events of your sources: opportunities, break signals, brand-safety holds."},{"name":"Assets","description":"Create, list, retrieve, rename and delete private video assets. Use asset_id as the input to a VOD analysis."},{"name":"VOD operations","description":"Evaluate campaigns from saved asset analyses, schedule airings and send playback notifications."},{"name":"VOD","description":"Ahead-of-time VOD scans, faster than real time: transcript, opportunities, brand-safety holds, a targeting signal per break and the enriched VOD manifest."}]}