> ## 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.

# Legacy VOD scan by URL

> Generate an enriched VOD manifest from a supported URL.

Choose this workflow when your integration uses an enriched HLS output. Send exactly one of `hls_url`, `mp4_url` or `youtube_url`. Use an HTTPS media playlist ending with `EXT-X-ENDLIST` and MPEG-TS segments for HLS. An asset-based scan is a separate mode for reusable evidence. [Asset catalog](https://docs.interactivelayers.com/assets.md)

```bash theme={null}
curl -fsS "$INTERACTIVE_LAYERS_BASE/v1/vod/scans" \
  -H "X-API-Key: $INTERACTIVE_LAYERS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"hls_url":"https://cdn.example/vod/episode-12.m3u8","cue_points":[120,300],"mode":"signal"}'
```

Save `scan_id` from the HTTP 202 response. Poll `GET /v1/vod/scans/{scan_id}` or use the `vod.scan.completed` event. The scan can pass through `queued`, `downloading`, `transcribing`, `analyzing` and `rendering` before `done`, `failed` or `cancelled`. The `progress` object includes `percent`, `stage` and `detail`.

* Read `/result` after `done` for the transcript, opportunities, safety holds and breaks. While the scan runs, `/transcript?format=txt` provides the lines available so far.
* Open `/output.m3u8` without sending the key. The link itself grants access. Verify that the media playlist ends with `EXT-X-ENDLIST` and that markers align with a known cue.
* Cancel or remove a scan through `DELETE /v1/vod/scans/{scan_id}`.

Origin breaks are merged with explicit `cue_points`. `break_interval_seconds` proposes breaks only in the absence of both. `mode: "ssai"` can generate in-band supers in this VOD workflow. Live segment replacement belongs to the compatible live SSAI workflow. [Markers](https://docs.interactivelayers.com/markers.md) · [Webhooks](https://docs.interactivelayers.com/webhooks.md)


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