# Clips API reference

Base URL `https://api.beplan.io/v1`. Every operation is listed with its scope, permission, inputs, answers, errors and an example. Conventions: https://beplan.io/docs/api.md. OpenAPI document: https://beplan.io/docs/api/openapi.json.

## Get the Clips hours

`GET /organizations/{organizationId}/clip-usage` · operationId `clips.usage.get`

- Scope: `clips:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns the organization's Clips hours for the current period, all in seconds: what the plan grants, rollover, packs, what was used, what is held by videos in progress (`inUseSeconds`) and what is left (`availableSeconds`), with when the period resets (ISO 8601 UTC). Totals are organization-wide even for a token given only some workspaces; the per-workspace breakdown (`workspaces`, only for members who manage billing) and the workspaces' caps list only the workspaces the token was given. Prices are integers in the currency's minor unit (`priceMinor`, cents, with `currency`); the float `priceUsd` next to them is deprecated. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required, ClipUsage)
  - `meterMode` (string, required): one of `shadow`, `enforced`.
  - `plan` (object, required)
    - `type` (string, required): one of `free`, `starter`, `growth`, `pro`, `studio`, `creator` (may gain values).
    - `billing` (string, required): one of `monthly`, `annual`, `trial`, `free`.
    - `clipSecondsPerMonth` (integer, required): at least 0.
  - `period` (object, required)
    - `kind` (string, required): one of `monthly`, `trial`, `free_sample` (may gain values).
    - `startsAt` (string (date-time), required)
    - `resetsAt` (string (date-time), required, nullable)
  - `grantedSeconds` (integer, required): at least 0.
  - `rolloverSeconds` (integer, required): at least 0.
  - `rolloverExpiresAt` (string (date-time), required, nullable)
  - `rolloverPending` (boolean, required)
  - `packSeconds` (integer, required): at least 0.
  - `packs` (array of object, required)
    - `id` (string (uuid), required)
    - `seconds` (integer, required): at least 0.
    - `remainingSeconds` (integer, required): at least 0.
    - `expiresAt` (string (date-time), required)
  - `usedSeconds` (integer, required): at least 0.
  - `inUseSeconds` (integer, required): at least 0.
  - `inUseProjects` (integer, required): at least 0.
  - `debtSeconds` (integer, required): at least 0.
  - `borrowedSeconds` (integer, required): at least 0.
  - `availableSeconds` (integer, required): at least 0.
  - `autoClipFloorSeconds` (integer, required): at least 0.
  - `nextPlan` (object, required, nullable)
    - `type` (string, required): one of `free`, `starter`, `growth`, `pro`, `studio`, `creator`.
    - `clipSecondsPerMonth` (integer, required): at least 0.
    - `priceUsd` (number, required): Deprecated: use `priceMinor` and `currency`. The price in US dollars, as a float. at least 0.
    - `priceMinor` (integer, optional): The price in the currency's minor unit (cents for USD), an integer. at least 0.
    - `currency` (string, optional, ClipPriceCurrency): The ISO 4217 currency of `priceMinor`. one of `USD`.
  - `packOffer` (object, required, nullable)
    - `seconds` (integer, required): at least 0.
    - `priceUsd` (number, required): Deprecated: use `priceMinor` and `currency`. The price in US dollars, as a float. at least 0.
    - `priceMinor` (integer, optional): The price in the currency's minor unit (cents for USD), an integer. at least 0.
    - `currency` (string, optional, ClipPriceCurrency): The ISO 4217 currency of `priceMinor`. one of `USD`.
  - `freeSample` (object, required, nullable)
    - `verified` (boolean, required)
    - `askForClipsLeft` (integer, required): at least 0.
    - `segmentOverridesLeft` (integer, required): at least 0.
  - `unusedRefundAvailable` (boolean, required)
  - `workspaces` (array of object, required, nullable)
    - `workspaceId` (string (uuid), required)
    - `usedSeconds` (integer, required): at least 0.
    - `inUseSeconds` (integer, required): at least 0.
  - `workspaceLimits` (array of object, required)
    - `workspaceId` (string (uuid), required)
    - `capSeconds` (integer, required): at least 0.
    - `usedSeconds` (integer, required): at least 0.
    - `availableSeconds` (integer, required): at least 0.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: This month's hours**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/clip-usage" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "meterMode": "enforced",
    "plan": {
      "type": "starter",
      "billing": "monthly",
      "clipSecondsPerMonth": 36000
    },
    "period": {
      "kind": "monthly",
      "startsAt": "2026-11-01T00:00:00.000Z",
      "resetsAt": "2026-12-01T00:00:00.000Z"
    },
    "grantedSeconds": 36000,
    "rolloverSeconds": 0,
    "rolloverExpiresAt": null,
    "rolloverPending": false,
    "packSeconds": 0,
    "packs": [],
    "usedSeconds": 9420,
    "inUseSeconds": 0,
    "inUseProjects": 0,
    "debtSeconds": 0,
    "borrowedSeconds": 0,
    "availableSeconds": 26580,
    "autoClipFloorSeconds": 3600,
    "nextPlan": {
      "type": "studio",
      "clipSecondsPerMonth": 108000,
      "priceUsd": 99,
      "priceMinor": 9900,
      "currency": "USD"
    },
    "packOffer": {
      "seconds": 36000,
      "priceUsd": 15,
      "priceMinor": 1500,
      "currency": "USD"
    },
    "freeSample": null,
    "unusedRefundAvailable": false,
    "workspaces": [
      {
        "workspaceId": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
        "usedSeconds": 9420,
        "inUseSeconds": 0
      }
    ],
    "workspaceLimits": []
  }
}
```


## Get a clip export

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-exports/{exportId}` · operationId `clips.exports.get`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns a zip export of several clips started in the app: its `status` (`queued`, `rendering`, `zipping`, `ready`, `failed`), progress, the clips whose render failed and, once ready, a `downloadUrl` signed for 15 minutes. A zip lives 24 hours after it is ready (`expiresAt`); after that the export is not found. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `exportId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required)
  - `export` (object, required, ClipExport)
    - `id` (string (uuid), required)
    - `status` (string, required): one of `queued`, `rendering`, `zipping`, `ready`, `failed` (may gain values).
    - `clipCount` (integer, required): from 1 to 50.
    - `ratio` (string, required): one of `9:16`, `1:1`, `16:9`, `4:5`.
    - `resolution` (string, required): one of `1080p`, `1440p`, `2160p`.
    - `includeCaptions` (boolean, required)
    - `progress` (number, required): from 0 to 1.
    - `failedClipIds` (array of string (uuid), required)
    - `downloadUrl` (string, required, nullable)
    - `expiresAt` (string (date-time), required, nullable)
    - `createdAt` (string (date-time), required)
    - `completedAt` (string (date-time), required, nullable)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_EXPORT_NOT_FOUND` | This download doesn't exist or expired. Export the clips again. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A ready zip**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-exports/2f8a6c4e-1b3d-4f5a-9e7c-6b0d2a4f8c35" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "export": {
      "id": "2f8a6c4e-1b3d-4f5a-9e7c-6b0d2a4f8c35",
      "status": "ready",
      "clipCount": 5,
      "ratio": "9:16",
      "resolution": "1080p",
      "includeCaptions": true,
      "progress": 1,
      "failedClipIds": [],
      "downloadUrl": "https://storage.beplan.io/clips/…/export.zip?X-Amz-Signature=…",
      "expiresAt": "2026-11-25T22:20:00.000Z",
      "createdAt": "2026-11-18T22:10:00.000Z",
      "completedAt": "2026-11-18T22:18:30.000Z"
    }
  }
}
```


## List Clips videos

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects` · operationId `clipProjects.list`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Lists the videos imported into the workspace's Clips (each one a project), newest first, with where each stands: `status` (`blocked` waits for someone in the app, with a `blockedReason`; `awaiting_upload`, `queued`, `processing`; `ready`; `ready_partial` when part of the video failed; `failed`; `cancelled`), the `stage` label, `progress` from 0 to 1, the expected times in `eta`, how many Top picks and More moments it found and its best score (0–100). Times are milliseconds of the source video; dates are ISO 8601 UTC. Filter by `status`, `mode` or `filter` (`ready`, `inProgress`, `needsYou`). Paginated with `limit` (1–100, default 25) and the opaque `cursor` of the previous page. Then list a video's clips with `clips.list`. `appUrl` is the video's page in Beplan, for a person to open while signed in (not an API address). Nothing here starts analysis, AI or rendering of new clips: importing videos and making new clips happen in the Beplan app. Thumbnail and poster URLs are signed for about an hour and download URLs for 15 minutes: fetch them again rather than storing them. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `limit` | query | integer | no | from 1 to 100 |
| `cursor` | query | string | no | at most 512 characters |
| `status` | query | string (blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled) | no |  |
| `mode` | query | string (moments, repurpose) | no |  |
| `filter` | query | string (all, ready, inProgress, needsYou) | no |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string (uuid), required)
  - `title` (string, required)
  - `mode` (string, required): one of `moments`, `repurpose`.
  - `sourceKind` (string, required): one of `upload`, `twitch`, `youtube`, `kick`, `drive`, `dropbox`, `media_library` (may gain values).
  - `channelName` (string, required, nullable)
  - `thumbnailUrl` (string, required, nullable)
  - `sourceDurationMs` (integer, required, nullable): at least 0.
  - `range` (object, required, nullable, MsRange)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
  - `status` (string, required): one of `blocked`, `awaiting_upload`, `queued`, `processing`, `ready`, `ready_partial`, `failed`, `cancelled` (may gain values).
  - `blockedReason` (string, required, nullable): one of `over_quota`, `rights_confirmation`, `stream_live`, `queued_for_reset`, `source_blocked` (may gain values).
  - `stage` (string, required): one of `uploading`, `fetching`, `analysing`, `finding`, `editing`, `done` (may gain values).
  - `progress` (number, required): from 0 to 1.
  - `etaSeconds` (integer, required, nullable): at least 0.
  - `eta` (object, required, ClipProjectEta)
    - `firstClipAt` (string (date-time), required, nullable)
    - `allClipsAt` (string (date-time), required, nullable)
    - `lowConfidence` (boolean, required)
    - `reason` (string, required): one of `normal`, `gpu_waking`, `queued_concurrency`, `queued_capacity`, `evening_hold`, `capacity_unavailable` (may gain values).
  - `topPickCount` (integer, required): at least 0.
  - `moreMomentsCount` (integer, required): at least 0.
  - `bestScore` (integer, required, nullable): from 0 to 100.
  - `families` (array of object, required)
    - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
    - `seconds` (number, required): at least 0.
  - `countedSeconds` (integer, required, nullable): at least 0.
  - `originalAvailableUntil` (string (date-time), required, nullable)
  - `platformExpiresAt` (string (date-time), required, nullable)
  - `canRefetchSource` (boolean, required)
  - `ribbon` (object, required, ClipProjectRibbon)
    - `segments` (array of object, required): at most 64 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
      - `label` (string, required, nullable)
    - `coverage` (array of object, required): at most 128 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
    - `markers` (array of object, required): at most 50 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `clipId` (string (uuid), required)
      - `band` (string, required): one of `great`, `good`, `fair`.
  - `facts` (array of object, required): at most 3 items.
    - `key` (string, required): matches `^[a-z][a-zA-Z0-9]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
    - `at` (string (date-time), required)
  - `errorCode` (string, required, nullable)
  - `errorReason` (string, required, nullable): one of `private`, `subscriber_only`, `expired`, `removed`, `region_blocked`, `live`, `youtube_blocked`, `invalid_media`, `age_restricted`, `blocked`, `rate_limited` (may gain values).
  - `sourceFetch` (object, required, nullable, ClipSourceFetch)
    - `phase` (string, required): one of `waiting`, `probing`, `downloading`, `storing`.
    - `percent` (integer, required, nullable): from 0 to 100.
  - `sourceUrl` (string, required, nullable): default null.
  - `retryRequested` (boolean, required): default false.
  - `appUrl` (string, optional): The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
- `page` (object, required)
  - `nextCursor` (string, required, nullable)
  - `hasMore` (boolean, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Ready videos**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects?filter=ready&limit=25" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "id": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
      "title": "Friday horror stream",
      "mode": "moments",
      "sourceKind": "twitch",
      "channelName": "nightowl",
      "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
      "sourceDurationMs": 10800000,
      "range": null,
      "status": "ready",
      "blockedReason": null,
      "stage": "done",
      "progress": 1,
      "etaSeconds": null,
      "eta": {
        "firstClipAt": null,
        "allClipsAt": null,
        "lowConfidence": false,
        "reason": "normal"
      },
      "topPickCount": 12,
      "moreMomentsCount": 31,
      "bestScore": 91,
      "families": [
        {
          "family": "gaming",
          "seconds": 9420
        }
      ],
      "countedSeconds": 9420,
      "originalAvailableUntil": "2026-12-18T21:00:00.000Z",
      "platformExpiresAt": "2026-12-04T21:00:00.000Z",
      "canRefetchSource": true,
      "ribbon": {
        "segments": [],
        "coverage": [],
        "markers": []
      },
      "facts": [],
      "errorCode": null,
      "errorReason": null,
      "sourceFetch": null,
      "sourceUrl": "https://www.twitch.tv/videos/2299900112",
      "retryRequested": false,
      "createdAt": "2026-11-18T21:04:00.000Z",
      "updatedAt": "2026-11-18T22:31:00.000Z"
    }
  ],
  "page": {
    "nextCursor": null,
    "hasMore": false
  }
}
```


## Get a Clips video

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}` · operationId `clipProjects.get`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns one imported video in full: its card (see `clipProjects.list`) plus every recent fact, the analysed coverage, the hours it held, used and got back (`hours`, in seconds), its detected language and the follow-up searches run on it (`reselects`). Poll it (every few seconds at most) to follow a video in progress. `uploadProgress` is only filled for the app's own uploads. `appUrl` is the video's page in Beplan, for a person to open while signed in (not an API address). Thumbnail and poster URLs are signed for about an hour and download URLs for 15 minutes: fetch them again rather than storing them. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |
| `uploadProgress` | query | string (0, 1) | no |  |

**200 OK**

