---
title: "Compile timeline"
method: POST
path: "/timeline"
---

# Compile timeline

`POST /timeline`

## Request body

- object
  - `request_type` 'compile', required
  - `timeline` Timeline[], required
    - `video_id` string
    - `clips` object[]
      - `start` number
      - `end` number
      - `volume` number

## Response `200`

Timeline compilation result

- object
  - `success` boolean
  - `data` object
    - `stream_url` string

---

[API](https://skmtc.net/video-db/apis/videodb-server-api.md) · [All operations](https://skmtc.net/video-db/apis/videodb-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/video-db/videodb-server-api/versions/21b1d1d3eae8/schema)
