Saltar al contenido principal
POST
Start a VOD scan

Autorizaciones

X-API-Key
string
header
requerido

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

Cuerpo

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.

Rango requerido: 30 <= x <= 3600
mode
enum<string>
predeterminado:signal

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

Opciones disponibles:
signal,
ssai
marker_profile
enum<string>
predeterminado:interactivelayers

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

Opciones disponibles:
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

Respuesta

Successful Response

scan_id
string
requerido
status
enum<string>
requerido
Opciones disponibles:
queued,
downloading,
transcribing,
analyzing,
rendering,
done,
failed,
cancelled
progress
Progress · object
requerido
source
Source · object
requerido
mode
string
requerido
result_url
string
requerido
created_at
string
requerido
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