- `data` (object, required, ClipProjectDetail)
  - `id` (string (uuid), required)
  - `title` (string, required)
  - `mode` (string, required): one of `moments`, `repurpose`.
  - `sourceKind` (string, required): one of `upload`, `twitch`, `youtube`, `kick`, `drive`, `dropbox`, `media_library` (may gain values).
  - `channelName` (string, required, nullable)
  - `thumbnailUrl` (string, required, nullable)
  - `sourceDurationMs` (integer, required, nullable): at least 0.
  - `range` (object, required, nullable, MsRange)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
  - `status` (string, required): one of `blocked`, `awaiting_upload`, `queued`, `processing`, `ready`, `ready_partial`, `failed`, `cancelled` (may gain values).
  - `blockedReason` (string, required, nullable): one of `over_quota`, `rights_confirmation`, `stream_live`, `queued_for_reset`, `source_blocked` (may gain values).
  - `stage` (string, required): one of `uploading`, `fetching`, `analysing`, `finding`, `editing`, `done` (may gain values).
  - `progress` (number, required): from 0 to 1.
  - `etaSeconds` (integer, required, nullable): at least 0.
  - `eta` (object, required, ClipProjectEta)
    - `firstClipAt` (string (date-time), required, nullable)
    - `allClipsAt` (string (date-time), required, nullable)
    - `lowConfidence` (boolean, required)
    - `reason` (string, required): one of `normal`, `gpu_waking`, `queued_concurrency`, `queued_capacity`, `evening_hold`, `capacity_unavailable` (may gain values).
  - `topPickCount` (integer, required): at least 0.
  - `moreMomentsCount` (integer, required): at least 0.
  - `bestScore` (integer, required, nullable): from 0 to 100.
  - `families` (array of object, required)
    - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
    - `seconds` (number, required): at least 0.
  - `countedSeconds` (integer, required, nullable): at least 0.
  - `originalAvailableUntil` (string (date-time), required, nullable)
  - `platformExpiresAt` (string (date-time), required, nullable)
  - `canRefetchSource` (boolean, required)
  - `ribbon` (object, required, ClipProjectRibbon)
    - `segments` (array of object, required): at most 64 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
      - `label` (string, required, nullable)
    - `coverage` (array of object, required): at most 128 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
    - `markers` (array of object, required): at most 50 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `clipId` (string (uuid), required)
      - `band` (string, required): one of `great`, `good`, `fair`.
  - `facts` (array of object, required): at most 30 items.
    - `key` (string, required): matches `^[a-z][a-zA-Z0-9]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
    - `at` (string (date-time), required)
  - `errorCode` (string, required, nullable)
  - `errorReason` (string, required, nullable): one of `private`, `subscriber_only`, `expired`, `removed`, `region_blocked`, `live`, `youtube_blocked`, `invalid_media`, `age_restricted`, `blocked`, `rate_limited` (may gain values).
  - `sourceFetch` (object, required, nullable, ClipSourceFetch)
    - `phase` (string, required): one of `waiting`, `probing`, `downloading`, `storing`.
    - `percent` (integer, required, nullable): from 0 to 100.
  - `sourceUrl` (string, required, nullable)
  - `retryRequested` (boolean, required): default false.
  - `appUrl` (string, optional): The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `undoUntil` (string (date-time), required, nullable)
  - `awaitingEmailVerification` (boolean, required)
  - `readOnly` (boolean, required)
  - `language` (string, required, nullable): matches `^[a-z]{2,3}(-[A-Z]{2})?$`.
  - `wave` (object, required)
    - `current` (integer, required, nullable): at least 1.
    - `final` (boolean, required)
  - `coverage` (array of object, required)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
    - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
  - `hours` (object, required)
    - `heldSeconds` (integer, required): at least 0.
    - `committedSeconds` (integer, required): at least 0.
    - `countedSeconds` (integer, required): at least 0.
    - `refundedSeconds` (integer, required): at least 0.
    - `returnedAt` (string (date-time), required, nullable)
    - `excluded` (object, required)
      - `intermission` (integer, required): at least 0.
      - `muted` (integer, required): at least 0.
      - `deadAir` (integer, required): at least 0.
      - `failedChunks` (integer, required): at least 0.
  - `refundEligibleUntil` (string (date-time), required, nullable)
  - `copiedFrom` (object, required, nullable)
    - `projectId` (string (uuid), required)
    - `workspaceId` (string (uuid), required)
  - `reselects` (array of object, required)
    - `seq` (integer, required): at least 1.
    - `mode` (string, required): one of `prompt`, `segment_override`, `find_more`, `length`, `long`.
    - `prompt` (string, required, nullable)
    - `status` (string, required): one of `queued`, `running`, `done`, `failed`.
    - `clipCount` (integer, required): at least 0.
    - `createdAt` (string (date-time), required)
  - `uploadProgress` (object, required, nullable)
    - `uploadedParts` (integer, required): at least 0.
    - `partCount` (integer, required): at least 1.
  - `freeAi` (object, required, nullable)
    - `askForClipsLeft` (integer, required): at least 0.
    - `segmentOverridesLeft` (integer, required): at least 0.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A ready video**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "id": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    "title": "Friday horror stream",
    "mode": "moments",
    "sourceKind": "twitch",
    "channelName": "nightowl",
    "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
    "sourceDurationMs": 10800000,
    "range": null,
    "status": "ready",
    "blockedReason": null,
    "stage": "done",
    "progress": 1,
    "etaSeconds": null,
    "eta": {
      "firstClipAt": null,
      "allClipsAt": null,
      "lowConfidence": false,
      "reason": "normal"
    },
    "topPickCount": 12,
    "moreMomentsCount": 31,
    "bestScore": 91,
    "families": [
      {
        "family": "gaming",
        "seconds": 9420
      }
    ],
    "countedSeconds": 9420,
    "originalAvailableUntil": "2026-12-18T21:00:00.000Z",
    "platformExpiresAt": "2026-12-04T21:00:00.000Z",
    "canRefetchSource": true,
    "ribbon": {
      "segments": [
        {
          "fromMs": 0,
          "toMs": 600000,
          "family": "intermission",
          "label": "Starting soon"
        },
        {
          "fromMs": 600000,
          "toMs": 10020000,
          "family": "gaming",
          "label": "Phasmophobia"
        },
        {
          "fromMs": 10020000,
          "toMs": 10800000,
          "family": "just_chatting",
          "label": null
        }
      ],
      "coverage": [
        {
          "fromMs": 0,
          "toMs": 10800000,
          "state": "done"
        }
      ],
      "markers": [
        {
          "fromMs": 5421200,
          "toMs": 5467200,
          "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
          "band": "great"
        }
      ]
    },
    "facts": [
      {
        "key": "chat",
        "params": {
          "count": 18240
        },
        "at": "2026-11-18T21:06:00.000Z"
      },
      {
        "key": "game",
        "params": {
          "game": "Phasmophobia",
          "time": "0:10:00"
        },
        "at": "2026-11-18T21:12:00.000Z"
      }
    ],
    "errorCode": null,
    "errorReason": null,
    "sourceFetch": null,
    "sourceUrl": "https://www.twitch.tv/videos/2299900112",
    "retryRequested": false,
    "createdAt": "2026-11-18T21:04:00.000Z",
    "updatedAt": "2026-11-18T22:31:00.000Z",
    "undoUntil": null,
    "awaitingEmailVerification": false,
    "readOnly": false,
    "language": "en",
    "wave": {
      "current": 2,
      "final": true
    },
    "coverage": [
      {
        "fromMs": 0,
        "toMs": 10800000,
        "state": "done"
      }
    ],
    "hours": {
      "heldSeconds": 0,
      "committedSeconds": 9420,
      "countedSeconds": 9420,
      "refundedSeconds": 0,
      "returnedAt": null,
      "excluded": {
        "intermission": 600,
        "muted": 0,
        "deadAir": 780,
        "failedChunks": 0
      }
    },
    "refundEligibleUntil": "2026-11-25T22:31:00.000Z",
    "copiedFrom": null,
    "reselects": [],
    "uploadProgress": null,
    "freeAi": null
  }
}
```


## Rename a Clips video

`PATCH /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}` · operationId `clipProjects.update`

- Scope: `clips:write`
- Role permission: Import videos (`clips:import`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Renames a video (`title`, up to 300 characters). `range` (the part of the video to analyse, in microseconds; `null` = the whole video) can only change while the video waits for someone (`blocked`) or before its upload finished, and resizes the hours it holds (`402 CLIP_HOURS_EXHAUSTED` when they don't fit); it never starts the analysis, which is resumed in the app. Send at least one of the two. Returns the video in full. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `title` (string, optional): 1–300 characters.
- `range` (object, optional, nullable, UsRange): A part of the source video in microseconds (12 hours at most): `toUs` must be greater than `fromUs`.
  - `fromUs` (integer, required): from 0 to 43200000000.
  - `toUs` (integer, required): above 0 to 43200000000.

**200 OK**

- `data` (object, required, ClipProjectDetail)
  - `id` (string (uuid), required)
  - `title` (string, required)
  - `mode` (string, required): one of `moments`, `repurpose`.
  - `sourceKind` (string, required): one of `upload`, `twitch`, `youtube`, `kick`, `drive`, `dropbox`, `media_library` (may gain values).
  - `channelName` (string, required, nullable)
  - `thumbnailUrl` (string, required, nullable)
  - `sourceDurationMs` (integer, required, nullable): at least 0.
  - `range` (object, required, nullable, MsRange)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
  - `status` (string, required): one of `blocked`, `awaiting_upload`, `queued`, `processing`, `ready`, `ready_partial`, `failed`, `cancelled` (may gain values).
  - `blockedReason` (string, required, nullable): one of `over_quota`, `rights_confirmation`, `stream_live`, `queued_for_reset`, `source_blocked` (may gain values).
  - `stage` (string, required): one of `uploading`, `fetching`, `analysing`, `finding`, `editing`, `done` (may gain values).
  - `progress` (number, required): from 0 to 1.
  - `etaSeconds` (integer, required, nullable): at least 0.
  - `eta` (object, required, ClipProjectEta)
    - `firstClipAt` (string (date-time), required, nullable)
    - `allClipsAt` (string (date-time), required, nullable)
    - `lowConfidence` (boolean, required)
    - `reason` (string, required): one of `normal`, `gpu_waking`, `queued_concurrency`, `queued_capacity`, `evening_hold`, `capacity_unavailable` (may gain values).
  - `topPickCount` (integer, required): at least 0.
  - `moreMomentsCount` (integer, required): at least 0.
  - `bestScore` (integer, required, nullable): from 0 to 100.
  - `families` (array of object, required)
    - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
    - `seconds` (number, required): at least 0.
  - `countedSeconds` (integer, required, nullable): at least 0.
  - `originalAvailableUntil` (string (date-time), required, nullable)
  - `platformExpiresAt` (string (date-time), required, nullable)
  - `canRefetchSource` (boolean, required)
  - `ribbon` (object, required, ClipProjectRibbon)
    - `segments` (array of object, required): at most 64 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
      - `label` (string, required, nullable)
    - `coverage` (array of object, required): at most 128 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
    - `markers` (array of object, required): at most 50 items.
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `clipId` (string (uuid), required)
      - `band` (string, required): one of `great`, `good`, `fair`.
  - `facts` (array of object, required): at most 30 items.
    - `key` (string, required): matches `^[a-z][a-zA-Z0-9]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
    - `at` (string (date-time), required)
  - `errorCode` (string, required, nullable)
  - `errorReason` (string, required, nullable): one of `private`, `subscriber_only`, `expired`, `removed`, `region_blocked`, `live`, `youtube_blocked`, `invalid_media`, `age_restricted`, `blocked`, `rate_limited` (may gain values).
  - `sourceFetch` (object, required, nullable, ClipSourceFetch)
    - `phase` (string, required): one of `waiting`, `probing`, `downloading`, `storing`.
    - `percent` (integer, required, nullable): from 0 to 100.
  - `sourceUrl` (string, required, nullable)
  - `retryRequested` (boolean, required): default false.
  - `appUrl` (string, optional): The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `undoUntil` (string (date-time), required, nullable)
  - `awaitingEmailVerification` (boolean, required)
  - `readOnly` (boolean, required)
  - `language` (string, required, nullable): matches `^[a-z]{2,3}(-[A-Z]{2})?$`.
  - `wave` (object, required)
    - `current` (integer, required, nullable): at least 1.
    - `final` (boolean, required)
  - `coverage` (array of object, required)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
    - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
  - `hours` (object, required)
    - `heldSeconds` (integer, required): at least 0.
    - `committedSeconds` (integer, required): at least 0.
    - `countedSeconds` (integer, required): at least 0.
    - `refundedSeconds` (integer, required): at least 0.
    - `returnedAt` (string (date-time), required, nullable)
    - `excluded` (object, required)
      - `intermission` (integer, required): at least 0.
      - `muted` (integer, required): at least 0.
      - `deadAir` (integer, required): at least 0.
      - `failedChunks` (integer, required): at least 0.
  - `refundEligibleUntil` (string (date-time), required, nullable)
  - `copiedFrom` (object, required, nullable)
    - `projectId` (string (uuid), required)
    - `workspaceId` (string (uuid), required)
  - `reselects` (array of object, required)
    - `seq` (integer, required): at least 1.
    - `mode` (string, required): one of `prompt`, `segment_override`, `find_more`, `length`, `long`.
    - `prompt` (string, required, nullable)
    - `status` (string, required): one of `queued`, `running`, `done`, `failed`.
    - `clipCount` (integer, required): at least 0.
    - `createdAt` (string (date-time), required)
  - `uploadProgress` (object, required, nullable)
    - `uploadedParts` (integer, required): at least 0.
    - `partCount` (integer, required): at least 1.
  - `freeAi` (object, required, nullable)
    - `askForClipsLeft` (integer, required): at least 0.
    - `segmentOverridesLeft` (integer, required): at least 0.

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `CLIP_HOURS_EXHAUSTED` | You don't have enough clip hours left for this. Clip a part of it, get more hours or upgrade. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `CONFLICT` | This changed in the meantime. Refresh and try again. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Rename**

```bash
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Friday horror stream (Phasmophobia)"
}'
```

Answers 200:

```json
{
  "data": {
    "id": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    "title": "Friday horror stream (Phasmophobia)",
    "mode": "moments",
    "sourceKind": "twitch",
    "channelName": "nightowl",
    "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
    "sourceDurationMs": 10800000,
    "range": null,
    "status": "ready",
    "blockedReason": null,
    "stage": "done",
    "progress": 1,
    "etaSeconds": null,
    "eta": {
      "firstClipAt": null,
      "allClipsAt": null,
      "lowConfidence": false,
      "reason": "normal"
    },
    "topPickCount": 12,
    "moreMomentsCount": 31,
    "bestScore": 91,
    "families": [
      {
        "family": "gaming",
        "seconds": 9420
      }
    ],
    "countedSeconds": 9420,
    "originalAvailableUntil": "2026-12-18T21:00:00.000Z",
    "platformExpiresAt": "2026-12-04T21:00:00.000Z",
    "canRefetchSource": true,
    "ribbon": {
      "segments": [
        {
          "fromMs": 0,
          "toMs": 600000,
          "family": "intermission",
          "label": "Starting soon"
        },
        {
          "fromMs": 600000,
          "toMs": 10020000,
          "family": "gaming",
          "label": "Phasmophobia"
        },
        {
          "fromMs": 10020000,
          "toMs": 10800000,
          "family": "just_chatting",
          "label": null
        }
      ],
      "coverage": [
        {
          "fromMs": 0,
          "toMs": 10800000,
          "state": "done"
        }
      ],
      "markers": [
        {
          "fromMs": 5421200,
          "toMs": 5467200,
          "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
          "band": "great"
        }
      ]
    },
    "facts": [
      {
        "key": "chat",
        "params": {
          "count": 18240
        },
        "at": "2026-11-18T21:06:00.000Z"
      },
      {
        "key": "game",
        "params": {
          "game": "Phasmophobia",
          "time": "0:10:00"
        },
        "at": "2026-11-18T21:12:00.000Z"
      }
    ],
    "errorCode": null,
    "errorReason": null,
    "sourceFetch": null,
    "sourceUrl": "https://www.twitch.tv/videos/2299900112",
    "retryRequested": false,
    "createdAt": "2026-11-18T21:04:00.000Z",
    "updatedAt": "2026-11-19T08:15:00.000Z",
    "undoUntil": null,
    "awaitingEmailVerification": false,
    "readOnly": false,
    "language": "en",
    "wave": {
      "current": 2,
      "final": true
    },
    "coverage": [
      {
        "fromMs": 0,
        "toMs": 10800000,
        "state": "done"
      }
    ],
    "hours": {
      "heldSeconds": 0,
      "committedSeconds": 9420,
      "countedSeconds": 9420,
      "refundedSeconds": 0,
      "returnedAt": null,
      "excluded": {
        "intermission": 600,
        "muted": 0,
        "deadAir": 780,
        "failedChunks": 0
      }
    },
    "refundEligibleUntil": "2026-11-25T22:31:00.000Z",
    "copiedFrom": null,
    "reselects": [],
    "uploadProgress": null,
    "freeAi": null
  }
}
```


## Delete a Clips video

`DELETE /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}` · operationId `clipProjects.delete`

- Scope: `clips:write`
- Role permission: Delete clips (`clips:delete`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Deletes a video and all its clips: it stops any analysis in progress (its unused hours come back), disappears at once and its files are purged. Posts and media-library items already made from its clips stay. Answers `204` with no body. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Delete a video**

```bash
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 204 with no content.


## Stop a Clips video

`POST /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/cancel` · operationId `clipProjects.cancel`

