Skip to main content
POST
Start a VOD scan

Authorizations

X-API-Key
string
header
required

Partner API key (ck_…). Created by Interactive Layers; shown only once.

Body

application/json
asset_id
string | null

Owned asset ID. Produces an analysis-only scan with no output manifest.

Required string length: 1 - 80
topics
string[] | null

Analysis topics for asset_id. Defaults to the owner's topics.

Required array length: 1 - 30 elements
hls_url
string | null

VOD HLS media playlist (https, with #EXT-X-ENDLIST, MPEG-TS).

Maximum string length: 2048
mp4_url
string | null

Progressive MP4 (https).

Maximum string length: 2048
youtube_url
string | null

YouTube video (not a live).

Maximum string length: 300
cue_points
number[]

Break start times in seconds from the start of the VOD. Merged with the origin's own CUE-OUT/DATERANGE breaks.

Maximum array length: 200
break_interval_seconds
integer | null

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.

Required range: 30 <= x <= 3600
mode
enum<string>
default:signal

signal: markers only. ssai: markers + in-band supers (ad segment replacement is not available for VOD in v1).

Available options:
signal,
ssai
marker_profile
enum<string>
default:interactivelayers

Break marker profile (see Sources). clipma and clipma_cue are deprecated aliases of interactivelayers and interactivelayers_cue.

Available options:
interactivelayers,
interactivelayers_cue,
ottera,
clipma,
clipma_cue
campaign_ids
string[] | null

Restrict the scan to these campaigns (default: all of yours).

Maximum array length: 50

Response

Successful Response

scan_id
string
required
status
enum<string>
required
Available options:
queued,
downloading,
transcribing,
analyzing,
rendering,
done,
failed,
cancelled
progress
Progress · object
required
source
Source · object
required
mode
string
required
result_url
string
required
created_at
string
required
error
string | null
duration_seconds
number | null
output_hls_url
string | null

Enriched VOD manifest; set only when done.

started_at
string | null
finished_at
string | null