Saltar al contenido principal
POST
Create and start a source

Autorizaciones

X-API-Key
string
header
requerido

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

Cuerpo

application/json
name
string
predeterminado:Source
Required string length: 1 - 80
hls_url
string | null

Live HLS media playlist (https, .m3u8).

Maximum string length: 2048
youtube_url
string | null

YouTube live or video URL.

Maximum string length: 300
mode
enum<string>
predeterminado:signal

signal: program untouched, break markers enriched with the targeting signal. ssai: Interactive Layers replaces break segments and adds in-band supers.

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

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.

Opciones disponibles:
interactivelayers,
interactivelayers_cue,
ottera,
clipma,
clipma_cue
output_delay_seconds
number
predeterminado:30

Output delay behind the origin (time for the AI to analyse).

Rango requerido: 6 <= x <= 300
break_interval_seconds
integer
predeterminado:600

Spacing of the breaks Interactive Layers opens when break_mode=auto (multiple of 30).

Rango requerido: 60 <= x <= 3600
break_mode
enum<string>
predeterminado:origin

origin: breaks signalled by the origin (CUE-OUT/DATERANGE). auto: Interactive Layers opens a break every break_interval_seconds.

Opciones disponibles:
origin,
auto

Respuesta

Successful Response

source_id
string
requerido
name
string
requerido
status
string
requerido
source_kind
string
requerido
mode
string
requerido
marker_profile
string
requerido
break_mode
string
requerido
output_delay_seconds
number
requerido
break_interval_seconds
integer
requerido
output_hls_url
string
requerido

Enriched output manifest (no auth: the source id is the capability).

created_at
number
requerido
status_reason
string | null
playback_url
string | null