- Scope: `clips:write`
- Role permission: Import videos (`clips:import`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Stops the analysis of a video that is still in progress. Before its first clip, every hour it held is given back; after it, the clips already found stay and only the analysed part counts. It can't be resumed. Answers `202` with the video (`status: "cancelled"`); `409 CLIP_PROJECT_NOT_CANCELLABLE` when it already finished. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |

**202 Accepted**

- `data` (object, required)
  - `project` (object, required, ClipProjectDetail)
    - `id` (string (uuid), required)
    - `title` (string, required)
    - `mode` (string, required): one of `moments`, `repurpose`.
    - `sourceKind` (string, required): one of `upload`, `twitch`, `youtube`, `kick`, `drive`, `dropbox`, `media_library` (may gain values).
    - `channelName` (string, required, nullable)
    - `thumbnailUrl` (string, required, nullable)
    - `sourceDurationMs` (integer, required, nullable): at least 0.
    - `range` (object, required, nullable, MsRange)
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
    - `status` (string, required): one of `blocked`, `awaiting_upload`, `queued`, `processing`, `ready`, `ready_partial`, `failed`, `cancelled` (may gain values).
    - `blockedReason` (string, required, nullable): one of `over_quota`, `rights_confirmation`, `stream_live`, `queued_for_reset`, `source_blocked` (may gain values).
    - `stage` (string, required): one of `uploading`, `fetching`, `analysing`, `finding`, `editing`, `done` (may gain values).
    - `progress` (number, required): from 0 to 1.
    - `etaSeconds` (integer, required, nullable): at least 0.
    - `eta` (object, required, ClipProjectEta)
      - `firstClipAt` (string (date-time), required, nullable)
      - `allClipsAt` (string (date-time), required, nullable)
      - `lowConfidence` (boolean, required)
      - `reason` (string, required): one of `normal`, `gpu_waking`, `queued_concurrency`, `queued_capacity`, `evening_hold`, `capacity_unavailable` (may gain values).
    - `topPickCount` (integer, required): at least 0.
    - `moreMomentsCount` (integer, required): at least 0.
    - `bestScore` (integer, required, nullable): from 0 to 100.
    - `families` (array of object, required)
      - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
      - `seconds` (number, required): at least 0.
    - `countedSeconds` (integer, required, nullable): at least 0.
    - `originalAvailableUntil` (string (date-time), required, nullable)
    - `platformExpiresAt` (string (date-time), required, nullable)
    - `canRefetchSource` (boolean, required)
    - `ribbon` (object, required, ClipProjectRibbon)
      - `segments` (array of object, required): at most 64 items.
        - `fromMs` (integer, required): at least 0.
        - `toMs` (integer, required): greater than 0.
        - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
        - `label` (string, required, nullable)
      - `coverage` (array of object, required): at most 128 items.
        - `fromMs` (integer, required): at least 0.
        - `toMs` (integer, required): greater than 0.
        - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
      - `markers` (array of object, required): at most 50 items.
        - `fromMs` (integer, required): at least 0.
        - `toMs` (integer, required): greater than 0.
        - `clipId` (string (uuid), required)
        - `band` (string, required): one of `great`, `good`, `fair`.
    - `facts` (array of object, required): at most 30 items.
      - `key` (string, required): matches `^[a-z][a-zA-Z0-9]{0,63}$`.
      - `params` (map of one of, required, ClipDisplayParams)
        - each value:
          - items (one of, required)
            - variant number (1):
              - items (number, required)
            - variant string (2):
              - items (string, required): at most 300 characters.
      - `at` (string (date-time), required)
    - `errorCode` (string, required, nullable)
    - `errorReason` (string, required, nullable): one of `private`, `subscriber_only`, `expired`, `removed`, `region_blocked`, `live`, `youtube_blocked`, `invalid_media`, `age_restricted`, `blocked`, `rate_limited` (may gain values).
    - `sourceFetch` (object, required, nullable, ClipSourceFetch)
      - `phase` (string, required): one of `waiting`, `probing`, `downloading`, `storing`.
      - `percent` (integer, required, nullable): from 0 to 100.
    - `sourceUrl` (string, required, nullable)
    - `retryRequested` (boolean, required): default false.
    - `appUrl` (string, optional): The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
    - `createdAt` (string (date-time), required)
    - `updatedAt` (string (date-time), required)
    - `undoUntil` (string (date-time), required, nullable)
    - `awaitingEmailVerification` (boolean, required)
    - `readOnly` (boolean, required)
    - `language` (string, required, nullable): matches `^[a-z]{2,3}(-[A-Z]{2})?$`.
    - `wave` (object, required)
      - `current` (integer, required, nullable): at least 1.
      - `final` (boolean, required)
    - `coverage` (array of object, required)
      - `fromMs` (integer, required): at least 0.
      - `toMs` (integer, required): greater than 0.
      - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped`.
    - `hours` (object, required)
      - `heldSeconds` (integer, required): at least 0.
      - `committedSeconds` (integer, required): at least 0.
      - `countedSeconds` (integer, required): at least 0.
      - `refundedSeconds` (integer, required): at least 0.
      - `returnedAt` (string (date-time), required, nullable)
      - `excluded` (object, required)
        - `intermission` (integer, required): at least 0.
        - `muted` (integer, required): at least 0.
        - `deadAir` (integer, required): at least 0.
        - `failedChunks` (integer, required): at least 0.
    - `refundEligibleUntil` (string (date-time), required, nullable)
    - `copiedFrom` (object, required, nullable)
      - `projectId` (string (uuid), required)
      - `workspaceId` (string (uuid), required)
    - `reselects` (array of object, required)
      - `seq` (integer, required): at least 1.
      - `mode` (string, required): one of `prompt`, `segment_override`, `find_more`, `length`, `long`.
      - `prompt` (string, required, nullable)
      - `status` (string, required): one of `queued`, `running`, `done`, `failed`.
      - `clipCount` (integer, required): at least 0.
      - `createdAt` (string (date-time), required)
    - `uploadProgress` (object, required, nullable)
      - `uploadedParts` (integer, required): at least 0.
      - `partCount` (integer, required): at least 1.
    - `freeAi` (object, required, nullable)
      - `askForClipsLeft` (integer, required): at least 0.
      - `segmentOverridesLeft` (integer, required): at least 0.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `CLIP_PROJECT_NOT_CANCELLABLE` | This video already finished processing, so there's nothing to cancel. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Stop a video**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/cancel" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
```

Answers 202:

```json
{
  "data": {
    "project": {
      "id": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
      "title": "Friday horror stream",
      "mode": "moments",
      "sourceKind": "twitch",
      "channelName": "nightowl",
      "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
      "sourceDurationMs": 10800000,
      "range": null,
      "status": "cancelled",
      "blockedReason": null,
      "stage": "finding",
      "progress": 0.42,
      "etaSeconds": null,
      "eta": {
        "firstClipAt": null,
        "allClipsAt": null,
        "lowConfidence": false,
        "reason": "normal"
      },
      "topPickCount": 4,
      "moreMomentsCount": 9,
      "bestScore": 91,
      "families": [
        {
          "family": "gaming",
          "seconds": 9420
        }
      ],
      "countedSeconds": 9420,
      "originalAvailableUntil": "2026-12-18T21:00:00.000Z",
      "platformExpiresAt": "2026-12-04T21:00:00.000Z",
      "canRefetchSource": true,
      "ribbon": {
        "segments": [
          {
            "fromMs": 0,
            "toMs": 600000,
            "family": "intermission",
            "label": "Starting soon"
          },
          {
            "fromMs": 600000,
            "toMs": 10020000,
            "family": "gaming",
            "label": "Phasmophobia"
          },
          {
            "fromMs": 10020000,
            "toMs": 10800000,
            "family": "just_chatting",
            "label": null
          }
        ],
        "coverage": [
          {
            "fromMs": 0,
            "toMs": 10800000,
            "state": "done"
          }
        ],
        "markers": [
          {
            "fromMs": 5421200,
            "toMs": 5467200,
            "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
            "band": "great"
          }
        ]
      },
      "facts": [
        {
          "key": "chat",
          "params": {
            "count": 18240
          },
          "at": "2026-11-18T21:06:00.000Z"
        },
        {
          "key": "game",
          "params": {
            "game": "Phasmophobia",
            "time": "0:10:00"
          },
          "at": "2026-11-18T21:12:00.000Z"
        }
      ],
      "errorCode": null,
      "errorReason": null,
      "sourceFetch": null,
      "sourceUrl": "https://www.twitch.tv/videos/2299900112",
      "retryRequested": false,
      "createdAt": "2026-11-18T21:04:00.000Z",
      "updatedAt": "2026-11-18T21:52:00.000Z",
      "undoUntil": null,
      "awaitingEmailVerification": false,
      "readOnly": false,
      "language": "en",
      "wave": {
        "current": 1,
        "final": true
      },
      "coverage": [
        {
          "fromMs": 0,
          "toMs": 10800000,
          "state": "done"
        }
      ],
      "hours": {
        "heldSeconds": 0,
        "committedSeconds": 9420,
        "countedSeconds": 9420,
        "refundedSeconds": 0,
        "returnedAt": null,
        "excluded": {
          "intermission": 600,
          "muted": 0,
          "deadAir": 780,
          "failedChunks": 0
        }
      },
      "refundEligibleUntil": "2026-11-25T22:31:00.000Z",
      "copiedFrom": null,
      "reselects": [],
      "uploadProgress": null,
      "freeAi": null
    }
  }
}
```


## List a video's clips

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/clips` · operationId `clips.list`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Lists the clips found in one video (ids from `clipProjects.list`), one shelf at a time: `shelf` = `top_pick` (default, the finished clips), `more_moments` (raw candidates not finished yet: their `status` is `candidate`), `about` (with `reselectSeq`), `long` or `replaced`. Each clip has its title, `score` (0–100) and `band`, the score's parts, why it was picked (`reason`, a template key with parameters), its start and length in milliseconds, content type, soft flags (copyrighted music, profanity… a flagged clip deserves a look before posting) and whether the team kept or discarded it. Sort with `sort` (`found`, `best`, `time`); filter by `length`, `family` or `filter`. Paginated with `limit` (1–100, default 25) and `cursor`. A clip's copy (titles, captions, hashtags per platform) and renders are on `clips.get`. `editorUrl` opens the clip in Beplan's editor, for a person signed in to Beplan (not an API address). Thumbnail and poster URLs are signed for about an hour and download URLs for 15 minutes: fetch them again rather than storing them. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |
| `limit` | query | integer | no | from 1 to 100 |
| `cursor` | query | string | no | at most 512 characters |
| `shelf` | query | string (top_pick, more_moments, about, long, replaced) | no |  |
| `reselectSeq` | query | integer | no | at least 1 |
| `sort` | query | string (found, best, time) | no |  |
| `length` | query | string (any, lt30, 30to60, gt60) | no |  |
| `family` | query | string (gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission) | no |  |
| `filter` | query | string (chat, kept, notPosted, flagged) | no |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string (uuid), required)
  - `projectId` (string (uuid), required)
  - `shelf` (string, required): one of `top_pick`, `more_moments` (may gain values).
  - `status` (string, required): one of `candidate`, `composing`, `ready`, `failed`, `deleted` (may gain values).
  - `origin` (string, required): one of `auto`, `manual`, `reselect`, `long`, `copy`, `split`, `duplicate` (may gain values).
  - `rank` (integer, required, nullable): at least 1.
  - `wave` (integer, required, nullable): at least 1.
  - `earlyPick` (boolean, required)
  - `wildcard` (boolean, required)
  - `loopable` (boolean, required)
  - `long` (boolean, required)
  - `title` (string, required)
  - `startMs` (integer, required): at least 0.
  - `durationMs` (integer, required): at least 0.
  - `score` (integer, required): from 0 to 100.
  - `band` (string, required): one of `great`, `good`, `fair`.
  - `scoreCurveVersion` (integer, required): at least 1.
  - `parts` (object, required)
    - `hook` (number, required): from 0 to 100.
    - `payoff` (number, required): from 0 to 100.
    - `context` (number, required): from 0 to 100.
    - `energy` (number, required): from 0 to 100.
  - `fitPercentile` (number, required, nullable): from 0 to 100.
  - `reason` (object, required, ClipDisplayKey)
    - `key` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `weakness` (object, required, nullable, ClipDisplayKey)
    - `key` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `signals` (array of object, required): at most 5 items.
    - `kind` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `eventId` (string, required, nullable): matches `^e[0-9]{1,7}$`.
    - `atMs` (integer, required): at least 0.
    - `earlier` (boolean, required)
    - `sourceMs` (integer, required): at least 0.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
  - `subtype` (string, required, nullable)
  - `gameName` (string, required, nullable)
  - `playbookBeta` (boolean, required)
  - `softFlags` (array of string, required): one of `third_party_video`, `copyrighted_music`, `profanity`, `sponsor_read` (may gain values).
  - `finalWatch` (string, required, nullable): one of `passed`, `fixed`, `demoted`, `flagged` (may gain values).
  - `thumbnailUrl` (string, required, nullable)
  - `feedback` (string, required, nullable): one of `kept`, `discarded`.
  - `discardReason` (string, required, nullable): one of `boring`, `wrong_cut`, `wrong_framing`, `not_my_style`, `private`, `wrong_part`, `other` (may gain values).
  - `editVersion` (integer, required): at least 0.
  - `latestRender` (object, required, nullable)
    - `id` (string (uuid), required)
    - `purpose` (string, required): one of `preview`, `download`, `drafts`, `export`.
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed`.
  - `previewRender` (object, required, nullable)
    - `id` (string (uuid), required)
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed`.
    - `progress` (number, required): from 0 to 1.
    - `url` (string, required, nullable)
  - `demoted` (boolean, required)
  - `replaced` (object, required, nullable)
    - `at` (string (date-time), required)
    - `byReselectSeq` (integer, required, nullable)
  - `reselectSeq` (integer, required, nullable): at least 1.
  - `flags` (object, required)
    - `hasChat` (boolean, required)
    - `posted` (boolean, required)
  - `retryRequested` (boolean, required): default false.
  - `editorUrl` (string, optional): The clip in Beplan's editor: a page for a person to open in Beplan while signed in; not an API address.
  - `createdAt` (string (date-time), required)
- `page` (object, required)
  - `nextCursor` (string, required, nullable)
  - `hasMore` (boolean, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Top picks, best first**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/clips?shelf=top_pick&sort=best" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "id": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
      "projectId": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
      "shelf": "top_pick",
      "status": "ready",
      "origin": "auto",
      "rank": 1,
      "wave": 1,
      "earlyPick": false,
      "wildcard": false,
      "loopable": false,
      "long": false,
      "title": "He heard it behind the door",
      "startMs": 5421200,
      "durationMs": 46000,
      "score": 91,
      "band": "great",
      "scoreCurveVersion": 1,
      "parts": {
        "hook": 88,
        "payoff": 95,
        "context": 72,
        "energy": 90
      },
      "fitPercentile": 84,
      "reason": {
        "key": "jumpscare_payoff",
        "params": {}
      },
      "weakness": null,
      "signals": [],
      "family": "gaming",
      "subtype": "horror",
      "gameName": "Phasmophobia",
      "playbookBeta": false,
      "softFlags": [],
      "finalWatch": "passed",
      "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
      "feedback": null,
      "discardReason": null,
      "editVersion": 1,
      "latestRender": null,
      "previewRender": null,
      "demoted": false,
      "replaced": null,
      "reselectSeq": null,
      "flags": {
        "hasChat": true,
        "posted": false
      },
      "retryRequested": false,
      "createdAt": "2026-11-18T21:40:00.000Z"
    }
  ],
  "page": {
    "nextCursor": null,
    "hasMore": false
  }
}
```


## Get a Clips video's timeline

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/timeline` · operationId `clipProjects.timeline.get`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns what the analysis found along the video, in milliseconds of the source: its parts by content type (`segments`, with the game name when known), which parts are analysed (`coverage`), skipped parts (`exclusions`), the platform's muted ranges and chapters, the strongest moments (`eventPeaks`) and where each clip sits (`clips`, with its score). Chapter titles come from the platform or the file. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `projectId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required, ClipTimeline)
  - `projectId` (string (uuid), required)
  - `durationMs` (integer, required, nullable): at least 0.
  - `range` (object, required, nullable, MsRange)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
  - `segments` (array of object, required)
    - `id` (string (uuid), required)
    - `key` (string, required): matches `^g[0-9]{1,5}(_[0-9]{1,5})?$`.
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): at least 0.
    - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
    - `subtype` (string, required, nullable)
    - `gameName` (string, required, nullable)
    - `modifiers` (array of string, required): one of `vtuber`, `multi_speaker`.
    - `presenter` (string, required, nullable): one of `human_cam`, `human_cutout`, `vtuber_2d`, `vtuber_3d`, `none`.
    - `playbookBeta` (boolean, required)
    - `overridden` (boolean, required)
    - `isMyMusic` (boolean, required)
    - `excluded` (boolean, required)
    - `clipCount` (integer, required): at least 0.
  - `coverage` (array of object, required)
    - `chunkIndex` (integer, required): at least 0.
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): at least 0.
    - `state` (string, required): one of `pending`, `analysing`, `done`, `failed`, `skipped` (may gain values).
  - `exclusions` (array of object, required)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
    - `kind` (string, required): one of `intermission`, `user_excluded`.
  - `mutedRanges` (array of object, required)
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): greater than 0.
  - `chapters` (array of object, required)
    - `title` (string, required)
    - `fromMs` (integer, required): at least 0.
  - `eventPeaks` (array of object, required)
    - `eventId` (string, required): matches `^e[0-9]{1,7}$`.
    - `type` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `atMs` (integer, required): at least 0.
    - `families` (array of string, required): one of `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`.
  - `clips` (array of object, required)
    - `clipId` (string (uuid), required)
    - `shelf` (string, required): one of `top_pick`, `more_moments`.
    - `status` (string, required): one of `candidate`, `composing`, `ready`, `failed`, `deleted` (may gain values).
    - `fromMs` (integer, required): at least 0.
    - `toMs` (integer, required): at least 0.
    - `score` (integer, required): from 0 to 100.
    - `band` (string, required): one of `great`, `good`, `fair`.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_PROJECT_NOT_FOUND` | This video doesn't exist in this workspace or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A video's timeline**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/timeline" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "projectId": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    "durationMs": 10800000,
    "range": null,
    "segments": [
      {
        "id": "8d2f4a6c-1e3b-4d5f-9a7c-2e4b6d8f0a13",
        "key": "g1",
        "fromMs": 0,
        "toMs": 600000,
        "family": "intermission",
        "subtype": null,
        "gameName": null,
        "modifiers": [],
        "presenter": null,
        "playbookBeta": false,
        "overridden": false,
        "isMyMusic": false,
        "excluded": true,
        "clipCount": 0
      },
      {
        "id": "9e3a5b7d-2f4c-4e6a-8b8d-3f5c7e9a1b24",
        "key": "g2",
        "fromMs": 600000,
        "toMs": 10020000,
        "family": "gaming",
        "subtype": "horror",
        "gameName": "Phasmophobia",
        "modifiers": [
          "multi_speaker"
        ],
        "presenter": "human_cam",
        "playbookBeta": false,
        "overridden": false,
        "isMyMusic": false,
        "excluded": false,
        "clipCount": 41
      }
    ],
    "coverage": [
      {
        "chunkIndex": 0,
        "fromMs": 0,
        "toMs": 5400000,
        "state": "done"
      },
      {
        "chunkIndex": 1,
        "fromMs": 5400000,
        "toMs": 10800000,
        "state": "done"
      }
    ],
    "exclusions": [
      {
        "fromMs": 0,
        "toMs": 600000,
        "kind": "intermission"
      }
    ],
    "mutedRanges": [],
    "chapters": [
      {
        "title": "Starting soon",
        "fromMs": 0
      },
      {
        "title": "Phasmophobia",
        "fromMs": 600000
      }
    ],
    "eventPeaks": [
      {
        "eventId": "e1042",
        "type": "jumpscare",
        "atMs": 5448900,
        "families": [
          "A",
          "C"
        ]
      }
    ],
    "clips": [
      {
        "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
        "shelf": "top_pick",
        "status": "ready",
        "fromMs": 5421200,
        "toMs": 5467200,
        "score": 91,
        "band": "great"
      }
    ]
  }
}
```


