> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interactivelayers.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Live sources

> Create a source, read its HLS output and verify the break signal.

Use a partner key with `sources:write` to create a source and `sources:read` to inspect it. Send either an HTTPS media playlist in `hls_url` or a supported `youtube_url`. A signal output preserves the origin's media segments. An enabled SSAI integration can add in-band lower thirds and replace segments during breaks.

```bash theme={null}
curl -fsS "$INTERACTIVE_LAYERS_BASE/v1/sources" \
  -H "X-API-Key: $INTERACTIVE_LAYERS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"FAST test","hls_url":"https://origin.example/live.m3u8","mode":"signal","marker_profile":"interactivelayers_cue","output_delay_seconds":30,"break_mode":"origin"}'
```

| Field | Supported values |
| - | - |
| `marker_profile` | `interactivelayers`, `interactivelayers_cue` or the experimental `ottera` alias. |
| `output_delay_seconds` | 6–300. Start at 30 for signal mode and compare observed delay with analysis latency. |
| `break_mode` | `origin` uses cues from the source. `auto` proposes breaks. |
| `break_interval_seconds` | In `auto` mode, a multiple of 30 between 60 and 3600 seconds. |

Save `source_id` and use `GET /v1/sources/{source_id}` to watch the state transition from `starting` to `live`. Fetch the returned `output_hls_url` without a key. The URL grants access to the manifest. Share it only with authorized recipients for private content.

During a known break, compare the marker ID and program time in the media playlist with `GET /v1/sources/{source_id}/signals`. Use `/opportunities` on the same source to review detected moments. Stop the test source with `DELETE /v1/sources/{source_id}` after checking the output. [HLS marker contract](https://docs.interactivelayers.com/markers.md)

## Choose continuous signaling or scheduled airings

If your encoder already marks breaks in a continuous feed, use signal mode with origin cues. Confirm that your stitcher reads the output HLS profile and compare one break ID and time with playout. If your playout schedules catalog videos, use airings and report the actual on-air start. A GAM DAI preview with `delivery_status=not_sent` prepares a request for review. Check insertion and impressions in the stream and in provider logs.

[Playout API](https://docs.interactivelayers.com/vod-operations.md) · [Live / FAST visual guide in Academy](https://knowledgehub.interactivelayers.com/academy/rol/integraciones/live-fast)

If you already use GAM DAI Full Service, InteractiveLayers prepares the contextual JSON. Saving the network code and asset key in Settings → FAST identifies the event for preview. To submit the JSON, enable your playout provider’s connector or implement it in the publisher backend. The connector needs the Google Ad Manager Video API, an authorized service account, and an advance notification with the ID, expected time, offset, duration, and original cue-out. IL requires that cue-out for preview, and Google documents it as optional. If the notice is late or IL rejects the scene, skip contextual submission and let playout and GAM follow publisher policy. The lesson includes both exercises and the evidence to collect in IL, Google, and delivery reports. [A FAST channel with GAM DAI](https://knowledgehub.interactivelayers.com/academy/rol/integraciones/canal-fast-gam-dai)

If the FAST channel uses AWS Elemental MediaTailor, its stitcher builds the HLS manifest for the player. The lesson shows how MediaTailor requests the cut through InteractiveLayers AdRouter and resolves the VAST response from the destination ad server. [A FAST channel with AWS MediaTailor](https://knowledgehub.interactivelayers.com/academy/rol/integraciones/canal-fast-aws-mediatailor)

With live processing enabled in a test environment, you can also use InteractiveLayers as the HLS inserter. Register a compatible source with `mode: "ssai"` and `break_mode: "origin"`, prepare a local test ad, and play the HLS output from InteractiveLayers. [A FAST channel with InteractiveLayers ad insertion](https://knowledgehub.interactivelayers.com/academy/rol/integraciones/canal-fast-insercion-interactivelayers)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.