## List clip style templates

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates` · operationId `clips.styleTemplates.list`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Lists the workspace's saved clip styles. A style sets how new clips look (captions, hook text, layout, chat card, logo, end card, edit intensity, camera and zooms); fonts must be ones the renderer bundles. A template applies to new clips of its content type (`family`; `null` = every type) when `isDefault`; one default per type. Not paginated. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string (uuid), required)
  - `name` (string, required)
  - `family` (string, required, nullable): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
  - `isDefault` (boolean, required)
  - `style` (object, required, ClipStyle)
    - `captions` (object, required)
      - `preset` (string, required): one of `auto`, `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `sizePx` (integer, required): from 40 to 120.
      - `highlightColor` (string, required): matches `^#[0-9a-f]{6}$`.
      - `speakerColors` (boolean, required)
      - `emoji` (one of, required)
        - variant boolean (1):
          - items (boolean, required)
        - variant string (2):
          - items (string, required): always `"auto"`.
      - `profanity` (string, required): one of `show`, `mask`.
      - `position` (string, optional): one of `auto`, `top`, `middle`, `bottom`, `seam`.
      - `perLine` (integer, optional): from 1 to 5.
      - `upper` (boolean, optional)
      - `speakerPalette` (array of string, optional): at most 4 items; each matches `^#[0-9a-f]{6}$`.
    - `hook` (object, required)
      - `enabled` (boolean, required)
      - `mode` (string, required, nullable): one of `flash`, `until_trigger`, `persistent`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `preset` (string, optional): one of `label`, `highlight`, `bold`, `outline`, `plain`.
      - `colour` (string, optional): matches `^#[0-9a-f]{6}$`.
      - `bg` (string, optional, nullable): matches `^#[0-9a-f]{6}$`.
    - `layout` (object, required)
      - `facecamHeightPct` (number, required, nullable): from 25 to 50.
      - `fitBackground` (string, required): one of `blur`, `black`, `brand`.
    - `chatCard` (object, required)
      - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
      - `hideAuthor` (boolean, required)
    - `brand` (object, required)
      - `logoMediaId` (string (uuid), required, nullable)
      - `corner` (string, required): one of `top_left`, `top_right`, `bottom_left`, `bottom_right`.
    - `endCard` (object, required)
      - `enabled` (boolean, required)
    - `editIntensity` (string, required): one of `light`, `balanced`, `tight`.
    - `camera` (object, optional)
      - `profile` (string, required): one of `steady`, `balanced`, `dynamic`.
    - `zooms` (string, optional): one of `off`, `subtle`, `punchy`.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: One template**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "id": "7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29",
      "name": "Horror nights",
      "family": "gaming",
      "isDefault": true,
      "style": {
        "captions": {
          "preset": "auto",
          "font": "geist",
          "sizePx": 64,
          "highlightColor": "#ffd400",
          "speakerColors": true,
          "emoji": "auto",
          "profanity": "mask"
        },
        "hook": {
          "enabled": true,
          "mode": "flash",
          "font": "geist"
        },
        "layout": {
          "facecamHeightPct": null,
          "fitBackground": "blur"
        },
        "chatCard": {
          "style": "beplan",
          "hideAuthor": false
        },
        "brand": {
          "logoMediaId": null,
          "corner": "top_right"
        },
        "endCard": {
          "enabled": false
        },
        "editIntensity": "balanced"
      },
      "createdAt": "2026-11-10T10:00:00.000Z",
      "updatedAt": "2026-11-10T10:00:00.000Z"
    }
  ]
}
```


## Save a clip style template

`POST /organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates` · operationId `clips.styleTemplates.create`

- Scope: `clips:write`
- Role permission: Edit clips (`clips:edit`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Saves a clip style in the workspace. A style sets how new clips look (captions, hook text, layout, chat card, logo, end card, edit intensity, camera and zooms); fonts must be ones the renderer bundles. A template applies to new clips of its content type (`family`; `null` = every type) when `isDefault`; one default per type. Setting `isDefault` replaces the previous default of the same type. `brand.logoMediaId` must be a ready image of the workspace's media library. Clips already made keep their style. Answers `201` with the template. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `name` (string, required): 1–80 characters.
- `family` (string, optional, nullable): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
- `style` (object, required, ClipStyle)
  - `captions` (object, required)
    - `preset` (string, required): one of `auto`, `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
    - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
    - `sizePx` (integer, required): from 40 to 120.
    - `highlightColor` (string, required): matches `^#[0-9a-f]{6}$`.
    - `speakerColors` (boolean, required)
    - `emoji` (one of, required)
      - variant boolean (1):
        - items (boolean, required)
      - variant string (2):
        - items (string, required): always `"auto"`.
    - `profanity` (string, required): one of `show`, `mask`.
    - `position` (string, optional): one of `auto`, `top`, `middle`, `bottom`, `seam`.
    - `perLine` (integer, optional): from 1 to 5.
    - `upper` (boolean, optional)
    - `speakerPalette` (array of string, optional): at most 4 items; each matches `^#[0-9a-f]{6}$`.
  - `hook` (object, required)
    - `enabled` (boolean, required)
    - `mode` (string, required, nullable): one of `flash`, `until_trigger`, `persistent`.
    - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
    - `preset` (string, optional): one of `label`, `highlight`, `bold`, `outline`, `plain`.
    - `colour` (string, optional): matches `^#[0-9a-f]{6}$`.
    - `bg` (string, optional, nullable): matches `^#[0-9a-f]{6}$`.
  - `layout` (object, required)
    - `facecamHeightPct` (number, required, nullable): from 25 to 50.
    - `fitBackground` (string, required): one of `blur`, `black`, `brand`.
  - `chatCard` (object, required)
    - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
    - `hideAuthor` (boolean, required)
  - `brand` (object, required)
    - `logoMediaId` (string (uuid), required, nullable)
    - `corner` (string, required): one of `top_left`, `top_right`, `bottom_left`, `bottom_right`.
  - `endCard` (object, required)
    - `enabled` (boolean, required)
  - `editIntensity` (string, required): one of `light`, `balanced`, `tight`.
  - `camera` (object, optional)
    - `profile` (string, required): one of `steady`, `balanced`, `dynamic`.
  - `zooms` (string, optional): one of `off`, `subtle`, `punchy`.
- `isDefault` (boolean, optional)

**201 Created**

- `data` (object, required, ClipStyleTemplate)
  - `id` (string (uuid), required)
  - `name` (string, required)
  - `family` (string, required, nullable): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
  - `isDefault` (boolean, required)
  - `style` (object, required, ClipStyle)
    - `captions` (object, required)
      - `preset` (string, required): one of `auto`, `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `sizePx` (integer, required): from 40 to 120.
      - `highlightColor` (string, required): matches `^#[0-9a-f]{6}$`.
      - `speakerColors` (boolean, required)
      - `emoji` (one of, required)
        - variant boolean (1):
          - items (boolean, required)
        - variant string (2):
          - items (string, required): always `"auto"`.
      - `profanity` (string, required): one of `show`, `mask`.
      - `position` (string, optional): one of `auto`, `top`, `middle`, `bottom`, `seam`.
      - `perLine` (integer, optional): from 1 to 5.
      - `upper` (boolean, optional)
      - `speakerPalette` (array of string, optional): at most 4 items; each matches `^#[0-9a-f]{6}$`.
    - `hook` (object, required)
      - `enabled` (boolean, required)
      - `mode` (string, required, nullable): one of `flash`, `until_trigger`, `persistent`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `preset` (string, optional): one of `label`, `highlight`, `bold`, `outline`, `plain`.
      - `colour` (string, optional): matches `^#[0-9a-f]{6}$`.
      - `bg` (string, optional, nullable): matches `^#[0-9a-f]{6}$`.
    - `layout` (object, required)
      - `facecamHeightPct` (number, required, nullable): from 25 to 50.
      - `fitBackground` (string, required): one of `blur`, `black`, `brand`.
    - `chatCard` (object, required)
      - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
      - `hideAuthor` (boolean, required)
    - `brand` (object, required)
      - `logoMediaId` (string (uuid), required, nullable)
      - `corner` (string, required): one of `top_left`, `top_right`, `bottom_left`, `bottom_right`.
    - `endCard` (object, required)
      - `enabled` (boolean, required)
    - `editIntensity` (string, required): one of `light`, `balanced`, `tight`.
    - `camera` (object, optional)
      - `profile` (string, required): one of `steady`, `balanced`, `dynamic`.
    - `zooms` (string, optional): one of `off`, `subtle`, `punchy`.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A default style for gaming**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Horror nights",
  "family": "gaming",
  "style": {
    "captions": {
      "preset": "auto",
      "font": "geist",
      "sizePx": 64,
      "highlightColor": "#ffd400",
      "speakerColors": true,
      "emoji": "auto",
      "profanity": "mask"
    },
    "hook": {
      "enabled": true,
      "mode": "flash",
      "font": "geist"
    },
    "layout": {
      "facecamHeightPct": null,
      "fitBackground": "blur"
    },
    "chatCard": {
      "style": "beplan",
      "hideAuthor": false
    },
    "brand": {
      "logoMediaId": null,
      "corner": "top_right"
    },
    "endCard": {
      "enabled": false
    },
    "editIntensity": "balanced"
  },
  "isDefault": true
}'
```

Answers 201:

```json
{
  "data": {
    "id": "7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29",
    "name": "Horror nights",
    "family": "gaming",
    "isDefault": true,
    "style": {
      "captions": {
        "preset": "auto",
        "font": "geist",
        "sizePx": 64,
        "highlightColor": "#ffd400",
        "speakerColors": true,
        "emoji": "auto",
        "profanity": "mask"
      },
      "hook": {
        "enabled": true,
        "mode": "flash",
        "font": "geist"
      },
      "layout": {
        "facecamHeightPct": null,
        "fitBackground": "blur"
      },
      "chatCard": {
        "style": "beplan",
        "hideAuthor": false
      },
      "brand": {
        "logoMediaId": null,
        "corner": "top_right"
      },
      "endCard": {
        "enabled": false
      },
      "editIntensity": "balanced"
    },
    "createdAt": "2026-11-10T10:00:00.000Z",
    "updatedAt": "2026-11-10T10:00:00.000Z"
  }
}
```


## Edit a clip style template

`PATCH /organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates/{templateId}` · operationId `clips.styleTemplates.update`

- Scope: `clips:write`
- Role permission: Edit clips (`clips:edit`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Changes a template's `name`, `family`, `style` (replaced whole) or `isDefault`; send at least one. Ids come from `clips.styleTemplates.list`. Answers with the template. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `templateId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `name` (string, optional): 1–80 characters.
- `family` (string, optional, nullable): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission`.
- `style` (object, optional, ClipStyle)
  - `captions` (object, required)
    - `preset` (string, required): one of `auto`, `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
    - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
    - `sizePx` (integer, required): from 40 to 120.
    - `highlightColor` (string, required): matches `^#[0-9a-f]{6}$`.
    - `speakerColors` (boolean, required)
    - `emoji` (one of, required)
      - variant boolean (1):
        - items (boolean, required)
      - variant string (2):
        - items (string, required): always `"auto"`.
    - `profanity` (string, required): one of `show`, `mask`.
    - `position` (string, optional): one of `auto`, `top`, `middle`, `bottom`, `seam`.
    - `perLine` (integer, optional): from 1 to 5.
    - `upper` (boolean, optional)
    - `speakerPalette` (array of string, optional): at most 4 items; each matches `^#[0-9a-f]{6}$`.
  - `hook` (object, required)
    - `enabled` (boolean, required)
    - `mode` (string, required, nullable): one of `flash`, `until_trigger`, `persistent`.
    - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
    - `preset` (string, optional): one of `label`, `highlight`, `bold`, `outline`, `plain`.
    - `colour` (string, optional): matches `^#[0-9a-f]{6}$`.
    - `bg` (string, optional, nullable): matches `^#[0-9a-f]{6}$`.
  - `layout` (object, required)
    - `facecamHeightPct` (number, required, nullable): from 25 to 50.
    - `fitBackground` (string, required): one of `blur`, `black`, `brand`.
  - `chatCard` (object, required)
    - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
    - `hideAuthor` (boolean, required)
  - `brand` (object, required)
    - `logoMediaId` (string (uuid), required, nullable)
    - `corner` (string, required): one of `top_left`, `top_right`, `bottom_left`, `bottom_right`.
  - `endCard` (object, required)
    - `enabled` (boolean, required)
  - `editIntensity` (string, required): one of `light`, `balanced`, `tight`.
  - `camera` (object, optional)
    - `profile` (string, required): one of `steady`, `balanced`, `dynamic`.
  - `zooms` (string, optional): one of `off`, `subtle`, `punchy`.
- `isDefault` (boolean, optional)

**200 OK**

- `data` (object, required, ClipStyleTemplate)
  - `id` (string (uuid), required)
  - `name` (string, required)
  - `family` (string, required, nullable): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
  - `isDefault` (boolean, required)
  - `style` (object, required, ClipStyle)
    - `captions` (object, required)
      - `preset` (string, required): one of `auto`, `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `sizePx` (integer, required): from 40 to 120.
      - `highlightColor` (string, required): matches `^#[0-9a-f]{6}$`.
      - `speakerColors` (boolean, required)
      - `emoji` (one of, required)
        - variant boolean (1):
          - items (boolean, required)
        - variant string (2):
          - items (string, required): always `"auto"`.
      - `profanity` (string, required): one of `show`, `mask`.
      - `position` (string, optional): one of `auto`, `top`, `middle`, `bottom`, `seam`.
      - `perLine` (integer, optional): from 1 to 5.
      - `upper` (boolean, optional)
      - `speakerPalette` (array of string, optional): at most 4 items; each matches `^#[0-9a-f]{6}$`.
    - `hook` (object, required)
      - `enabled` (boolean, required)
      - `mode` (string, required, nullable): one of `flash`, `until_trigger`, `persistent`.
      - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
      - `preset` (string, optional): one of `label`, `highlight`, `bold`, `outline`, `plain`.
      - `colour` (string, optional): matches `^#[0-9a-f]{6}$`.
      - `bg` (string, optional, nullable): matches `^#[0-9a-f]{6}$`.
    - `layout` (object, required)
      - `facecamHeightPct` (number, required, nullable): from 25 to 50.
      - `fitBackground` (string, required): one of `blur`, `black`, `brand`.
    - `chatCard` (object, required)
      - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
      - `hideAuthor` (boolean, required)
    - `brand` (object, required)
      - `logoMediaId` (string (uuid), required, nullable)
      - `corner` (string, required): one of `top_left`, `top_right`, `bottom_left`, `bottom_right`.
    - `endCard` (object, required)
      - `enabled` (boolean, required)
    - `editIntensity` (string, required): one of `light`, `balanced`, `tight`.
    - `camera` (object, optional)
      - `profile` (string, required): one of `steady`, `balanced`, `dynamic`.
    - `zooms` (string, optional): one of `off`, `subtle`, `punchy`.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_STYLE_TEMPLATE_NOT_FOUND` | This clip style doesn't exist in this workspace. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Rename**

```bash
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Horror nights v2"
}'
```

Answers 200:

```json
{
  "data": {
    "id": "7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29",
    "name": "Horror nights v2",
    "family": "gaming",
    "isDefault": true,
    "style": {
      "captions": {
        "preset": "auto",
        "font": "geist",
        "sizePx": 64,
        "highlightColor": "#ffd400",
        "speakerColors": true,
        "emoji": "auto",
        "profanity": "mask"
      },
      "hook": {
        "enabled": true,
        "mode": "flash",
        "font": "geist"
      },
      "layout": {
        "facecamHeightPct": null,
        "fitBackground": "blur"
      },
      "chatCard": {
        "style": "beplan",
        "hideAuthor": false
      },
      "brand": {
        "logoMediaId": null,
        "corner": "top_right"
      },
      "endCard": {
        "enabled": false
      },
      "editIntensity": "balanced"
    },
    "createdAt": "2026-11-10T10:00:00.000Z",
    "updatedAt": "2026-11-10T10:00:00.000Z"
  }
}
```


## Delete a clip style template

`DELETE /organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates/{templateId}` · operationId `clips.styleTemplates.delete`

- Scope: `clips:write`
- Role permission: Edit clips (`clips:edit`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Deletes a template. Clips already made keep the style they were made with. Answers `204` with no body. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `templateId` | path | string (uuid) | yes |  |

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_STYLE_TEMPLATE_NOT_FOUND` | This clip style doesn't exist in this workspace. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Delete one**

```bash
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 204 with no content.


## Add clips to Drafts

`POST /organizations/{organizationId}/workspaces/{workspaceId}/clips/add-to-drafts` · operationId `clips.addToDrafts`

- Scope: `clips:write`
- Role permission: Create posts (`post:create`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Turns finished clips into idea posts on the Drafts board, one post per clip (1–50 distinct clips, ids from `clips.list`), each with its video and its copy pack: every connected account on a platform the copy covers gets that platform's caption, hashtags and title. The video is rendered in the background (`ratio`, default `9:16`; `resolution`, default `1080p`, 1440p and 2160p on paid plans); the post's media shows as processing until it is ready, and scheduling waits for it (`POST_MEDIA_PROCESSING`). Rendering a finished clip doesn't use Clips hours. Then schedule each post with `posts.schedule` (`postId` in the answer). Through the API a More moment nobody opened yet (`status: "candidate"`) is refused with `409 CLIP_NOT_READY` (`details.reason: "not_composed"`): finishing it is done in the app. One unknown clip id refuses the whole request and nothing is written. Needs the permission to create posts. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `items` (array of object, required): 1 to 50 clips, each at most once. 1–50 items.
  - `clipId` (string (uuid), required)
  - `ratio` (string, optional): one of `9:16`, `1:1`, `16:9`, `4:5`.
  - `resolution` (string, optional): one of `1080p`, `1440p`, `2160p`.

**201 Created**

- `data` (object, required)
  - `posts` (array of object, required)
    - `postId` (string (uuid), required)
    - `clipId` (string (uuid), required)
    - `mediaId` (string (uuid), required)
    - `renderId` (string (uuid), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_NOT_FOUND` | This clip doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `SOCIAL_ACCOUNT_NOT_FOUND` | This account isn't connected to this workspace anymore. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `CLIP_NOT_READY` | This isn't ready yet. Try again in a moment. |
| 413 | `MEDIA_STORAGE_FULL` | Your media storage is full. Delete some media or add storage to your plan. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Two clips in 9:16**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/add-to-drafts" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "items": [
    {
      "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24"
    },
    {
      "clipId": "e5b7d9f1-3a2c-4e6b-8d0f-1a3c5e7b9d42",
      "ratio": "9:16"
    }
  ]
}'
```

Answers 201:

```json
{
  "data": {
    "posts": [
      {
        "postId": "4d6f8a2c-7e1b-4c3d-9a5f-2b8e0c6d4a71",
        "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
        "mediaId": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
        "renderId": "9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17"
      }
    ]
  }
}
```


## Get a clip

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}` · operationId `clips.get`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns one clip in full: its card (see `clips.list`), its `copyPack` (a title, caption, hashtags and first comment per platform, plus hook lines; `null` until written), its quality checks (`qa`), its renders (each with a `downloadUrl` once `ready`), the source ranges it uses and its edit document (`editDoc`, the Beplan editor's own format: read it, don't rely on its inner shape). `editorUrl` opens the clip in Beplan's editor, for a person signed in to Beplan (not an API address). To post it, use `clips.addToDrafts`. Thumbnail and poster URLs are signed for about an hour and download URLs for 15 minutes: fetch them again rather than storing them. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `clipId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required, ClipDetail)
  - `id` (string (uuid), required)
  - `projectId` (string (uuid), required)
  - `shelf` (string, required): one of `top_pick`, `more_moments` (may gain values).
  - `status` (string, required): one of `candidate`, `composing`, `ready`, `failed`, `deleted` (may gain values).
  - `origin` (string, required): one of `auto`, `manual`, `reselect`, `long`, `copy`, `split`, `duplicate` (may gain values).
  - `rank` (integer, required, nullable): at least 1.
  - `wave` (integer, required, nullable): at least 1.
  - `earlyPick` (boolean, required)
  - `wildcard` (boolean, required)
  - `loopable` (boolean, required)
  - `long` (boolean, required)
  - `title` (string, required)
  - `startMs` (integer, required): at least 0.
  - `durationMs` (integer, required): at least 0.
  - `score` (integer, required): from 0 to 100.
  - `band` (string, required): one of `great`, `good`, `fair`.
  - `scoreCurveVersion` (integer, required): at least 1.
  - `parts` (object, required)
    - `hook` (number, required): from 0 to 100.
    - `payoff` (number, required): from 0 to 100.
    - `context` (number, required): from 0 to 100.
    - `energy` (number, required): from 0 to 100.
  - `fitPercentile` (number, required, nullable): from 0 to 100.
  - `reason` (object, required, ClipDisplayKey)
    - `key` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `weakness` (object, required, nullable, ClipDisplayKey)
    - `key` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `signals` (array of object, required): at most 5 items.
    - `kind` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
    - `eventId` (string, required, nullable): matches `^e[0-9]{1,7}$`.
    - `atMs` (integer, required): at least 0.
    - `earlier` (boolean, required)
    - `sourceMs` (integer, required): at least 0.
    - `params` (map of one of, required, ClipDisplayParams)
      - each value:
        - items (one of, required)
          - variant number (1):
            - items (number, required)
          - variant string (2):
            - items (string, required): at most 300 characters.
  - `family` (string, required): one of `gaming`, `just_chatting`, `reaction`, `podcast`, `irl`, `tutorial`, `music`, `edited_video`, `esports`, `intermission` (may gain values).
  - `subtype` (string, required, nullable)
  - `gameName` (string, required, nullable)
  - `playbookBeta` (boolean, required)
  - `softFlags` (array of string, required): one of `third_party_video`, `copyrighted_music`, `profanity`, `sponsor_read` (may gain values).
  - `finalWatch` (string, required, nullable): one of `passed`, `fixed`, `demoted`, `flagged` (may gain values).
  - `thumbnailUrl` (string, required, nullable)
  - `feedback` (string, required, nullable): one of `kept`, `discarded`.
  - `discardReason` (string, required, nullable): one of `boring`, `wrong_cut`, `wrong_framing`, `not_my_style`, `private`, `wrong_part`, `other` (may gain values).
  - `editVersion` (integer, required): at least 0.
  - `latestRender` (object, required, nullable)
    - `id` (string (uuid), required)
    - `purpose` (string, required): one of `preview`, `download`, `drafts`, `export`.
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed`.
  - `previewRender` (object, required, nullable)
    - `id` (string (uuid), required)
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed`.
    - `progress` (number, required): from 0 to 1.
    - `url` (string, required, nullable)
  - `demoted` (boolean, required)
  - `replaced` (object, required, nullable)
    - `at` (string (date-time), required)
    - `byReselectSeq` (integer, required, nullable)
  - `reselectSeq` (integer, required, nullable): at least 1.
  - `flags` (object, required)
    - `hasChat` (boolean, required)
    - `posted` (boolean, required)
  - `retryRequested` (boolean, required): default false.
  - `editorUrl` (string, optional): The clip in Beplan's editor: a page for a person to open in Beplan while signed in; not an API address.
  - `createdAt` (string (date-time), required)
  - `editDoc` (object, required, nullable, AnyClipEditDoc): The clip editor's internal document (unversioned). `null` while `candidate`, and always for an integration.
    - variant schema: "beplan.clip-edit/1":
      - `schema` (string, required): always `"beplan.clip-edit/1"`.
      - `clipId` (string (uuid), required)
      - `projectId` (string (uuid), required)
      - `source` (object, required, Source): The source video: size, frame rate, duration, colour, timebase map reference and audio tracks.
        - `width` (integer, required): from 160 to 8192.
        - `height` (integer, required): from 160 to 8192.
        - `fps` (object, required, Rational): A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          - `num` (integer, required): from 1 to 240000.
          - `den` (integer, required): from 1 to 1001.
        - `vfr` (boolean, required)
        - `durationUs` (integer, required): from 0 to 43200000000.
        - `colour` (object, required, SourceColour): Colour matrix, range and transfer of the source video.
          - `matrix` (string, required): one of `bt709`, `bt601`, `bt2020nc`.
          - `range` (string, required): one of `tv`, `pc`.
          - `transfer` (string, required): one of `bt709`, `srgb`, `pq`, `hlg`.
        - `timebaseRef` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
          - `hash` (string, required): matches `^[0-9a-f]{64}$`.
          - `schema` (string, required): at most 48 characters.
        - `audioTracks` (array of object, required): One audio track of the source: its stream index and role. at most 8 items.
          - `index` (integer, required): from 0 to 15.
          - `role` (string, required, TrackRole): Role of one audio track of the source. one of `mic`, `discord`, `game`, `music`, `mix`, `unknown`.
      - `output` (object, required, Output): Output frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.
        - `ratio` (string, required, Ratio): Output aspect ratio. one of `9:16`, `1:1`, `16:9`, `4:5`.
        - `base` (string, required): one of `1080x1920`, `1080x1080`, `1920x1080`, `1080x1350`.
        - `fps` (object, required, Rational): A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          - `num` (integer, required): from 1 to 240000.
          - `den` (integer, required): from 1 to 1001.
        - `safeArea` (string, required): one of `universal-9x16-v1`.
      - `title` (string, required): 1–120 characters.
      - `sections` (map of object, required): at most 8 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `role` (string, required): one of `cold_open`, `setup`, `body`, `payoff`.
          - `label` (object, optional, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
            - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
            - `params` (map of one of, optional)
              - each value:
                - items (one of, required)
                  - variant string (1):
                    - items (string, required): at most 80 characters.
                  - variant integer (2):
                    - items (integer, required)
          - `seamIn` (string, required): one of `hard`, `j`, `l`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
      - `cuts` (map of object, required): at most 500 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `reason` (string, required): one of `filler`, `silence`, `tangent`, `badTake`, `readTrim`, `user`.
          - `by` (string, required): one of `auto`, `user`.
          - `on` (boolean, required)
          - `fade` (string, required): one of `declick`, `crossfade`.
          - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
      - `wordsRef` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
        - `hash` (string, required): matches `^[0-9a-f]{64}$`.
        - `schema` (string, required): at most 48 characters.
      - `wordEdits` (map of object, required): at most 2000 keys.
        - each value:
          - `text` (string, optional): 1–64 characters.
          - `speaker` (string, optional): matches `^S[0-9]{1,3}$`.
          - `filler` (boolean, optional)
          - `emphasis` (boolean, optional)
          - `emoji` (string, optional, nullable): at most 16 characters.
          - `hidden` (boolean, optional)
          - `mask` (boolean, optional)
      - `speakers` (map of object, required): at most 16 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `name` (string, required): 1–40 characters.
          - `colour` (string, required): matches `^#[0-9a-f]{6}$`.
          - `role` (string, required): one of `host`, `guest`, `teammate`, `npc`, `tts`, `music_vocals`, `unknown`.
          - `captions` (boolean, required)
          - `captionColour` (string, required): one of `own`, `neutral`.
      - `moments` (array of object, required): Read-only evidence: a detected event of the clip's window, by its event alias (06). at most 64 items.
        - `id` (string, required): matches `^e[0-9]{1,7}$`.
        - `type` (string, required): at most 32 characters.
        - `fromUs` (integer, required): from 0 to 43200000000.
        - `peakUs` (integer, optional): from 0 to 43200000000.
        - `toUs` (integer, required): from 0 to 43200000000.
        - `protect` (boolean, required)
        - `confidence` (number, required): from 0 to 1.
        - `explain` (object, required, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
          - `params` (map of one of, optional)
            - each value:
              - items (one of, required)
                - variant string (1):
                  - items (string, required): at most 80 characters.
                - variant integer (2):
                  - items (integer, required)
      - `protectedRegions` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
            - `x` (number, required)
            - `y` (number, required)
            - `w` (number, required): greater than 0.
            - `h` (number, required): greater than 0.
          - `kind` (string, required): one of `text`, `graphic`, `chart`, `product`, `lowerThird`, `face`.
          - `by` (string, required): one of `auto`, `user`.
          - `on` (boolean, required)
      - `captions` (object, required, Captions): Caption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.
        - `preset` (string, required): one of `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
        - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
        - `size` (string, required): one of `s`, `m`, `l`.
        - `highlight` (string, required): matches `^#[0-9a-f]{6}$`.
        - `position` (string, required): one of `top`, `middle`, `bottom`, `seam`.
        - `yOffset` (number, optional): from -0.2 to 0.2.
        - `perLine` (integer, required): from 1 to 5.
        - `upper` (boolean, required)
        - `emoji` (boolean, required)
        - `bySpeaker` (boolean, required)
        - `profanity` (string, required): one of `show`, `mask`.
        - `language` (string, optional): matches `^[a-z]{2,3}(-[A-Z]{2})?$`.
        - `translations` (map of object, optional)
          - each value:
            - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
            - `hash` (string, required): matches `^[0-9a-f]{64}$`.
            - `schema` (string, required): at most 48 characters.
      - `cameraRef` (object, required, nullable, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
        - `hash` (string, required): matches `^[0-9a-f]{64}$`.
        - `schema` (string, required): at most 48 characters.
      - `cameras` (map of object, required): at most 16 keys.
        - each value:
          - items (object, required, Camera): A virtual camera: a static rect in source pixels or a track of the camera artefact.
            - variant kind: "static":
              - `kind` (string, required): always `"static"`.
              - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
                - `x` (number, required)
                - `y` (number, required)
                - `w` (number, required): greater than 0.
                - `h` (number, required): greater than 0.
            - variant kind: "track":
              - `kind` (string, required): always `"track"`.
              - `track` (string, required): at most 24 characters.
              - `auto` (boolean, required)
      - `cameraOverrides` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `camera` (string, required): at most 24 characters.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `keys` (array of object, required): One user camera key: source instant, rect in source pixels, ease into it. 1–600 items.
            - `tUs` (integer, required): from 0 to 43200000000.
            - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
              - `x` (number, required)
              - `y` (number, required)
              - `w` (number, required): greater than 0.
              - `h` (number, required): greater than 0.
            - `ease` (string, required, Ease): Named easing of a key or an animation, implemented identically by both render runtimes. one of `linear`, `in`, `out`, `inOut`, `snap`, `overshoot`, `spring-soft`, `spring-punchy`, `hold`.
      - `layout` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `kind` (string, required): one of `fill`, `fit`, `fit_band`, `facecam_top`, `avatar_top`, `screen_top`, `graphic_top`, `active_speaker`, `duo`, `trio`, `quad`.
          - `panels` (array of object, required): One panel of a layout span: role, camera, destination box, fit and region class. 1–4 items.
            - `role` (string, required): one of `full`, `facecam`, `avatar`, `content`, `screen`, `graphic`, `speaker`, `listener`.
            - `camera` (string, required): at most 24 characters.
            - `dest` (object, required, Box): A box in layout pixels of the base output frame.
              - `x` (number, required)
              - `y` (number, required)
              - `w` (number, required): greater than 0.
              - `h` (number, required): greater than 0.
            - `fit` (string, required): one of `cover`, `contain`.
            - `regionClass` (string, required): one of `content`, `face`.
            - `speaker` (string, optional): matches `^S[0-9]{1,3}$`.
          - `splitRatio` (number, optional): from 0.25 to 0.5.
          - `sideFill` (string, optional): one of `blur`, `brand`, `black`.
          - `fitBackground` (string, optional): one of `blur`, `black`, `brand`.
          - `hudInsets` (array of object, optional): A HUD element copied from the source into the layout. at most 2 items.
            - `src` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
              - `x` (number, required)
              - `y` (number, required)
              - `w` (number, required): greater than 0.
              - `h` (number, required): greater than 0.
            - `dest` (object, required, Box): A box in layout pixels of the base output frame.
              - `x` (number, required)
              - `y` (number, required)
              - `w` (number, required): greater than 0.
              - `h` (number, required): greater than 0.
          - `listenerPip` (object, optional, ListenerPip): The listener picture-in-picture of an active_speaker span.
            - `camera` (string, required): at most 24 characters.
            - `dest` (object, required, Box): A box in layout pixels of the base output frame.
              - `x` (number, required)
              - `y` (number, required)
              - `w` (number, required): greater than 0.
              - `h` (number, required): greater than 0.
          - `effects` (map of object, required): at most 16 keys.
            - each value:
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `kind` (string, required): one of `reaction_full`, `listener_insert`, `chat_focus`.
              - `fromUs` (integer, required): from 0 to 43200000000.
              - `toUs` (integer, required): from 0 to 43200000000.
              - `entry` (string, required): one of `cut`, `grow6`.
              - `exit` (string, required): one of `return8`, `cut`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
          - `transitionIn` (string, required): one of `cut`, `morph8`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
      - `zooms` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `kind` (string, required): one of `snap`, `push`, `pulse`, `region`, `shake`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `panel` (integer, required): from 0 to 3.
          - `scale` (number, required): from 1 to 1.5.
          - `region` (object, optional, Rect): A rectangle in source pixels of the un-rotated decoded frame.
            - `x` (number, required)
            - `y` (number, required)
            - `w` (number, required): greater than 0.
            - `h` (number, required): greater than 0.
          - `ease` (string, required, Ease): Named easing of a key or an animation, implemented identically by both render runtimes. one of `linear`, `in`, `out`, `inOut`, `snap`, `overshoot`, `spring-soft`, `spring-punchy`, `hold`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `on` (boolean, required)
          - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
      - `overlays` (map of object, required): at most 16 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `role` (string, required): one of `hook`, `label`, `cta`, `lowerThird`, `step`.
          - `text` (string, required): 1–200 characters.
          - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
            - variant kind: "src":
              - `kind` (string, required): always `"src"`.
              - `fromUs` (integer, required): from 0 to 43200000000.
              - `toUs` (integer, required): from 0 to 43200000000.
            - variant kind: "clip":
              - `kind` (string, required): always `"clip"`.
              - `fromUs` (integer, required): from 0 to 900000000.
              - `toUs` (integer, required): from 0 to 900000000.
            - variant kind: "words":
              - `kind` (string, required): always `"words"`.
              - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
              - `toWord` (string, required): matches `^[0-9]{1,10}$`.
          - `mode` (string, optional): one of `flash`, `until_trigger`, `persistent`.
          - `triggerUs` (integer, optional): from 0 to 43200000000.
          - `pin` (object, optional, OverlayPin): A user pin of an overlay in layout pixels.
            - `x` (number, required)
            - `y` (number, required)
          - `scale` (number, required): from 0.5 to 2.5.
          - `style` (object, required, OverlayStyle): Text style of an overlay: preset, font, colour and optional background.
            - `preset` (string, required): one of `label`, `highlight`, `bold`, `outline`, `plain`.
            - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
            - `colour` (string, required): matches `^#[0-9a-f]{6}$`.
            - `bg` (string, optional): matches `^#[0-9a-f]{6}$`.
          - `entrance` (string, required): one of `none`, `pop`, `slide`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `on` (boolean, required)
      - `chatCards` (map of object, required): at most 16 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `messageId` (string, optional): at most 64 characters.
          - `author` (string, required): at most 40 characters.
          - `authorColour` (string, optional): matches `^#[0-9a-f]{6}$`.
          - `badges` (array of string, required): at most 4 items; each at most 80 characters.
          - `fragments` (array of object, required): One fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill. 1–80 items.
            - variant kind: "text":
              - `kind` (string, required): always `"text"`.
              - `text` (string, required): at most 500 characters.
            - variant kind: "emote":
              - `kind` (string, required): always `"emote"`.
              - `asset` (string, required): at most 80 characters.
              - `code` (string, required): at most 64 characters.
            - variant kind: "pill":
              - `kind` (string, required): always `"pill"`.
              - `code` (string, required): at most 64 characters.
          - `amount` (object, optional, ChatAmount): Bits or a donation attached to a chat message.
            - `kind` (string, required): one of `bits`, `donation`.
            - `value` (integer, required)
            - `currency` (string, optional): exactly 3 characters.
          - `readWords` (object, optional, ChatReadWords): The words where the streamer reads the message aloud.
            - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
            - `toWord` (string, required): matches `^[0-9]{1,10}$`.
          - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
            - variant kind: "src":
              - `kind` (string, required): always `"src"`.
              - `fromUs` (integer, required): from 0 to 43200000000.
              - `toUs` (integer, required): from 0 to 43200000000.
            - variant kind: "clip":
              - `kind` (string, required): always `"clip"`.
              - `fromUs` (integer, required): from 0 to 900000000.
              - `toUs` (integer, required): from 0 to 900000000.
            - variant kind: "words":
              - `kind` (string, required): always `"words"`.
              - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
              - `toWord` (string, required): matches `^[0-9]{1,10}$`.
          - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
          - `hideAuthor` (boolean, required)
          - `source` (string, required): one of `replay`, `eventsub`, `ocr`, `tts`, `log`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `on` (boolean, required)
      - `broll` (map of object, required): at most 32 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `mediaId` (string (uuid), required)
          - `versionId` (string (uuid), optional)
          - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
            - variant kind: "src":
              - `kind` (string, required): always `"src"`.
              - `fromUs` (integer, required): from 0 to 43200000000.
              - `toUs` (integer, required): from 0 to 43200000000.
            - variant kind: "clip":
              - `kind` (string, required): always `"clip"`.
              - `fromUs` (integer, required): from 0 to 900000000.
              - `toUs` (integer, required): from 0 to 900000000.
            - variant kind: "words":
              - `kind` (string, required): always `"words"`.
              - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
              - `toWord` (string, required): matches `^[0-9]{1,10}$`.
          - `mode` (string, required): one of `full`, `pip`.
          - `box` (object, optional, Box): A box in layout pixels of the base output frame.
            - `x` (number, required)
            - `y` (number, required)
            - `w` (number, required): greater than 0.
            - `h` (number, required): greater than 0.
          - `rotationDeg` (number, required): from -10 to 10.
          - `trimInUs` (integer, optional): from 0 to 43200000000.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `on` (boolean, required)
      - `audio` (object, required, Audio): Audio inputs: track gains, speech-envelope reference, dynamics, master target, music stem, SFX, music.
        - `tracks` (map of object, required)
          - each value:
            - `gainDb` (number, required): from -60 to 12.
            - `mute` (boolean, required)
        - `speechEnvelopeRef` (object, required, nullable, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
          - `hash` (string, required): matches `^[0-9a-f]{64}$`.
          - `schema` (string, required): at most 48 characters.
        - `dynamics` (object, required, AudioDynamics): Dynamics processing: switch, loudness-range target and envelopes.
          - `on` (boolean, required)
          - `lraTarget` (integer, required): from 5 to 20.
          - `envelopes` (array of object, required): A gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints. at most 8 items.
            - `target` (string, required)
              - variant string (1):
                - items (string, required): always `"mix"`.
              - variant string (2):
                - items (string, required): matches `^t[0-9]{1,2}$`.
            - `kind` (string, required): one of `leveller`, `limiter`, `duck`.
            - `points` (array of tuple of 2, required): at most 4000 items; each exactly 2 items.
              - variant item 1:
                - items (integer, required): from 0 to 43200000000.
              - variant item 2:
                - items (integer, required): from -9600 to 2400.
        - `master` (object, required, MasterLoudness): Master loudness target: -14 LUFS integrated, -1 dBTP true peak.
          - `lufs` (number, required): always `-14`.
          - `truePeakDb` (number, required): always `-1`.
        - `musicStem` (object, optional, MusicStem): Music stem of an edited video, crossfaded at cuts (beta).
          - `ref` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
            - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
            - `hash` (string, required): matches `^[0-9a-f]{64}$`.
            - `schema` (string, required): at most 48 characters.
          - `crossfadeMs` (integer, required): from 50 to 400.
        - `sfx` (map of object, required): at most 32 keys.
          - each value:
            - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
            - `asset` (string, required): one of `whoosh`, `rewind`, `soft_pop`, `low_impact`, `riser`, `tick`.
            - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
              - variant kind: "src":
                - `kind` (string, required): always `"src"`.
                - `fromUs` (integer, required): from 0 to 43200000000.
                - `toUs` (integer, required): from 0 to 43200000000.
              - variant kind: "clip":
                - `kind` (string, required): always `"clip"`.
                - `fromUs` (integer, required): from 0 to 900000000.
                - `toUs` (integer, required): from 0 to 900000000.
              - variant kind: "words":
                - `kind` (string, required): always `"words"`.
                - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                - `toWord` (string, required): matches `^[0-9]{1,10}$`.
            - `gainDb` (number, required): from -30 to -12.
            - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
            - `on` (boolean, required)
        - `music` (object, optional, Music): Background music from the media library (F1).
          - `mediaId` (string (uuid), required)
          - `gainDb` (number, required)
          - `duckDepthDb` (number, required)
          - `fromClipUs` (integer, required): from 0 to 900000000.
          - `fadeInUs` (integer, required)
          - `fadeOutUs` (integer, required)
      - `brand` (object, required, Brand): Brand elements: logo, end card and the style template the clip was composed with.
        - `logo` (object, required, BrandLogo): The workspace logo in a corner of the frame.
          - `on` (boolean, required)
          - `corner` (string, required): one of `tl`, `tr`, `bl`, `br`.
          - `asset` (string, optional): at most 80 characters.
          - `scale` (number, required): from 0.5 to 1.5.
        - `endCard` (object, required, EndCard): End card with the creator's handle, only on non-looping destinations.
          - `on` (boolean, required)
          - `durUs` (integer, required): from 1000000 to 3000000.
          - `handle` (string, optional): at most 40 characters.
          - `destinations` (array of string, required): one of `x`, `linkedin`.
        - `styleTemplateId` (string (uuid), optional)
      - `hidden` (array of string, required): at most 24 items; each matches `^(overlays|broll|chat|captions|music|sfx|cap:S[0-9]{1,3})$`.
      - `editLog` (map of object, required): at most 400 keys.
        - each value:
          - `at` (string (date-time), required)
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `kind` (string, required): one of `cut`, `silence`, `zoom`, `layout`, `hook`, `chatCard`, `caption`, `trim`, `reframe`, `audio`, `cover`, `fix`.
          - `target` (string, required): at most 80 characters.
          - `reason` (object, required, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
            - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
            - `params` (map of one of, optional)
              - each value:
                - items (one of, required)
                  - variant string (1):
                    - items (string, required): at most 80 characters.
                  - variant integer (2):
                    - items (integer, required)
          - `evidence` (array of string, optional): at most 8 items; each matches `^e[0-9]{1,7}$`.
          - `on` (boolean, required)
      - `coverUs` (integer, required): from 0 to 900000000.
      - `provenance` (object, required, Provenance): How the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.
        - `pipelineVersion` (string, required): at most 32 characters.
        - `composeVersion` (string, required): at most 32 characters.
        - `playbook` (string, required): matches `^[a-z_]+\.[a-z_]+@[0-9]{1,4}$`.
        - `hypothesis` (string, required): one of `tight`, `standard`, `extended`, `cold_open`, `stitched`.
        - `seed` (integer, required): from 0 to 4294967295.
        - `speakerMapVersion` (integer, required)
        - `models` (map of string, required)
        - `captionPass` (object, required, nullable, CaptionPassInfo): The caption pass that produced the referenced clipwords: engine and time.
          - `engine` (string, required): at most 64 characters.
          - `at` (string (date-time), required)
    - variant schema: "beplan.clip-edit/2":
      - `schema` (string, required): always `"beplan.clip-edit/2"`.
      - `clipId` (string (uuid), required)
      - `projectId` (string (uuid), required)
      - `source` (object, required, Source): The source video: size, frame rate, duration, colour, timebase map reference and audio tracks.
        - `width` (integer, required): from 160 to 8192.
        - `height` (integer, required): from 160 to 8192.
        - `fps` (object, required, Rational): A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          - `num` (integer, required): from 1 to 240000.
          - `den` (integer, required): from 1 to 1001.
        - `vfr` (boolean, required)
        - `durationUs` (integer, required): from 0 to 43200000000.
        - `colour` (object, required, SourceColour): Colour matrix, range and transfer of the source video.
          - `matrix` (string, required): one of `bt709`, `bt601`, `bt2020nc`.
          - `range` (string, required): one of `tv`, `pc`.
          - `transfer` (string, required): one of `bt709`, `srgb`, `pq`, `hlg`.
        - `timebaseRef` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
          - `hash` (string, required): matches `^[0-9a-f]{64}$`.
          - `schema` (string, required): at most 48 characters.
        - `audioTracks` (array of object, required): One audio track of the source: its stream index and role. at most 8 items.
          - `index` (integer, required): from 0 to 15.
          - `role` (string, required, TrackRole): Role of one audio track of the source. one of `mic`, `discord`, `game`, `music`, `mix`, `unknown`.
      - `output` (object, required, Output): Output frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.
        - `ratio` (string, required, Ratio): Output aspect ratio. one of `9:16`, `1:1`, `16:9`, `4:5`.
        - `base` (string, required): one of `1080x1920`, `1080x1080`, `1920x1080`, `1080x1350`.
        - `fps` (object, required, Rational): A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          - `num` (integer, required): from 1 to 240000.
          - `den` (integer, required): from 1 to 1001.
        - `safeArea` (string, required): one of `universal-9x16-v1`.
      - `title` (string, required): 1–120 characters.
      - `sections` (map of object, required): at most 8 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `role` (string, required): one of `cold_open`, `setup`, `body`, `payoff`.
          - `label` (object, optional, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
            - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
            - `params` (map of one of, optional)
              - each value:
                - items (one of, required)
                  - variant string (1):
                    - items (string, required): at most 80 characters.
                  - variant integer (2):
                    - items (integer, required)
          - `seamIn` (string, required): one of `hard`, `j`, `l`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
      - `cuts` (map of object, required): at most 500 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `reason` (string, required): one of `filler`, `silence`, `tangent`, `badTake`, `readTrim`, `user`.
          - `by` (string, required): one of `auto`, `user`.
          - `on` (boolean, required)
          - `fade` (string, required): one of `declick`, `crossfade`.
          - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
      - `wordsRef` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
        - `hash` (string, required): matches `^[0-9a-f]{64}$`.
        - `schema` (string, required): at most 48 characters.
      - `wordEdits` (map of object, required): at most 2000 keys.
        - each value:
          - `text` (string, optional): 1–64 characters.
          - `speaker` (string, optional): matches `^S[0-9]{1,3}$`.
          - `filler` (boolean, optional)
          - `emphasis` (boolean, optional)
          - `emoji` (string, optional, nullable): at most 16 characters.
          - `hidden` (boolean, optional)
          - `mask` (boolean, optional)
      - `speakers` (map of object, required): at most 16 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `name` (string, required): 1–40 characters.
          - `colour` (string, required): matches `^#[0-9a-f]{6}$`.
          - `role` (string, required): one of `host`, `guest`, `teammate`, `npc`, `tts`, `music_vocals`, `unknown`.
          - `captions` (boolean, required)
          - `captionColour` (string, required): one of `own`, `neutral`.
      - `moments` (array of object, required): Read-only evidence: a detected event of the clip's window, by its event alias (06). at most 64 items.
        - `id` (string, required): matches `^e[0-9]{1,7}$`.
        - `type` (string, required): at most 32 characters.
        - `fromUs` (integer, required): from 0 to 43200000000.
        - `peakUs` (integer, optional): from 0 to 43200000000.
        - `toUs` (integer, required): from 0 to 43200000000.
        - `protect` (boolean, required)
        - `confidence` (number, required): from 0 to 1.
        - `explain` (object, required, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
          - `params` (map of one of, optional)
            - each value:
              - items (one of, required)
                - variant string (1):
                  - items (string, required): at most 80 characters.
                - variant integer (2):
                  - items (integer, required)
      - `protectedRegions` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `toUs` (integer, required): from 0 to 43200000000.
          - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
            - `x` (number, required)
            - `y` (number, required)
            - `w` (number, required): greater than 0.
            - `h` (number, required): greater than 0.
          - `kind` (string, required): one of `text`, `graphic`, `chart`, `product`, `lowerThird`, `face`.
          - `by` (string, required): one of `auto`, `user`.
          - `on` (boolean, required)
      - `captions` (object, required, Captions): Caption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.
        - `preset` (string, required): one of `karaoke`, `bold`, `pop`, `clean`, `boxed`, `reactive`, `none`.
        - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
        - `size` (string, required): one of `s`, `m`, `l`.
        - `highlight` (string, required): matches `^#[0-9a-f]{6}$`.
        - `position` (string, required): one of `top`, `middle`, `bottom`, `seam`.
        - `yOffset` (number, optional): from -0.2 to 0.2.
        - `perLine` (integer, required): from 1 to 5.
        - `upper` (boolean, required)
        - `emoji` (boolean, required)
        - `bySpeaker` (boolean, required)
        - `profanity` (string, required): one of `show`, `mask`.
        - `language` (string, optional): matches `^[a-z]{2,3}(-[A-Z]{2})?$`.
        - `translations` (map of object, optional)
          - each value:
            - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
            - `hash` (string, required): matches `^[0-9a-f]{64}$`.
            - `schema` (string, required): at most 48 characters.
      - `cameraRef` (object, required, nullable, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
        - `hash` (string, required): matches `^[0-9a-f]{64}$`.
        - `schema` (string, required): at most 48 characters.
      - `layouts` (map of object, required): at most 64 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `fromUs` (integer, required): from 0 to 43200000000.
          - `preset` (string, required, LayoutPreset): The preset a layout was made from: one of the 11 v1 span kinds, or custom. one of `fill`, `fit`, `fit_band`, `facecam_top`, `avatar_top`, `screen_top`, `graphic_top`, `active_speaker`, `duo`, `trio`, `quad`, `custom`.
          - `splitRatio` (number, optional): from 0.25 to 0.5.
          - `sideFill` (string, optional): one of `blur`, `brand`, `black`.
          - `fitBackground` (string, optional): one of `blur`, `black`, `brand`.
          - `effects` (map of object, required): at most 16 keys.
            - each value:
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `kind` (string, required): one of `reaction_full`, `listener_insert`, `chat_focus`.
              - `fromUs` (integer, required): from 0 to 43200000000.
              - `toUs` (integer, required): from 0 to 43200000000.
              - `entry` (string, required): one of `cut`, `grow6`.
              - `exit` (string, required): one of `return8`, `cut`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
          - `transitionIn` (string, required): one of `cut`, `morph8`.
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
      - `tracks` (map of object, required): at most 128 keys.
        - each value:
          - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
          - `kind` (string, required, TrackKind): Kind of a track: camera, text, chat, media, captions or audio. one of `camera`, `text`, `chat`, `media`, `captions`, `audio`.
          - `name` (object, required, TrackName): The name of a track: an i18n key for automatic tracks, or the text a person typed.
            - variant kind: "key":
              - `kind` (string, required): always `"key"`.
              - `text` (object, required, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
                - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
                - `params` (map of one of, optional)
                  - each value:
                    - items (one of, required)
                      - variant string (1):
                        - items (string, required): at most 80 characters.
                      - variant integer (2):
                        - items (integer, required)
            - variant kind: "custom":
              - `kind` (string, required): always `"custom"`.
              - `text` (string, required): 1–40 characters.
          - `hidden` (boolean, required)
          - `locked` (boolean, required)
          - `region` (object, optional, Rect): A rectangle in source pixels of the un-rotated decoded frame.
            - `x` (number, required)
            - `y` (number, required)
            - `w` (number, required): greater than 0.
            - `h` (number, required): greater than 0.
      - `items` (map of object, required): at most 768 keys.
        - each value:
          - items (object, required, Item): One item of the timeline on one track for a span of time: a camera, text, chat, media or audio item.
            - variant kind: "camera":
              - `kind` (string, required): always `"camera"`.
              - `track` (string, required): matches `^r[0-9a-z]{1,12}$`.
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
                - variant kind: "src":
                  - `kind` (string, required): always `"src"`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                - variant kind: "clip":
                  - `kind` (string, required): always `"clip"`.
                  - `fromUs` (integer, required): from 0 to 900000000.
                  - `toUs` (integer, required): from 0 to 900000000.
                - variant kind: "words":
                  - `kind` (string, required): always `"words"`.
                  - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                  - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
              - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `camera` (string, required): at most 24 characters.
              - `slot` (integer, optional): from 0 to 3.
              - `role` (string, required, CameraItemRole): What a camera item shows: a v1 panel role, a picture-in-picture inset, a HUD inset or an extra camera. one of `full`, `facecam`, `avatar`, `content`, `screen`, `graphic`, `speaker`, `listener`, `pip`, `hud`, `extra`.
              - `regionClass` (string, required): one of `content`, `face`.
              - `speaker` (string, optional): matches `^S[0-9]{1,3}$`.
              - `dest` (object, required, Box): A box in layout pixels of the base output frame.
                - `x` (number, required)
                - `y` (number, required)
                - `w` (number, required): greater than 0.
                - `h` (number, required): greater than 0.
              - `fit` (string, required): one of `cover`, `contain`.
              - `framing` (object, required, CameraFraming): What part of the source a camera item shows: a still rect, or a followed camera-artefact track with an adjustment.
                - variant kind: "still":
                  - `kind` (string, required): always `"still"`.
                  - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
                    - `x` (number, required)
                    - `y` (number, required)
                    - `w` (number, required): greater than 0.
                    - `h` (number, required): greater than 0.
                - variant kind: "follow":
                  - `kind` (string, required): always `"follow"`.
                  - `track` (string, required): at most 24 characters.
                  - `auto` (boolean, required)
                  - `dx` (number, required)
                  - `dy` (number, required)
                  - `zoom` (number, required): from 0.5 to 6.
                  - `smooth` (number, required): from 0 to 1.
              - `keyed` (map of object, required): at most 64 keys.
                - each value:
                  - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                  - `keys` (array of object, required): One user camera key: source instant, rect in source pixels, ease into it. 1–600 items.
                    - `tUs` (integer, required): from 0 to 43200000000.
                    - `rect` (object, required, Rect): A rectangle in source pixels of the un-rotated decoded frame.
                      - `x` (number, required)
                      - `y` (number, required)
                      - `w` (number, required): greater than 0.
                      - `h` (number, required): greater than 0.
                    - `ease` (string, required, Ease): Named easing of a key or an animation, implemented identically by both render runtimes. one of `linear`, `in`, `out`, `inOut`, `snap`, `overshoot`, `spring-soft`, `spring-punchy`, `hold`.
              - `zooms` (map of object, required): at most 64 keys.
                - each value:
                  - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
                  - `kind` (string, required): one of `snap`, `push`, `pulse`, `region`, `shake`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                  - `scale` (number, required): from 1 to 1.5.
                  - `region` (object, optional, Rect): A rectangle in source pixels of the un-rotated decoded frame.
                    - `x` (number, required)
                    - `y` (number, required)
                    - `w` (number, required): greater than 0.
                    - `h` (number, required): greater than 0.
                  - `ease` (string, required, Ease): Named easing of a key or an animation, implemented identically by both render runtimes. one of `linear`, `in`, `out`, `inOut`, `snap`, `overshoot`, `spring-soft`, `spring-punchy`, `hold`.
                  - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
                  - `on` (boolean, required)
                  - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `radius` (number, required): from 0 to 540.
              - `border` (object, optional, CameraBorder): A border around a camera item: width in base pixels and colour.
                - `width` (number, required): from 1 to 24.
                - `colour` (string, required): matches `^#[0-9a-f]{6}$`.
            - variant kind: "text":
              - `kind` (string, required): always `"text"`.
              - `track` (string, required): matches `^r[0-9a-z]{1,12}$`.
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
                - variant kind: "src":
                  - `kind` (string, required): always `"src"`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                - variant kind: "clip":
                  - `kind` (string, required): always `"clip"`.
                  - `fromUs` (integer, required): from 0 to 900000000.
                  - `toUs` (integer, required): from 0 to 900000000.
                - variant kind: "words":
                  - `kind` (string, required): always `"words"`.
                  - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                  - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
              - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `role` (string, required): one of `hook`, `label`, `cta`, `lowerThird`, `step`.
              - `text` (string, required): 1–200 characters.
              - `mode` (string, optional): one of `flash`, `until_trigger`, `persistent`.
              - `triggerUs` (integer, optional): from 0 to 43200000000.
              - `scale` (number, required): from 0.5 to 2.5.
              - `style` (object, required, OverlayStyle): Text style of an overlay: preset, font, colour and optional background.
                - `preset` (string, required): one of `label`, `highlight`, `bold`, `outline`, `plain`.
                - `font` (string, required, FontId): A font bundled with the renderer. one of `geist`, `geist-mono`, `funnel-display`, `inter`, `noto-sans`, `noto-sans-arabic`, `noto-sans-hebrew`, `noto-sans-jp`, `noto-sans-kr`.
                - `colour` (string, required): matches `^#[0-9a-f]{6}$`.
                - `bg` (string, optional): matches `^#[0-9a-f]{6}$`.
              - `entrance` (string, required): one of `none`, `pop`, `slide`.
              - `place` (object, required, ItemPlace): Where a text or chat item sits: placed by the solver, pinned at a point, or in a box a person dragged.
                - variant kind: "auto":
                  - `kind` (string, required): always `"auto"`.
                - variant kind: "pin":
                  - `kind` (string, required): always `"pin"`.
                  - `x` (number, required)
                  - `y` (number, required)
                - variant kind: "box":
                  - `kind` (string, required): always `"box"`.
                  - `box` (object, required, Box): A box in layout pixels of the base output frame.
                    - `x` (number, required)
                    - `y` (number, required)
                    - `w` (number, required): greater than 0.
                    - `h` (number, required): greater than 0.
              - `exit` (string, required, TextExit): How a text item leaves: none (as v1), fade, pop or slide. one of `none`, `fade`, `pop`, `slide`.
            - variant kind: "chat":
              - `kind` (string, required): always `"chat"`.
              - `track` (string, required): matches `^r[0-9a-z]{1,12}$`.
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
                - variant kind: "src":
                  - `kind` (string, required): always `"src"`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                - variant kind: "clip":
                  - `kind` (string, required): always `"clip"`.
                  - `fromUs` (integer, required): from 0 to 900000000.
                  - `toUs` (integer, required): from 0 to 900000000.
                - variant kind: "words":
                  - `kind` (string, required): always `"words"`.
                  - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                  - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
              - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `messageId` (string, optional): at most 64 characters.
              - `author` (string, required): at most 40 characters.
              - `authorColour` (string, optional): matches `^#[0-9a-f]{6}$`.
              - `badges` (array of string, required): at most 4 items; each at most 80 characters.
              - `fragments` (array of object, required): One fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill. 1–80 items.
                - variant kind: "text":
                  - `kind` (string, required): always `"text"`.
                  - `text` (string, required): at most 500 characters.
                - variant kind: "emote":
                  - `kind` (string, required): always `"emote"`.
                  - `asset` (string, required): at most 80 characters.
                  - `code` (string, required): at most 64 characters.
                - variant kind: "pill":
                  - `kind` (string, required): always `"pill"`.
                  - `code` (string, required): at most 64 characters.
              - `amount` (object, optional, ChatAmount): Bits or a donation attached to a chat message.
                - `kind` (string, required): one of `bits`, `donation`.
                - `value` (integer, required)
                - `currency` (string, optional): exactly 3 characters.
              - `readWords` (object, optional, ChatReadWords): The words where the streamer reads the message aloud.
                - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `style` (string, required): one of `beplan`, `twitch`, `minimal`.
              - `hideAuthor` (boolean, required)
              - `source` (string, required): one of `replay`, `eventsub`, `ocr`, `tts`, `log`.
              - `place` (object, required, ItemPlace): Where a text or chat item sits: placed by the solver, pinned at a point, or in a box a person dragged.
                - variant kind: "auto":
                  - `kind` (string, required): always `"auto"`.
                - variant kind: "pin":
                  - `kind` (string, required): always `"pin"`.
                  - `x` (number, required)
                  - `y` (number, required)
                - variant kind: "box":
                  - `kind` (string, required): always `"box"`.
                  - `box` (object, required, Box): A box in layout pixels of the base output frame.
                    - `x` (number, required)
                    - `y` (number, required)
                    - `w` (number, required): greater than 0.
                    - `h` (number, required): greater than 0.
            - variant kind: "media":
              - `kind` (string, required): always `"media"`.
              - `track` (string, required): matches `^r[0-9a-z]{1,12}$`.
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
                - variant kind: "src":
                  - `kind` (string, required): always `"src"`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                - variant kind: "clip":
                  - `kind` (string, required): always `"clip"`.
                  - `fromUs` (integer, required): from 0 to 900000000.
                  - `toUs` (integer, required): from 0 to 900000000.
                - variant kind: "words":
                  - `kind` (string, required): always `"words"`.
                  - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                  - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
              - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `mediaId` (string (uuid), required)
              - `versionId` (string (uuid), optional)
              - `mode` (string, required): one of `full`, `pip`.
              - `box` (object, optional, Box): A box in layout pixels of the base output frame.
                - `x` (number, required)
                - `y` (number, required)
                - `w` (number, required): greater than 0.
                - `h` (number, required): greater than 0.
              - `rotationDeg` (number, required): from -10 to 10.
              - `trimInUs` (integer, optional): from 0 to 43200000000.
              - `radius` (number, required): from 0 to 540.
              - `opacity` (number, required): from 0 to 1.
              - `gainDb` (number, required): from -60 to 12.
            - variant kind: "audio":
              - `kind` (string, required): always `"audio"`.
              - `track` (string, required): matches `^r[0-9a-z]{1,12}$`.
              - `order` (string, required): matches `^[0-9A-Za-z]{1,32}$`.
              - `anchor` (object, required, Anchor): Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
                - variant kind: "src":
                  - `kind` (string, required): always `"src"`.
                  - `fromUs` (integer, required): from 0 to 43200000000.
                  - `toUs` (integer, required): from 0 to 43200000000.
                - variant kind: "clip":
                  - `kind` (string, required): always `"clip"`.
                  - `fromUs` (integer, required): from 0 to 900000000.
                  - `toUs` (integer, required): from 0 to 900000000.
                - variant kind: "words":
                  - `kind` (string, required): always `"words"`.
                  - `fromWord` (string, required): matches `^[0-9]{1,10}$`.
                  - `toWord` (string, required): matches `^[0-9]{1,10}$`.
              - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
              - `on` (boolean, required)
              - `log` (string, optional): matches `^e[0-9a-z]{1,12}$`.
              - `sound` (object, required, AudioSound): What an audio item plays: a media-library sound or a bundled sound effect.
                - variant kind: "media":
                  - `kind` (string, required): always `"media"`.
                  - `mediaId` (string (uuid), required)
                - variant kind: "sfx":
                  - `kind` (string, required): always `"sfx"`.
                  - `asset` (string, required): one of `whoosh`, `rewind`, `soft_pop`, `low_impact`, `riser`, `tick`.
              - `gainDb` (number, required): from -60 to 12.
              - `fadeInUs` (integer, required): from 0 to 10000000.
              - `fadeOutUs` (integer, required): from 0 to 10000000.
              - `duckDepthDb` (number, required): from -24 to 0.
              - `trimInUs` (integer, optional): from 0 to 43200000000.
      - `audio` (object, required, AudioV2): Audio inputs of v2: track gains, speech-envelope reference, dynamics, master target and music stem.
        - `tracks` (map of object, required)
          - each value:
            - `gainDb` (number, required): from -60 to 12.
            - `mute` (boolean, required)
        - `speechEnvelopeRef` (object, required, nullable, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
          - `hash` (string, required): matches `^[0-9a-f]{64}$`.
          - `schema` (string, required): at most 48 characters.
        - `dynamics` (object, required, AudioDynamics): Dynamics processing: switch, loudness-range target and envelopes.
          - `on` (boolean, required)
          - `lraTarget` (integer, required): from 5 to 20.
          - `envelopes` (array of object, required): A gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints. at most 8 items.
            - `target` (string, required)
              - variant string (1):
                - items (string, required): always `"mix"`.
              - variant string (2):
                - items (string, required): matches `^t[0-9]{1,2}$`.
            - `kind` (string, required): one of `leveller`, `limiter`, `duck`.
            - `points` (array of tuple of 2, required): at most 4000 items; each exactly 2 items.
              - variant item 1:
                - items (integer, required): from 0 to 43200000000.
              - variant item 2:
                - items (integer, required): from -9600 to 2400.
        - `master` (object, required, MasterLoudness): Master loudness target: -14 LUFS integrated, -1 dBTP true peak.
          - `lufs` (number, required): always `-14`.
          - `truePeakDb` (number, required): always `-1`.
        - `musicStem` (object, optional, MusicStem): Music stem of an edited video, crossfaded at cuts (beta).
          - `ref` (object, required, ArtefactRef): Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
            - `stage` (string, required): one of `clipwords`, `camera`, `audio`, `speechenv`, `captionpass`.
            - `hash` (string, required): matches `^[0-9a-f]{64}$`.
            - `schema` (string, required): at most 48 characters.
          - `crossfadeMs` (integer, required): from 50 to 400.
      - `brand` (object, required, Brand): Brand elements: logo, end card and the style template the clip was composed with.
        - `logo` (object, required, BrandLogo): The workspace logo in a corner of the frame.
          - `on` (boolean, required)
          - `corner` (string, required): one of `tl`, `tr`, `bl`, `br`.
          - `asset` (string, optional): at most 80 characters.
          - `scale` (number, required): from 0.5 to 1.5.
        - `endCard` (object, required, EndCard): End card with the creator's handle, only on non-looping destinations.
          - `on` (boolean, required)
          - `durUs` (integer, required): from 1000000 to 3000000.
          - `handle` (string, optional): at most 40 characters.
          - `destinations` (array of string, required): one of `x`, `linkedin`.
        - `styleTemplateId` (string (uuid), optional)
      - `hiddenSpeakers` (array of string, required): at most 24 items; each matches `^S[0-9]{1,3}$`.
      - `editLog` (map of object, required): at most 400 keys.
        - each value:
          - `at` (string (date-time), required)
          - `by` (string, required, By): Who made an item: the automatic edit, the user or a style template. one of `auto`, `user`, `template`.
          - `kind` (string, required): one of `cut`, `silence`, `zoom`, `layout`, `hook`, `chatCard`, `caption`, `trim`, `reframe`, `audio`, `cover`, `fix`.
          - `target` (string, required): at most 80 characters.
          - `reason` (object, required, I18nText): A user-visible sentence by reference: a clipEditor i18n key and its parameters.
            - `key` (string, required): matches `^clipEditor:[a-zA-Z0-9_.]{1,80}$`.
            - `params` (map of one of, optional)
              - each value:
                - items (one of, required)
                  - variant string (1):
                    - items (string, required): at most 80 characters.
                  - variant integer (2):
                    - items (integer, required)
          - `evidence` (array of string, optional): at most 8 items; each matches `^e[0-9]{1,7}$`.
          - `on` (boolean, required)
      - `coverUs` (integer, required): from 0 to 900000000.
      - `provenance` (object, required, Provenance): How the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.
        - `pipelineVersion` (string, required): at most 32 characters.
        - `composeVersion` (string, required): at most 32 characters.
        - `playbook` (string, required): matches `^[a-z_]+\.[a-z_]+@[0-9]{1,4}$`.
        - `hypothesis` (string, required): one of `tight`, `standard`, `extended`, `cold_open`, `stitched`.
        - `seed` (integer, required): from 0 to 4294967295.
        - `speakerMapVersion` (integer, required)
        - `models` (map of string, required)
        - `captionPass` (object, required, nullable, CaptionPassInfo): The caption pass that produced the referenced clipwords: engine and time.
          - `engine` (string, required): at most 64 characters.
          - `at` (string (date-time), required)
  - `editUpdatedAt` (string (date-time), required, nullable)
  - `renders` (array of object, required)
    - `id` (string (uuid), required)
    - `clipId` (string (uuid), required)
    - `purpose` (string, required): one of `preview`, `download`, `drafts`, `export`.
    - `ratio` (string, required): one of `9:16`, `1:1`, `16:9`, `4:5`.
    - `resolution` (string, required): one of `540p`, `1080p`, `1440p`, `2160p`.
    - `width` (integer, required): greater than 0.
    - `height` (integer, required): greater than 0.
    - `editVersion` (integer, required): at least 0.
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed` (may gain values).
    - `progress` (number, required): from 0 to 1.
    - `etaSeconds` (integer, required, nullable): at least 0.
    - `mediaId` (string (uuid), required, nullable)
    - `downloadUrl` (string, required, nullable)
    - `posterUrl` (string, required, nullable)
    - `purged` (boolean, required)
    - `expiresAt` (string (date-time), required, nullable)
    - `errorCode` (string, required, nullable)
    - `createdAt` (string (date-time), required)
    - `completedAt` (string (date-time), required, nullable)
  - `variants` (array of object, required)
    - `variant` (string, required): one of `tight`, `standard`, `extended`, `cold_open`, `stitched`, `long`.
    - `available` (boolean, required)
    - `durationMs` (integer, required, nullable): at least 0.
    - `applied` (boolean, required)
  - `sourceRanges` (array of object, required)
    - `sectionId` (string, required)
      - variant string (1):
        - items (string, required): matches `^s[0-9a-z]{1,12}$`.
      - variant string (2):
        - items (string, required): always `"prefetch"`.
    - `purpose` (string, required): one of `section`, `prefetch`.
    - `fromUs` (integer, required): from 0 to 43200000000.
    - `toUs` (integer, required): from 0 to 43200000000.
    - `status` (string, required): one of `pending`, `fetching`, `ready`, `failed`, `expired`.
    - `maxResolution` (string, required, nullable): one of `1080p`, `1440p`, `2160p`.
  - `copyPack` (object, required, nullable, ClipCopyPack)
    - `platforms` (map of object, required)
      - each value:
        - `title` (string, required, nullable): at most 150 characters.
        - `description` (string, required, nullable): at most 5000 characters.
        - `hashtags` (array of string, required): A hashtag: `#` then 1 to 100 characters (Unicode code points), with no space and no other `#`. at most 30 items.
        - `firstComment` (string, required, nullable): at most 2200 characters.
    - `hooks` (array of string, required): at most 3 items; each 1–80 characters.
  - `qa` (object, required, nullable, ClipQa)
    - `gate` (string, required): one of `passed`, `fixed`, `warned`.
    - `finalWatch` (string, required, nullable): one of `passed`, `fixed`, `demoted`, `flagged`.
    - `notices` (array of object, required): at most 8 items.
      - `key` (string, required): matches `^[a-z][a-z0-9_]{0,63}$`.
      - `params` (map of one of, required, ClipDisplayParams)
        - each value:
          - items (one of, required)
            - variant number (1):
              - items (number, required)
            - variant string (2):
              - items (string, required): at most 300 characters.
  - `coverMs` (integer, required, nullable): at least 0.
  - `followTasks` (array of object, required)
    - `taskKey` (string, required): matches `^follow:[0-9a-f-]{36}:[0-9]{1,9}$`.
    - `itemId` (string, required, nullable): matches `^i[0-9a-z]{1,14}$`.
    - `kind` (string, required, nullable): one of `face`, `body`, `object`.
    - `state` (string, required): one of `queued`, `starting`, `running`, `done`, `failed`.
    - `progress` (number, optional): from 0 to 1.
    - `error` (string, optional): at most 80 characters.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_NOT_FOUND` | This clip doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A finished clip**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "id": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
    "projectId": "5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    "shelf": "top_pick",
    "status": "ready",
    "origin": "auto",
    "rank": 1,
    "wave": 1,
    "earlyPick": false,
    "wildcard": false,
    "loopable": false,
    "long": false,
    "title": "He heard it behind the door",
    "startMs": 5421200,
    "durationMs": 46000,
    "score": 91,
    "band": "great",
    "scoreCurveVersion": 1,
    "parts": {
      "hook": 88,
      "payoff": 95,
      "context": 72,
      "energy": 90
    },
    "fitPercentile": 84,
    "reason": {
      "key": "jumpscare_payoff",
      "params": {}
    },
    "weakness": null,
    "signals": [],
    "family": "gaming",
    "subtype": "horror",
    "gameName": "Phasmophobia",
    "playbookBeta": false,
    "softFlags": [],
    "finalWatch": "passed",
    "thumbnailUrl": "https://storage.beplan.io/clips/…/thumb.jpg?X-Amz-Signature=…",
    "feedback": null,
    "discardReason": null,
    "editVersion": 1,
    "latestRender": {
      "id": "9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17",
      "purpose": "download",
      "status": "ready"
    },
    "previewRender": null,
    "demoted": false,
    "replaced": null,
    "reselectSeq": null,
    "flags": {
      "hasChat": true,
      "posted": false
    },
    "retryRequested": false,
    "createdAt": "2026-11-18T21:40:00.000Z",
    "editDoc": null,
    "editUpdatedAt": null,
    "renders": [
      {
        "id": "9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17",
        "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
        "purpose": "download",
        "ratio": "9:16",
        "resolution": "1080p",
        "width": 1080,
        "height": 1920,
        "editVersion": 1,
        "status": "ready",
        "progress": 1,
        "etaSeconds": null,
        "mediaId": null,
        "downloadUrl": "https://storage.beplan.io/clips/…/clip.mp4?X-Amz-Signature=…",
        "posterUrl": "https://storage.beplan.io/clips/…/poster.jpg?X-Amz-Signature=…",
        "purged": false,
        "expiresAt": "2026-12-18T22:00:00.000Z",
        "errorCode": null,
        "createdAt": "2026-11-18T22:00:00.000Z",
        "completedAt": "2026-11-18T22:01:10.000Z"
      }
    ],
    "variants": [
      {
        "variant": "standard",
        "available": true,
        "durationMs": 46000,
        "applied": true
      },
      {
        "variant": "tight",
        "available": true,
        "durationMs": 31000,
        "applied": false
      },
      {
        "variant": "extended",
        "available": false,
        "durationMs": null,
        "applied": false
      }
    ],
    "sourceRanges": [],
    "copyPack": {
      "platforms": {
        "tiktok": {
          "title": null,
          "description": "He heard it behind the door 😱 #phasmophobia #horrorgaming",
          "hashtags": [
            "#phasmophobia",
            "#horrorgaming"
          ],
          "firstComment": null
        },
        "youtube": {
          "title": "He heard it behind the door",
          "description": "Clip from Friday's horror stream.",
          "hashtags": [
            "#phasmophobia"
          ],
          "firstComment": null
        }
      },
      "hooks": [
        "Wait for the door…",
        "He was not alone"
      ]
    },
    "qa": {
      "gate": "passed",
      "finalWatch": "passed",
      "notices": []
    },
    "coverMs": 31500,
    "followTasks": []
  }
}
```


## Delete a clip

`DELETE /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}` · operationId `clips.delete`

- Scope: `clips:write`
- Role permission: Delete clips (`clips:delete`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Deletes one clip for good: it disappears at once and its files are purged. Posts and media-library items already made from it stay. Answers `204` with no body. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `clipId` | path | string (uuid) | yes |  |

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_NOT_FOUND` | This clip doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Delete a clip**

```bash
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 204 with no content.


## Keep or discard a clip

`POST /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/feedback` · operationId `clips.feedback.create`

- Scope: `clips:write`
- Role permission: Edit clips (`clips:edit`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Marks a clip as `kept` or `discarded` (a discard needs a `reason`: `boring`, `wrong_cut`, `wrong_framing`, `not_my_style`, `private`, `wrong_part` or `other`), or `restored` (clears it; `target: "top_picks"` moves a clip the final watch demoted back to Top picks, `target: "shelf"` takes it out of Replaced). The whole team sees it, and it is recorded as the token's user's feedback, which teaches Beplan what this channel likes. `previewed` is a viewing signal for the app: don't send it. Answers `204` with no body. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `clipId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `kind` (string, required): one of `previewed`, `kept`, `discarded`, `restored`.
- `reason` (string, optional): one of `boring`, `wrong_cut`, `wrong_framing`, `not_my_style`, `private`, `wrong_part`, `other`.
- `target` (string, optional): one of `top_picks`, `shelf`.
- `note` (string, optional): at most 500 characters.

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_NOT_FOUND` | This clip doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Keep a clip**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24/feedback" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "kept"
}'
```

Answers 204 with no content.


## Get a clip render

`GET /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/renders/{renderId}` · operationId `clips.renders.get`

- Scope: `clips:read`
- Role permission: Any of: See Clips (`clips:read`), Import videos (`clips:import`), Edit clips (`clips:edit`), Delete clips (`clips:delete`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns one rendered video of a clip (ids from `clips.get` → `renders`): its `status` (`queued`, `rendering`, `ready`, `failed`), `progress` (0–1) and, once ready, a `downloadUrl` signed for 15 minutes (the file downloads as an attachment). `purged` means its files expired. Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `clipId` | path | string (uuid) | yes |  |
| `renderId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required)
  - `render` (object, required, ClipRender)
    - `id` (string (uuid), required)
    - `clipId` (string (uuid), required)
    - `purpose` (string, required): one of `preview`, `download`, `drafts`, `export` (may gain values).
    - `ratio` (string, required): one of `9:16`, `1:1`, `16:9`, `4:5`.
    - `resolution` (string, required): one of `540p`, `1080p`, `1440p`, `2160p`.
    - `width` (integer, required): greater than 0.
    - `height` (integer, required): greater than 0.
    - `editVersion` (integer, required): at least 0.
    - `status` (string, required): one of `queued`, `rendering`, `ready`, `failed` (may gain values).
    - `progress` (number, required): from 0 to 1.
    - `etaSeconds` (integer, required, nullable): at least 0.
    - `mediaId` (string (uuid), required, nullable)
    - `downloadUrl` (string, required, nullable)
    - `posterUrl` (string, required, nullable)
    - `purged` (boolean, required)
    - `expiresAt` (string (date-time), required, nullable)
    - `errorCode` (string, required, nullable)
    - `createdAt` (string (date-time), required)
    - `completedAt` (string (date-time), required, nullable)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_RENDER_NOT_FOUND` | This render doesn't exist or expired. Render the clip again. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A ready download**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24/renders/9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "render": {
      "id": "9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17",
      "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
      "purpose": "download",
      "ratio": "9:16",
      "resolution": "1080p",
      "width": 1080,
      "height": 1920,
      "editVersion": 1,
      "status": "ready",
      "progress": 1,
      "etaSeconds": null,
      "mediaId": null,
      "downloadUrl": "https://storage.beplan.io/clips/…/clip.mp4?X-Amz-Signature=…",
      "posterUrl": "https://storage.beplan.io/clips/…/poster.jpg?X-Amz-Signature=…",
      "purged": false,
      "expiresAt": "2026-12-18T22:00:00.000Z",
      "errorCode": null,
      "createdAt": "2026-11-18T22:00:00.000Z",
      "completedAt": "2026-11-18T22:01:10.000Z"
    }
  }
}
```


## Save a clip render to the media library

`POST /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/renders/{renderId}/save-to-library` · operationId `clips.renders.saveToLibrary`

- Scope: `clips:write`
- Role permission: Edit clips (`clips:edit`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Copies a ready downloadable render into the workspace's media library, in its "Clips" folder, without rendering again. Answers `201` with the media id (follow it on `media.get` until `processing.state` is `ready`) and the folder. Saving the same version, ratio and resolution twice returns the first item. Counts against the organization's storage (`413 MEDIA_STORAGE_FULL`). Clips must be enabled for the organization: until then every Clips operation answers `404 ROUTE_NOT_FOUND`, and after Clips' public launch `402 PLAN_UPGRADE_REQUIRED` (`details.feature: "clips"`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `clipId` | path | string (uuid) | yes |  |
| `renderId` | path | string (uuid) | yes |  |

**201 Created**

- `data` (object, required)
  - `mediaId` (string (uuid), required)
  - `folderId` (string (uuid), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `CLIP_NOT_FOUND` | This clip doesn't exist or was deleted. |
| 404 | `CLIP_RENDER_NOT_FOUND` | This render doesn't exist or expired. Render the clip again. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROUTE_NOT_FOUND` | This endpoint doesn't exist. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `CLIP_NOT_READY` | This isn't ready yet. Try again in a moment. |
| 409 | `CONFLICT` | This changed in the meantime. Refresh and try again. |
| 413 | `MEDIA_STORAGE_FULL` | Your media storage is full. Delete some media or add storage to your plan. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Save a download**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24/renders/9e4c2a7b-5d1f-4b3e-8c6a-0f2d4e6b8a17/save-to-library" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
```

Answers 201:

```json
{
  "data": {
    "mediaId": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": "6d1c2b7a-1f2e-4b8c-9a3d-5e6f7a8b9c0d"
  }
}
```


---
HTML version: https://beplan.io/docs/api/clips/
