Start free
Docs · Clips

API reference

Clips

Read as Markdown

On this page
  1. Get the Clips hours
  2. Get a clip export
  3. List Clips videos
  4. Get a Clips video
  5. Rename a Clips video
  6. Delete a Clips video
  7. Stop a Clips video
  8. List a video's clips
  9. Get a Clips video's timeline
  10. List clip style templates
  11. Save a clip style template
  12. Edit a clip style template
  13. Delete a clip style template
  14. Add clips to Drafts
  15. Get a clip
  16. Delete a clip
  17. Keep or discard a clip
  18. Get a clip render
  19. Save a clip render to the media library

Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits: conventions. OpenAPI document: openapi.json.

All 19 Clips operations

Get the Clips hours

GET /organizations/{organizationId}/clip-usage
Beta Reads only clips.usage.get
Scope
clips:read
Role permission
Any member who can see it
Effect
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 Description
organizationId required path string 1–128 characters

Responses

200 OK

object · ClipUsageResponse

  • dataobject · ClipUsagerequired
    22fields
    • meterModestringrequired
      One of: shadow, enforced
    • planobjectrequired
      3fields
      • typestringrequired
        One of (may gain values): free, starter, growth, pro, studio, creator
      • billingstringrequired
        One of: monthly, annual, trial, free
      • clipSecondsPerMonthintegerrequired
        at least 0
    • periodobjectrequired
      3fields
      • kindstringrequired
        One of (may gain values): monthly, trial, free_sample
      • startsAtstring (date-time)required
      • resetsAtstring (date-time)requirednullable
    • grantedSecondsintegerrequired
      at least 0
    • rolloverSecondsintegerrequired
      at least 0
    • rolloverExpiresAtstring (date-time)requirednullable
    • rolloverPendingbooleanrequired
    • packSecondsintegerrequired
      at least 0
    • packsarray of objectrequired
      4fields in each item
      • idstring (uuid)required
      • secondsintegerrequired
        at least 0
      • remainingSecondsintegerrequired
        at least 0
      • expiresAtstring (date-time)required
    • usedSecondsintegerrequired
      at least 0
    • inUseSecondsintegerrequired
      at least 0
    • inUseProjectsintegerrequired
      at least 0
    • debtSecondsintegerrequired
      at least 0
    • borrowedSecondsintegerrequired
      at least 0
    • availableSecondsintegerrequired
      at least 0
    • autoClipFloorSecondsintegerrequired
      at least 0
    • nextPlanobjectrequirednullable
      5fields
      • typestringrequired
        One of: free, starter, growth, pro, studio, creator
      • clipSecondsPerMonthintegerrequired
        at least 0
      • priceUsdnumberrequired
        Deprecated: use priceMinor and currency. The price in US dollars, as a float.
        at least 0
      • priceMinorintegeroptional
        The price in the currency's minor unit (cents for USD), an integer.
        at least 0
      • currencystring · ClipPriceCurrencyoptional
        The ISO 4217 currency of priceMinor.
        One of: USD
    • packOfferobjectrequirednullable
      4fields
      • secondsintegerrequired
        at least 0
      • priceUsdnumberrequired
        Deprecated: use priceMinor and currency. The price in US dollars, as a float.
        at least 0
      • priceMinorintegeroptional
        The price in the currency's minor unit (cents for USD), an integer.
        at least 0
      • currencystring · ClipPriceCurrencyoptional
        The ISO 4217 currency of priceMinor.
        One of: USD
    • freeSampleobjectrequirednullable
      3fields
      • verifiedbooleanrequired
      • askForClipsLeftintegerrequired
        at least 0
      • segmentOverridesLeftintegerrequired
        at least 0
    • unusedRefundAvailablebooleanrequired
    • workspacesarray of objectrequirednullable
      3fields in each item
      • workspaceIdstring (uuid)required
      • usedSecondsintegerrequired
        at least 0
      • inUseSecondsintegerrequired
        at least 0
    • workspaceLimitsarray of objectrequired
      4fields in each item
      • workspaceIdstring (uuid)required
      • capSecondsintegerrequired
        at least 0
      • usedSecondsintegerrequired
        at least 0
      • availableSecondsintegerrequired
        at least 0

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

This month's hours

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/clip-usage" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/clip-usage", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/clip-usage",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
exportId required path string (uuid)

Responses

200 OK

object · ClipExportResponse

  • dataobjectrequired
    1field
    • exportobject · ClipExportrequired
      12fields
      • idstring (uuid)required
      • statusstringrequired
        One of (may gain values): queued, rendering, zipping, ready, failed
      • clipCountintegerrequired
        from 1 to 50
      • ratiostringrequired
        One of: 9:16, 1:1, 16:9, 4:5
      • resolutionstringrequired
        One of: 1080p, 1440p, 2160p
      • includeCaptionsbooleanrequired
      • progressnumberrequired
        from 0 to 1
      • failedClipIdsarray of string (uuid)required
      • downloadUrlstringrequirednullable
      • expiresAtstring (date-time)requirednullable
      • createdAtstring (date-time)required
      • completedAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A ready zip

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-exports/2f8a6c4e-1b3d-4f5a-9e7c-6b0d2a4f8c35", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-exports/2f8a6c4e-1b3d-4f5a-9e7c-6b0d2a4f8c35",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
limit optional query integer from 1 to 100
cursor optional query string at most 512 characters
status optional query string One of blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled.
mode optional query string One of moments, repurpose.
filter optional query string One of all, ready, inProgress, needsYou.

Responses

200 OK

object · ClipProjectListResponse

  • dataarray of objectrequired
    32fields in each item
    • idstring (uuid)required
    • titlestringrequired
    • modestringrequired
      One of: moments, repurpose
    • sourceKindstringrequired
      One of (may gain values): upload, twitch, youtube, kick, drive, dropbox, media_library
    • channelNamestringrequirednullable
    • thumbnailUrlstringrequirednullable
    • sourceDurationMsintegerrequirednullable
      at least 0
    • rangeobject · MsRangerequirednullable
      2fields
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
    • statusstringrequired
      One of (may gain values): blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled
    • blockedReasonstringrequirednullable
      One of (may gain values): over_quota, rights_confirmation, stream_live, queued_for_reset, source_blocked
    • stagestringrequired
      One of (may gain values): uploading, fetching, analysing, finding, editing, done
    • progressnumberrequired
      from 0 to 1
    • etaSecondsintegerrequirednullable
      at least 0
    • etaobject · ClipProjectEtarequired
      4fields
      • firstClipAtstring (date-time)requirednullable
      • allClipsAtstring (date-time)requirednullable
      • lowConfidencebooleanrequired
      • reasonstringrequired
        One of (may gain values): normal, gpu_waking, queued_concurrency, queued_capacity, evening_hold, capacity_unavailable
    • topPickCountintegerrequired
      at least 0
    • moreMomentsCountintegerrequired
      at least 0
    • bestScoreintegerrequirednullable
      from 0 to 100
    • familiesarray of objectrequired
      2fields in each item
      • familystringrequired
        One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
      • secondsnumberrequired
        at least 0
    • countedSecondsintegerrequirednullable
      at least 0
    • originalAvailableUntilstring (date-time)requirednullable
    • platformExpiresAtstring (date-time)requirednullable
    • canRefetchSourcebooleanrequired
    • ribbonobject · ClipProjectRibbonrequired
      3fields
      • segmentsarray of objectrequired
        at most 64 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • familystringrequired
          One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
        • labelstringrequirednullable
      • coveragearray of objectrequired
        at most 128 items
        3fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • statestringrequired
          One of: pending, analysing, done, failed, skipped
      • markersarray of objectrequired
        at most 50 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • clipIdstring (uuid)required
        • bandstringrequired
          One of: great, good, fair
    • factsarray of objectrequired
      at most 3 items
      3fields in each item
      • keystringrequired
        matches ^[a-z][a-zA-Z0-9]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
      • atstring (date-time)required
    • errorCodestringrequirednullable
    • errorReasonstringrequirednullable
      One of (may gain values): private, subscriber_only, expired, removed, region_blocked, live, youtube_blocked, invalid_media, age_restricted, blocked, rate_limited
    • sourceFetchobject · ClipSourceFetchrequirednullable
      2fields
      • phasestringrequired
        One of: waiting, probing, downloading, storing
      • percentintegerrequirednullable
        from 0 to 100
    • sourceUrlstringrequirednullable
      default null
    • retryRequestedbooleanrequired
      default false
    • appUrlstringoptional
      The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
  • pageobjectrequired
    2fields
    • nextCursorstringrequirednullable
    • hasMorebooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 304, 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
9 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Ready videos

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects?filter=ready&limit=25", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects?filter=ready&limit=25",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)
uploadProgress optional query string One of 0, 1.

Responses

200 OK

object · ClipProjectDetailResponse

  • dataobject · ClipProjectDetailrequired
    44fields
    • idstring (uuid)required
    • titlestringrequired
    • modestringrequired
      One of: moments, repurpose
    • sourceKindstringrequired
      One of (may gain values): upload, twitch, youtube, kick, drive, dropbox, media_library
    • channelNamestringrequirednullable
    • thumbnailUrlstringrequirednullable
    • sourceDurationMsintegerrequirednullable
      at least 0
    • rangeobject · MsRangerequirednullable
      2fields
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
    • statusstringrequired
      One of (may gain values): blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled
    • blockedReasonstringrequirednullable
      One of (may gain values): over_quota, rights_confirmation, stream_live, queued_for_reset, source_blocked
    • stagestringrequired
      One of (may gain values): uploading, fetching, analysing, finding, editing, done
    • progressnumberrequired
      from 0 to 1
    • etaSecondsintegerrequirednullable
      at least 0
    • etaobject · ClipProjectEtarequired
      4fields
      • firstClipAtstring (date-time)requirednullable
      • allClipsAtstring (date-time)requirednullable
      • lowConfidencebooleanrequired
      • reasonstringrequired
        One of (may gain values): normal, gpu_waking, queued_concurrency, queued_capacity, evening_hold, capacity_unavailable
    • topPickCountintegerrequired
      at least 0
    • moreMomentsCountintegerrequired
      at least 0
    • bestScoreintegerrequirednullable
      from 0 to 100
    • familiesarray of objectrequired
      2fields in each item
      • familystringrequired
        One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
      • secondsnumberrequired
        at least 0
    • countedSecondsintegerrequirednullable
      at least 0
    • originalAvailableUntilstring (date-time)requirednullable
    • platformExpiresAtstring (date-time)requirednullable
    • canRefetchSourcebooleanrequired
    • ribbonobject · ClipProjectRibbonrequired
      3fields
      • segmentsarray of objectrequired
        at most 64 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • familystringrequired
          One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
        • labelstringrequirednullable
      • coveragearray of objectrequired
        at most 128 items
        3fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • statestringrequired
          One of: pending, analysing, done, failed, skipped
      • markersarray of objectrequired
        at most 50 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • clipIdstring (uuid)required
        • bandstringrequired
          One of: great, good, fair
    • factsarray of objectrequired
      at most 30 items
      3fields in each item
      • keystringrequired
        matches ^[a-z][a-zA-Z0-9]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
      • atstring (date-time)required
    • errorCodestringrequirednullable
    • errorReasonstringrequirednullable
      One of (may gain values): private, subscriber_only, expired, removed, region_blocked, live, youtube_blocked, invalid_media, age_restricted, blocked, rate_limited
    • sourceFetchobject · ClipSourceFetchrequirednullable
      2fields
      • phasestringrequired
        One of: waiting, probing, downloading, storing
      • percentintegerrequirednullable
        from 0 to 100
    • sourceUrlstringrequirednullable
    • retryRequestedbooleanrequired
      default false
    • appUrlstringoptional
      The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • undoUntilstring (date-time)requirednullable
    • awaitingEmailVerificationbooleanrequired
    • readOnlybooleanrequired
    • languagestringrequirednullable
      matches ^[a-z]{2,3}(-[A-Z]{2})?$
    • waveobjectrequired
      2fields
      • currentintegerrequirednullable
        at least 1
      • finalbooleanrequired
    • coveragearray of objectrequired
      3fields in each item
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
      • statestringrequired
        One of: pending, analysing, done, failed, skipped
    • hoursobjectrequired
      6fields
      • heldSecondsintegerrequired
        at least 0
      • committedSecondsintegerrequired
        at least 0
      • countedSecondsintegerrequired
        at least 0
      • refundedSecondsintegerrequired
        at least 0
      • returnedAtstring (date-time)requirednullable
      • excludedobjectrequired
        4fields
        • intermissionintegerrequired
          at least 0
        • mutedintegerrequired
          at least 0
        • deadAirintegerrequired
          at least 0
        • failedChunksintegerrequired
          at least 0
    • refundEligibleUntilstring (date-time)requirednullable
    • copiedFromobjectrequirednullable
      2fields
      • projectIdstring (uuid)required
      • workspaceIdstring (uuid)required
    • reselectsarray of objectrequired
      6fields in each item
      • seqintegerrequired
        at least 1
      • modestringrequired
        One of: prompt, segment_override, find_more, length, long
      • promptstringrequirednullable
      • statusstringrequired
        One of: queued, running, done, failed
      • clipCountintegerrequired
        at least 0
      • createdAtstring (date-time)required
    • uploadProgressobjectrequirednullable
      2fields
      • uploadedPartsintegerrequired
        at least 0
      • partCountintegerrequired
        at least 1
    • freeAiobjectrequirednullable
      2fields
      • askForClipsLeftintegerrequired
        at least 0
      • segmentOverridesLeftintegerrequired
        at least 0

Errors answer { error: { code, message, details, requestId } } with status 304, 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A ready video

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Changes data clipProjects.update
Scope
clips:write
Role permission
Import videos (clips:import)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)

Request body JSON, required

object · PatchClipProjectBody

  • titlestringoptional
    1–300 characters
  • rangeobject · UsRangeoptionalnullable
    A part of the source video in microseconds (12 hours at most): toUs must be greater than fromUs.
    2fields
    • fromUsintegerrequired
      from 0 to 43200000000
    • toUsintegerrequired
      above 0 to 43200000000

Responses

200 OK

object · ClipProjectDetailResponse

  • dataobject · ClipProjectDetailrequired
    44fields
    • idstring (uuid)required
    • titlestringrequired
    • modestringrequired
      One of: moments, repurpose
    • sourceKindstringrequired
      One of (may gain values): upload, twitch, youtube, kick, drive, dropbox, media_library
    • channelNamestringrequirednullable
    • thumbnailUrlstringrequirednullable
    • sourceDurationMsintegerrequirednullable
      at least 0
    • rangeobject · MsRangerequirednullable
      2fields
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
    • statusstringrequired
      One of (may gain values): blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled
    • blockedReasonstringrequirednullable
      One of (may gain values): over_quota, rights_confirmation, stream_live, queued_for_reset, source_blocked
    • stagestringrequired
      One of (may gain values): uploading, fetching, analysing, finding, editing, done
    • progressnumberrequired
      from 0 to 1
    • etaSecondsintegerrequirednullable
      at least 0
    • etaobject · ClipProjectEtarequired
      4fields
      • firstClipAtstring (date-time)requirednullable
      • allClipsAtstring (date-time)requirednullable
      • lowConfidencebooleanrequired
      • reasonstringrequired
        One of (may gain values): normal, gpu_waking, queued_concurrency, queued_capacity, evening_hold, capacity_unavailable
    • topPickCountintegerrequired
      at least 0
    • moreMomentsCountintegerrequired
      at least 0
    • bestScoreintegerrequirednullable
      from 0 to 100
    • familiesarray of objectrequired
      2fields in each item
      • familystringrequired
        One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
      • secondsnumberrequired
        at least 0
    • countedSecondsintegerrequirednullable
      at least 0
    • originalAvailableUntilstring (date-time)requirednullable
    • platformExpiresAtstring (date-time)requirednullable
    • canRefetchSourcebooleanrequired
    • ribbonobject · ClipProjectRibbonrequired
      3fields
      • segmentsarray of objectrequired
        at most 64 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • familystringrequired
          One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
        • labelstringrequirednullable
      • coveragearray of objectrequired
        at most 128 items
        3fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • statestringrequired
          One of: pending, analysing, done, failed, skipped
      • markersarray of objectrequired
        at most 50 items
        4fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • clipIdstring (uuid)required
        • bandstringrequired
          One of: great, good, fair
    • factsarray of objectrequired
      at most 30 items
      3fields in each item
      • keystringrequired
        matches ^[a-z][a-zA-Z0-9]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
      • atstring (date-time)required
    • errorCodestringrequirednullable
    • errorReasonstringrequirednullable
      One of (may gain values): private, subscriber_only, expired, removed, region_blocked, live, youtube_blocked, invalid_media, age_restricted, blocked, rate_limited
    • sourceFetchobject · ClipSourceFetchrequirednullable
      2fields
      • phasestringrequired
        One of: waiting, probing, downloading, storing
      • percentintegerrequirednullable
        from 0 to 100
    • sourceUrlstringrequirednullable
    • retryRequestedbooleanrequired
      default false
    • appUrlstringoptional
      The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required
    • undoUntilstring (date-time)requirednullable
    • awaitingEmailVerificationbooleanrequired
    • readOnlybooleanrequired
    • languagestringrequirednullable
      matches ^[a-z]{2,3}(-[A-Z]{2})?$
    • waveobjectrequired
      2fields
      • currentintegerrequirednullable
        at least 1
      • finalbooleanrequired
    • coveragearray of objectrequired
      3fields in each item
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
      • statestringrequired
        One of: pending, analysing, done, failed, skipped
    • hoursobjectrequired
      6fields
      • heldSecondsintegerrequired
        at least 0
      • committedSecondsintegerrequired
        at least 0
      • countedSecondsintegerrequired
        at least 0
      • refundedSecondsintegerrequired
        at least 0
      • returnedAtstring (date-time)requirednullable
      • excludedobjectrequired
        4fields
        • intermissionintegerrequired
          at least 0
        • mutedintegerrequired
          at least 0
        • deadAirintegerrequired
          at least 0
        • failedChunksintegerrequired
          at least 0
    • refundEligibleUntilstring (date-time)requirednullable
    • copiedFromobjectrequirednullable
      2fields
      • projectIdstring (uuid)required
      • workspaceIdstring (uuid)required
    • reselectsarray of objectrequired
      6fields in each item
      • seqintegerrequired
        at least 1
      • modestringrequired
        One of: prompt, segment_override, find_more, length, long
      • promptstringrequirednullable
      • statusstringrequired
        One of: queued, running, done, failed
      • clipCountintegerrequired
        at least 0
      • createdAtstring (date-time)required
    • uploadProgressobjectrequirednullable
      2fields
      • uploadedPartsintegerrequired
        at least 0
      • partCountintegerrequired
        at least 1
    • freeAiobjectrequirednullable
      2fields
      • askForClipsLeftintegerrequired
        at least 0
      • segmentOverridesLeftintegerrequired
        at least 0

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
11 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Rename

curl
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)"
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "title": "Friday horror stream (Phasmophobia)"
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.patch(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "title": "Friday horror stream (Phasmophobia)",
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Deletes clipProjects.delete
Scope
clips:write
Role permission
Delete clips (clips:delete)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Delete a video

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Stop a Clips video

POST /organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/cancel
Beta Deletes clipProjects.cancel
Scope
clips:write
Role permission
Import videos (clips:import)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)

Responses

202 Accepted

object · ClipProjectActionResponse

  • dataobjectrequired
    1field
    • projectobject · ClipProjectDetailrequired
      44fields
      • idstring (uuid)required
      • titlestringrequired
      • modestringrequired
        One of: moments, repurpose
      • sourceKindstringrequired
        One of (may gain values): upload, twitch, youtube, kick, drive, dropbox, media_library
      • channelNamestringrequirednullable
      • thumbnailUrlstringrequirednullable
      • sourceDurationMsintegerrequirednullable
        at least 0
      • rangeobject · MsRangerequirednullable
        2fields
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
      • statusstringrequired
        One of (may gain values): blocked, awaiting_upload, queued, processing, ready, ready_partial, failed, cancelled
      • blockedReasonstringrequirednullable
        One of (may gain values): over_quota, rights_confirmation, stream_live, queued_for_reset, source_blocked
      • stagestringrequired
        One of (may gain values): uploading, fetching, analysing, finding, editing, done
      • progressnumberrequired
        from 0 to 1
      • etaSecondsintegerrequirednullable
        at least 0
      • etaobject · ClipProjectEtarequired
        4fields
        • firstClipAtstring (date-time)requirednullable
        • allClipsAtstring (date-time)requirednullable
        • lowConfidencebooleanrequired
        • reasonstringrequired
          One of (may gain values): normal, gpu_waking, queued_concurrency, queued_capacity, evening_hold, capacity_unavailable
      • topPickCountintegerrequired
        at least 0
      • moreMomentsCountintegerrequired
        at least 0
      • bestScoreintegerrequirednullable
        from 0 to 100
      • familiesarray of objectrequired
        2fields in each item
        • familystringrequired
          One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
        • secondsnumberrequired
          at least 0
      • countedSecondsintegerrequirednullable
        at least 0
      • originalAvailableUntilstring (date-time)requirednullable
      • platformExpiresAtstring (date-time)requirednullable
      • canRefetchSourcebooleanrequired
      • ribbonobject · ClipProjectRibbonrequired
        3fields
        • segmentsarray of objectrequired
          at most 64 items
          4fields in each item
          • fromMsintegerrequired
            at least 0
          • toMsintegerrequired
            greater than 0
          • familystringrequired
            One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
          • labelstringrequirednullable
        • coveragearray of objectrequired
          at most 128 items
          3fields in each item
          • fromMsintegerrequired
            at least 0
          • toMsintegerrequired
            greater than 0
          • statestringrequired
            One of: pending, analysing, done, failed, skipped
        • markersarray of objectrequired
          at most 50 items
          4fields in each item
          • fromMsintegerrequired
            at least 0
          • toMsintegerrequired
            greater than 0
          • clipIdstring (uuid)required
          • bandstringrequired
            One of: great, good, fair
      • factsarray of objectrequired
        at most 30 items
        3fields in each item
        • keystringrequired
          matches ^[a-z][a-zA-Z0-9]{0,63}$
        • paramsmap of one of · ClipDisplayParamsrequired
          Each value
          One of: number (1)
          • valuenumberrequired
          One of: string (2)
          • valuestringrequired
            at most 300 characters
        • atstring (date-time)required
      • errorCodestringrequirednullable
      • errorReasonstringrequirednullable
        One of (may gain values): private, subscriber_only, expired, removed, region_blocked, live, youtube_blocked, invalid_media, age_restricted, blocked, rate_limited
      • sourceFetchobject · ClipSourceFetchrequirednullable
        2fields
        • phasestringrequired
          One of: waiting, probing, downloading, storing
        • percentintegerrequirednullable
          from 0 to 100
      • sourceUrlstringrequirednullable
      • retryRequestedbooleanrequired
        default false
      • appUrlstringoptional
        The video's page with its clips, for a person to open in Beplan while signed in; not an API address.
      • createdAtstring (date-time)required
      • updatedAtstring (date-time)required
      • undoUntilstring (date-time)requirednullable
      • awaitingEmailVerificationbooleanrequired
      • readOnlybooleanrequired
      • languagestringrequirednullable
        matches ^[a-z]{2,3}(-[A-Z]{2})?$
      • waveobjectrequired
        2fields
        • currentintegerrequirednullable
          at least 1
        • finalbooleanrequired
      • coveragearray of objectrequired
        3fields in each item
        • fromMsintegerrequired
          at least 0
        • toMsintegerrequired
          greater than 0
        • statestringrequired
          One of: pending, analysing, done, failed, skipped
      • hoursobjectrequired
        6fields
        • heldSecondsintegerrequired
          at least 0
        • committedSecondsintegerrequired
          at least 0
        • countedSecondsintegerrequired
          at least 0
        • refundedSecondsintegerrequired
          at least 0
        • returnedAtstring (date-time)requirednullable
        • excludedobjectrequired
          4fields
          • intermissionintegerrequired
            at least 0
          • mutedintegerrequired
            at least 0
          • deadAirintegerrequired
            at least 0
          • failedChunksintegerrequired
            at least 0
      • refundEligibleUntilstring (date-time)requirednullable
      • copiedFromobjectrequirednullable
        2fields
        • projectIdstring (uuid)required
        • workspaceIdstring (uuid)required
      • reselectsarray of objectrequired
        6fields in each item
        • seqintegerrequired
          at least 1
        • modestringrequired
          One of: prompt, segment_override, find_more, length, long
        • promptstringrequirednullable
        • statusstringrequired
          One of: queued, running, done, failed
        • clipCountintegerrequired
          at least 0
        • createdAtstring (date-time)required
      • uploadProgressobjectrequirednullable
        2fields
        • uploadedPartsintegerrequired
          at least 0
        • partCountintegerrequired
          at least 1
      • freeAiobjectrequirednullable
        2fields
        • askForClipsLeftintegerrequired
          at least 0
        • segmentOverridesLeftintegerrequired
          at least 0

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
14 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Stop a video

curl
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)"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/cancel", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/cancel",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"]
Response 202
{
  "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
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)
limit optional query integer from 1 to 100
cursor optional query string at most 512 characters
shelf optional query string One of top_pick, more_moments, about, long, replaced.
reselectSeq optional query integer at least 1
sort optional query string One of found, best, time.
length optional query string One of any, lt30, 30to60, gt60.
family optional query string One of gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission.
filter optional query string One of chat, kept, notPosted, flagged.

Responses

200 OK

object · ClipListResponse

  • dataarray of objectrequired
    41fields in each item
    • idstring (uuid)required
    • projectIdstring (uuid)required
    • shelfstringrequired
      One of (may gain values): top_pick, more_moments
    • statusstringrequired
      One of (may gain values): candidate, composing, ready, failed, deleted
    • originstringrequired
      One of (may gain values): auto, manual, reselect, long, copy, split, duplicate
    • rankintegerrequirednullable
      at least 1
    • waveintegerrequirednullable
      at least 1
    • earlyPickbooleanrequired
    • wildcardbooleanrequired
    • loopablebooleanrequired
    • longbooleanrequired
    • titlestringrequired
    • startMsintegerrequired
      at least 0
    • durationMsintegerrequired
      at least 0
    • scoreintegerrequired
      from 0 to 100
    • bandstringrequired
      One of: great, good, fair
    • scoreCurveVersionintegerrequired
      at least 1
    • partsobjectrequired
      4fields
      • hooknumberrequired
        from 0 to 100
      • payoffnumberrequired
        from 0 to 100
      • contextnumberrequired
        from 0 to 100
      • energynumberrequired
        from 0 to 100
    • fitPercentilenumberrequirednullable
      from 0 to 100
    • reasonobject · ClipDisplayKeyrequired
      2fields
      • keystringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • weaknessobject · ClipDisplayKeyrequirednullable
      2fields
      • keystringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • signalsarray of objectrequired
      at most 5 items
      6fields in each item
      • kindstringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • eventIdstringrequirednullable
        matches ^e[0-9]{1,7}$
      • atMsintegerrequired
        at least 0
      • earlierbooleanrequired
      • sourceMsintegerrequired
        at least 0
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • familystringrequired
      One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
    • subtypestringrequirednullable
    • gameNamestringrequirednullable
    • playbookBetabooleanrequired
    • softFlagsarray of stringrequired
      One of (may gain values): third_party_video, copyrighted_music, profanity, sponsor_read
    • finalWatchstringrequirednullable
      One of (may gain values): passed, fixed, demoted, flagged
    • thumbnailUrlstringrequirednullable
    • feedbackstringrequirednullable
      One of: kept, discarded
    • discardReasonstringrequirednullable
      One of (may gain values): boring, wrong_cut, wrong_framing, not_my_style, private, wrong_part, other
    • editVersionintegerrequired
      at least 0
    • latestRenderobjectrequirednullable
      3fields
      • idstring (uuid)required
      • purposestringrequired
        One of: preview, download, drafts, export
      • statusstringrequired
        One of: queued, rendering, ready, failed
    • previewRenderobjectrequirednullable
      4fields
      • idstring (uuid)required
      • statusstringrequired
        One of: queued, rendering, ready, failed
      • progressnumberrequired
        from 0 to 1
      • urlstringrequirednullable
    • demotedbooleanrequired
    • replacedobjectrequirednullable
      2fields
      • atstring (date-time)required
      • byReselectSeqintegerrequirednullable
    • reselectSeqintegerrequirednullable
      at least 1
    • flagsobjectrequired
      2fields
      • hasChatbooleanrequired
      • postedbooleanrequired
    • retryRequestedbooleanrequired
      default false
    • editorUrlstringoptional
      The clip in Beplan's editor: a page for a person to open in Beplan while signed in; not an API address.
    • createdAtstring (date-time)required
  • pageobjectrequired
    2fields
    • nextCursorstringrequirednullable
    • hasMorebooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 304, 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
9 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Top picks, best first

curl
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_…"
TypeScript
const response = await fetch("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", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.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",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
projectId required path string (uuid)

Responses

200 OK

object · TimelineResponse

  • dataobject · ClipTimelinerequired
    10fields
    • projectIdstring (uuid)required
    • durationMsintegerrequirednullable
      at least 0
    • rangeobject · MsRangerequirednullable
      2fields
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
    • segmentsarray of objectrequired
      14fields in each item
      • idstring (uuid)required
      • keystringrequired
        matches ^g[0-9]{1,5}(_[0-9]{1,5})?$
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        at least 0
      • familystringrequired
        One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
      • subtypestringrequirednullable
      • gameNamestringrequirednullable
      • modifiersarray of stringrequired
        One of: vtuber, multi_speaker
      • presenterstringrequirednullable
        One of: human_cam, human_cutout, vtuber_2d, vtuber_3d, none
      • playbookBetabooleanrequired
      • overriddenbooleanrequired
      • isMyMusicbooleanrequired
      • excludedbooleanrequired
      • clipCountintegerrequired
        at least 0
    • coveragearray of objectrequired
      4fields in each item
      • chunkIndexintegerrequired
        at least 0
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        at least 0
      • statestringrequired
        One of (may gain values): pending, analysing, done, failed, skipped
    • exclusionsarray of objectrequired
      3fields in each item
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
      • kindstringrequired
        One of: intermission, user_excluded
    • mutedRangesarray of objectrequired
      2fields in each item
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        greater than 0
    • chaptersarray of objectrequired
      2fields in each item
      • titlestringrequired
      • fromMsintegerrequired
        at least 0
    • eventPeaksarray of objectrequired
      4fields in each item
      • eventIdstringrequired
        matches ^e[0-9]{1,7}$
      • typestringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • atMsintegerrequired
        at least 0
      • familiesarray of stringrequired
        One of: A, B, C, D, E, F, G, H, I
    • clipsarray of objectrequired
      7fields in each item
      • clipIdstring (uuid)required
      • shelfstringrequired
        One of: top_pick, more_moments
      • statusstringrequired
        One of (may gain values): candidate, composing, ready, failed, deleted
      • fromMsintegerrequired
        at least 0
      • toMsintegerrequired
        at least 0
      • scoreintegerrequired
        from 0 to 100
      • bandstringrequired
        One of: great, good, fair

Errors answer { error: { code, message, details, requestId } } with status 304, 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A video's timeline

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/timeline", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-projects/5b2d8f14-3c6a-4e9b-8a1f-7d0c2e4b6a93/timeline",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · ClipStyleTemplateListResponse

  • dataarray of objectrequired
    7fields in each item
    • idstring (uuid)required
    • namestringrequired
    • familystringrequirednullable
      One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
    • isDefaultbooleanrequired
    • styleobject · ClipStylerequired
      9fields
      • captionsobjectrequired
        11fields
        • presetstringrequired
          One of: auto, karaoke, bold, pop, clean, boxed, reactive, none
        • fontstring · FontIdrequired
          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
        • sizePxintegerrequired
          from 40 to 120
        • highlightColorstringrequired
          matches ^#[0-9a-f]{6}$
        • speakerColorsbooleanrequired
        • emojione ofrequired
          Variant: boolean (1)
          • valuebooleanrequired
          Variant: string (2)
          • valuestringrequired
            Always auto
        • profanitystringrequired
          One of: show, mask
        • positionstringoptional
          One of: auto, top, middle, bottom, seam
        • perLineintegeroptional
          from 1 to 5
        • upperbooleanoptional
        • speakerPalettearray of stringoptional
          at most 4 items · each matches ^#[0-9a-f]{6}$
      • hookobjectrequired
        6fields
        • enabledbooleanrequired
        • modestringrequirednullable
          One of: flash, until_trigger, persistent
        • fontstring · FontIdrequired
          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
        • presetstringoptional
          One of: label, highlight, bold, outline, plain
        • colourstringoptional
          matches ^#[0-9a-f]{6}$
        • bgstringoptionalnullable
          matches ^#[0-9a-f]{6}$
      • layoutobjectrequired
        2fields
        • facecamHeightPctnumberrequirednullable
          from 25 to 50
        • fitBackgroundstringrequired
          One of: blur, black, brand
      • chatCardobjectrequired
        2fields
        • stylestringrequired
          One of: beplan, twitch, minimal
        • hideAuthorbooleanrequired
      • brandobjectrequired
        2fields
        • logoMediaIdstring (uuid)requirednullable
        • cornerstringrequired
          One of: top_left, top_right, bottom_left, bottom_right
      • endCardobjectrequired
        1field
        • enabledbooleanrequired
      • editIntensitystringrequired
        One of: light, balanced, tight
      • cameraobjectoptional
        1field
        • profilestringrequired
          One of: steady, balanced, dynamic
      • zoomsstringoptional
        One of: off, subtle, punchy
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

One template

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Changes data clips.styleTemplates.create
Scope
clips:write
Role permission
Edit clips (clips:edit)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Request body JSON, required

object · CreateClipStyleTemplateBody

  • namestringrequired
    1–80 characters
  • familystringoptionalnullable
    One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
  • styleobject · ClipStylerequired
    9fields
    • captionsobjectrequired
      11fields
      • presetstringrequired
        One of: auto, karaoke, bold, pop, clean, boxed, reactive, none
      • fontstring · FontIdrequired
        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
      • sizePxintegerrequired
        from 40 to 120
      • highlightColorstringrequired
        matches ^#[0-9a-f]{6}$
      • speakerColorsbooleanrequired
      • emojione ofrequired
        Variant: boolean (1)
        • valuebooleanrequired
        Variant: string (2)
        • valuestringrequired
          Always auto
      • profanitystringrequired
        One of: show, mask
      • positionstringoptional
        One of: auto, top, middle, bottom, seam
      • perLineintegeroptional
        from 1 to 5
      • upperbooleanoptional
      • speakerPalettearray of stringoptional
        at most 4 items · each matches ^#[0-9a-f]{6}$
    • hookobjectrequired
      6fields
      • enabledbooleanrequired
      • modestringrequirednullable
        One of: flash, until_trigger, persistent
      • fontstring · FontIdrequired
        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
      • presetstringoptional
        One of: label, highlight, bold, outline, plain
      • colourstringoptional
        matches ^#[0-9a-f]{6}$
      • bgstringoptionalnullable
        matches ^#[0-9a-f]{6}$
    • layoutobjectrequired
      2fields
      • facecamHeightPctnumberrequirednullable
        from 25 to 50
      • fitBackgroundstringrequired
        One of: blur, black, brand
    • chatCardobjectrequired
      2fields
      • stylestringrequired
        One of: beplan, twitch, minimal
      • hideAuthorbooleanrequired
    • brandobjectrequired
      2fields
      • logoMediaIdstring (uuid)requirednullable
      • cornerstringrequired
        One of: top_left, top_right, bottom_left, bottom_right
    • endCardobjectrequired
      1field
      • enabledbooleanrequired
    • editIntensitystringrequired
      One of: light, balanced, tight
    • cameraobjectoptional
      1field
      • profilestringrequired
        One of: steady, balanced, dynamic
    • zoomsstringoptional
      One of: off, subtle, punchy
  • isDefaultbooleanoptional

Responses

201 Created

object · ClipStyleTemplateResponse

  • dataobject · ClipStyleTemplaterequired
    7fields
    • idstring (uuid)required
    • namestringrequired
    • familystringrequirednullable
      One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
    • isDefaultbooleanrequired
    • styleobject · ClipStylerequired
      9fields
      • captionsobjectrequired
        11fields
        • presetstringrequired
          One of: auto, karaoke, bold, pop, clean, boxed, reactive, none
        • fontstring · FontIdrequired
          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
        • sizePxintegerrequired
          from 40 to 120
        • highlightColorstringrequired
          matches ^#[0-9a-f]{6}$
        • speakerColorsbooleanrequired
        • emojione ofrequired
          Variant: boolean (1)
          • valuebooleanrequired
          Variant: string (2)
          • valuestringrequired
            Always auto
        • profanitystringrequired
          One of: show, mask
        • positionstringoptional
          One of: auto, top, middle, bottom, seam
        • perLineintegeroptional
          from 1 to 5
        • upperbooleanoptional
        • speakerPalettearray of stringoptional
          at most 4 items · each matches ^#[0-9a-f]{6}$
      • hookobjectrequired
        6fields
        • enabledbooleanrequired
        • modestringrequirednullable
          One of: flash, until_trigger, persistent
        • fontstring · FontIdrequired
          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
        • presetstringoptional
          One of: label, highlight, bold, outline, plain
        • colourstringoptional
          matches ^#[0-9a-f]{6}$
        • bgstringoptionalnullable
          matches ^#[0-9a-f]{6}$
      • layoutobjectrequired
        2fields
        • facecamHeightPctnumberrequirednullable
          from 25 to 50
        • fitBackgroundstringrequired
          One of: blur, black, brand
      • chatCardobjectrequired
        2fields
        • stylestringrequired
          One of: beplan, twitch, minimal
        • hideAuthorbooleanrequired
      • brandobjectrequired
        2fields
        • logoMediaIdstring (uuid)requirednullable
        • cornerstringrequired
          One of: top_left, top_right, bottom_left, bottom_right
      • endCardobjectrequired
        1field
        • enabledbooleanrequired
      • editIntensitystringrequired
        One of: light, balanced, tight
      • cameraobjectoptional
        1field
        • profilestringrequired
          One of: steady, balanced, dynamic
      • zoomsstringoptional
        One of: off, subtle, punchy
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
13 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A default style for gaming

curl
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
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "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
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "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": None,
                "fitBackground": "blur",
            },
            "chatCard": {
                "style": "beplan",
                "hideAuthor": False,
            },
            "brand": {
                "logoMediaId": None,
                "corner": "top_right",
            },
            "endCard": {
                "enabled": False,
            },
            "editIntensity": "balanced",
        },
        "isDefault": True,
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "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}
Beta Changes data clips.styleTemplates.update
Scope
clips:write
Role permission
Edit clips (clips:edit)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
templateId required path string (uuid)

Request body JSON, required

object · PatchClipStyleTemplateBody

  • namestringoptional
    1–80 characters
  • familystringoptionalnullable
    One of: gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
  • styleobject · ClipStyleoptional
    9fields
    • captionsobjectrequired
      11fields
      • presetstringrequired
        One of: auto, karaoke, bold, pop, clean, boxed, reactive, none
      • fontstring · FontIdrequired
        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
      • sizePxintegerrequired
        from 40 to 120
      • highlightColorstringrequired
        matches ^#[0-9a-f]{6}$
      • speakerColorsbooleanrequired
      • emojione ofrequired
        Variant: boolean (1)
        • valuebooleanrequired
        Variant: string (2)
        • valuestringrequired
          Always auto
      • profanitystringrequired
        One of: show, mask
      • positionstringoptional
        One of: auto, top, middle, bottom, seam
      • perLineintegeroptional
        from 1 to 5
      • upperbooleanoptional
      • speakerPalettearray of stringoptional
        at most 4 items · each matches ^#[0-9a-f]{6}$
    • hookobjectrequired
      6fields
      • enabledbooleanrequired
      • modestringrequirednullable
        One of: flash, until_trigger, persistent
      • fontstring · FontIdrequired
        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
      • presetstringoptional
        One of: label, highlight, bold, outline, plain
      • colourstringoptional
        matches ^#[0-9a-f]{6}$
      • bgstringoptionalnullable
        matches ^#[0-9a-f]{6}$
    • layoutobjectrequired
      2fields
      • facecamHeightPctnumberrequirednullable
        from 25 to 50
      • fitBackgroundstringrequired
        One of: blur, black, brand
    • chatCardobjectrequired
      2fields
      • stylestringrequired
        One of: beplan, twitch, minimal
      • hideAuthorbooleanrequired
    • brandobjectrequired
      2fields
      • logoMediaIdstring (uuid)requirednullable
      • cornerstringrequired
        One of: top_left, top_right, bottom_left, bottom_right
    • endCardobjectrequired
      1field
      • enabledbooleanrequired
    • editIntensitystringrequired
      One of: light, balanced, tight
    • cameraobjectoptional
      1field
      • profilestringrequired
        One of: steady, balanced, dynamic
    • zoomsstringoptional
      One of: off, subtle, punchy
  • isDefaultbooleanoptional

Responses

200 OK

object · ClipStyleTemplateResponse

  • dataobject · ClipStyleTemplaterequired
    7fields
    • idstring (uuid)required
    • namestringrequired
    • familystringrequirednullable
      One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
    • isDefaultbooleanrequired
    • styleobject · ClipStylerequired
      9fields
      • captionsobjectrequired
        11fields
        • presetstringrequired
          One of: auto, karaoke, bold, pop, clean, boxed, reactive, none
        • fontstring · FontIdrequired
          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
        • sizePxintegerrequired
          from 40 to 120
        • highlightColorstringrequired
          matches ^#[0-9a-f]{6}$
        • speakerColorsbooleanrequired
        • emojione ofrequired
          Variant: boolean (1)
          • valuebooleanrequired
          Variant: string (2)
          • valuestringrequired
            Always auto
        • profanitystringrequired
          One of: show, mask
        • positionstringoptional
          One of: auto, top, middle, bottom, seam
        • perLineintegeroptional
          from 1 to 5
        • upperbooleanoptional
        • speakerPalettearray of stringoptional
          at most 4 items · each matches ^#[0-9a-f]{6}$
      • hookobjectrequired
        6fields
        • enabledbooleanrequired
        • modestringrequirednullable
          One of: flash, until_trigger, persistent
        • fontstring · FontIdrequired
          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
        • presetstringoptional
          One of: label, highlight, bold, outline, plain
        • colourstringoptional
          matches ^#[0-9a-f]{6}$
        • bgstringoptionalnullable
          matches ^#[0-9a-f]{6}$
      • layoutobjectrequired
        2fields
        • facecamHeightPctnumberrequirednullable
          from 25 to 50
        • fitBackgroundstringrequired
          One of: blur, black, brand
      • chatCardobjectrequired
        2fields
        • stylestringrequired
          One of: beplan, twitch, minimal
        • hideAuthorbooleanrequired
      • brandobjectrequired
        2fields
        • logoMediaIdstring (uuid)requirednullable
        • cornerstringrequired
          One of: top_left, top_right, bottom_left, bottom_right
      • endCardobjectrequired
        1field
        • enabledbooleanrequired
      • editIntensitystringrequired
        One of: light, balanced, tight
      • cameraobjectoptional
        1field
        • profilestringrequired
          One of: steady, balanced, dynamic
      • zoomsstringoptional
        One of: off, subtle, punchy
    • createdAtstring (date-time)required
    • updatedAtstring (date-time)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 429, 500.

Error codes

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.
11 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Rename

curl
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"
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "name": "Horror nights v2"
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.patch(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "name": "Horror nights v2",
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Deletes clips.styleTemplates.delete
Scope
clips:write
Role permission
Edit clips (clips:edit)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
templateId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Delete one

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates/7a3e5c1b-9d2f-4a6e-b8c0-4f1d3b5e7a29",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Add clips to Drafts

POST /organizations/{organizationId}/workspaces/{workspaceId}/clips/add-to-drafts
Beta Changes data clips.addToDrafts
Scope
clips:write
Role permission
Create posts (post:create)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Request body JSON, required

object · AddClipsToDraftsBody

  • itemsarray of objectrequired
    1 to 50 clips, each at most once.
    1–50 items
    3fields in each item
    • clipIdstring (uuid)required
    • ratiostringoptional
      One of: 9:16, 1:1, 16:9, 4:5
    • resolutionstringoptional
      One of: 1080p, 1440p, 2160p

Responses

201 Created

object · AddClipsToDraftsResponse

  • dataobjectrequired
    1field
    • postsarray of objectrequired
      4fields in each item
      • postIdstring (uuid)required
      • clipIdstring (uuid)required
      • mediaIdstring (uuid)required
      • renderIdstring (uuid)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
13 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Two clips in 9:16

curl
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"
    }
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/add-to-drafts", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "items": [
      {
        "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24"
      },
      {
        "clipId": "e5b7d9f1-3a2c-4e6b-8d0f-1a3c5e7b9d42",
        "ratio": "9:16"
      }
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/add-to-drafts",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "items": [
            {
                "clipId": "c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
            },
            {
                "clipId": "e5b7d9f1-3a2c-4e6b-8d0f-1a3c5e7b9d42",
                "ratio": "9:16",
            },
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "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}
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
clipId required path string (uuid)

Responses

200 OK

object · ClipDetailResponse

  • dataobject · ClipDetailrequired
    50fields
    • idstring (uuid)required
    • projectIdstring (uuid)required
    • shelfstringrequired
      One of (may gain values): top_pick, more_moments
    • statusstringrequired
      One of (may gain values): candidate, composing, ready, failed, deleted
    • originstringrequired
      One of (may gain values): auto, manual, reselect, long, copy, split, duplicate
    • rankintegerrequirednullable
      at least 1
    • waveintegerrequirednullable
      at least 1
    • earlyPickbooleanrequired
    • wildcardbooleanrequired
    • loopablebooleanrequired
    • longbooleanrequired
    • titlestringrequired
    • startMsintegerrequired
      at least 0
    • durationMsintegerrequired
      at least 0
    • scoreintegerrequired
      from 0 to 100
    • bandstringrequired
      One of: great, good, fair
    • scoreCurveVersionintegerrequired
      at least 1
    • partsobjectrequired
      4fields
      • hooknumberrequired
        from 0 to 100
      • payoffnumberrequired
        from 0 to 100
      • contextnumberrequired
        from 0 to 100
      • energynumberrequired
        from 0 to 100
    • fitPercentilenumberrequirednullable
      from 0 to 100
    • reasonobject · ClipDisplayKeyrequired
      2fields
      • keystringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • weaknessobject · ClipDisplayKeyrequirednullable
      2fields
      • keystringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • signalsarray of objectrequired
      at most 5 items
      6fields in each item
      • kindstringrequired
        matches ^[a-z][a-z0-9_]{0,63}$
      • eventIdstringrequirednullable
        matches ^e[0-9]{1,7}$
      • atMsintegerrequired
        at least 0
      • earlierbooleanrequired
      • sourceMsintegerrequired
        at least 0
      • paramsmap of one of · ClipDisplayParamsrequired
        Each value
        One of: number (1)
        • valuenumberrequired
        One of: string (2)
        • valuestringrequired
          at most 300 characters
    • familystringrequired
      One of (may gain values): gaming, just_chatting, reaction, podcast, irl, tutorial, music, edited_video, esports, intermission
    • subtypestringrequirednullable
    • gameNamestringrequirednullable
    • playbookBetabooleanrequired
    • softFlagsarray of stringrequired
      One of (may gain values): third_party_video, copyrighted_music, profanity, sponsor_read
    • finalWatchstringrequirednullable
      One of (may gain values): passed, fixed, demoted, flagged
    • thumbnailUrlstringrequirednullable
    • feedbackstringrequirednullable
      One of: kept, discarded
    • discardReasonstringrequirednullable
      One of (may gain values): boring, wrong_cut, wrong_framing, not_my_style, private, wrong_part, other
    • editVersionintegerrequired
      at least 0
    • latestRenderobjectrequirednullable
      3fields
      • idstring (uuid)required
      • purposestringrequired
        One of: preview, download, drafts, export
      • statusstringrequired
        One of: queued, rendering, ready, failed
    • previewRenderobjectrequirednullable
      4fields
      • idstring (uuid)required
      • statusstringrequired
        One of: queued, rendering, ready, failed
      • progressnumberrequired
        from 0 to 1
      • urlstringrequirednullable
    • demotedbooleanrequired
    • replacedobjectrequirednullable
      2fields
      • atstring (date-time)required
      • byReselectSeqintegerrequirednullable
    • reselectSeqintegerrequirednullable
      at least 1
    • flagsobjectrequired
      2fields
      • hasChatbooleanrequired
      • postedbooleanrequired
    • retryRequestedbooleanrequired
      default false
    • editorUrlstringoptional
      The clip in Beplan's editor: a page for a person to open in Beplan while signed in; not an API address.
    • createdAtstring (date-time)required
    • editDocobject · AnyClipEditDocrequirednullable
      The clip editor's internal document (unversioned). null while candidate, and always for an integration.
      Variant: schema: "beplan.clip-edit/1"
      • schemastringrequired
        Always beplan.clip-edit/1
      • clipIdstring (uuid)required
      • projectIdstring (uuid)required
      • sourceobject · Sourcerequired
        The source video: size, frame rate, duration, colour, timebase map reference and audio tracks.
        8fields
        • widthintegerrequired
          from 160 to 8192
        • heightintegerrequired
          from 160 to 8192
        • fpsobject · Rationalrequired
          A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          2fields
          • numintegerrequired
            from 1 to 240000
          • denintegerrequired
            from 1 to 1001
        • vfrbooleanrequired
        • durationUsintegerrequired
          from 0 to 43200000000
        • colourobject · SourceColourrequired
          Colour matrix, range and transfer of the source video.
          3fields
          • matrixstringrequired
            One of: bt709, bt601, bt2020nc
          • rangestringrequired
            One of: tv, pc
          • transferstringrequired
            One of: bt709, srgb, pq, hlg
        • timebaseRefobject · ArtefactRefrequired
          Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          3fields
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
        • audioTracksarray of objectrequired
          One audio track of the source: its stream index and role.
          at most 8 items
          2fields in each item
          • indexintegerrequired
            from 0 to 15
          • rolestring · TrackRolerequired
            Role of one audio track of the source.
            One of: mic, discord, game, music, mix, unknown
      • outputobject · Outputrequired
        Output frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.
        4fields
        • ratiostring · Ratiorequired
          Output aspect ratio.
          One of: 9:16, 1:1, 16:9, 4:5
        • basestringrequired
          One of: 1080x1920, 1080x1080, 1920x1080, 1080x1350
        • fpsobject · Rationalrequired
          A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          2fields
          • numintegerrequired
            from 1 to 240000
          • denintegerrequired
            from 1 to 1001
        • safeAreastringrequired
          One of: universal-9x16-v1
      • titlestringrequired
        1–120 characters
      • sectionsmap of objectrequired
        at most 8 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • rolestringrequired
          One of: cold_open, setup, body, payoff
        • labelobject · I18nTextoptional
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
        • seamInstringrequired
          One of: hard, j, l
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
      • cutsmap of objectrequired
        at most 500 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • reasonstringrequired
          One of: filler, silence, tangent, badTake, readTrim, user
        • bystringrequired
          One of: auto, user
        • onbooleanrequired
        • fadestringrequired
          One of: declick, crossfade
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
      • wordsRefobject · ArtefactRefrequired
        Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        3fields
        • stagestringrequired
          One of: clipwords, camera, audio, speechenv, captionpass
        • hashstringrequired
          matches ^[0-9a-f]{64}$
        • schemastringrequired
          at most 48 characters
      • wordEditsmap of objectrequired
        at most 2000 keys
        Each value
        • textstringoptional
          1–64 characters
        • speakerstringoptional
          matches ^S[0-9]{1,3}$
        • fillerbooleanoptional
        • emphasisbooleanoptional
        • emojistringoptionalnullable
          at most 16 characters
        • hiddenbooleanoptional
        • maskbooleanoptional
      • speakersmap of objectrequired
        at most 16 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • namestringrequired
          1–40 characters
        • colourstringrequired
          matches ^#[0-9a-f]{6}$
        • rolestringrequired
          One of: host, guest, teammate, npc, tts, music_vocals, unknown
        • captionsbooleanrequired
        • captionColourstringrequired
          One of: own, neutral
      • momentsarray of objectrequired
        Read-only evidence: a detected event of the clip's window, by its event alias (06).
        at most 64 items
        8fields in each item
        • idstringrequired
          matches ^e[0-9]{1,7}$
        • typestringrequired
          at most 32 characters
        • fromUsintegerrequired
          from 0 to 43200000000
        • peakUsintegeroptional
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • protectbooleanrequired
        • confidencenumberrequired
          from 0 to 1
        • explainobject · I18nTextrequired
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
      • protectedRegionsmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • rectobject · Rectrequired
          A rectangle in source pixels of the un-rotated decoded frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • kindstringrequired
          One of: text, graphic, chart, product, lowerThird, face
        • bystringrequired
          One of: auto, user
        • onbooleanrequired
      • captionsobject · Captionsrequired
        Caption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.
        13fields
        • presetstringrequired
          One of: karaoke, bold, pop, clean, boxed, reactive, none
        • fontstring · FontIdrequired
          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
        • sizestringrequired
          One of: s, m, l
        • highlightstringrequired
          matches ^#[0-9a-f]{6}$
        • positionstringrequired
          One of: top, middle, bottom, seam
        • yOffsetnumberoptional
          from -0.2 to 0.2
        • perLineintegerrequired
          from 1 to 5
        • upperbooleanrequired
        • emojibooleanrequired
        • bySpeakerbooleanrequired
        • profanitystringrequired
          One of: show, mask
        • languagestringoptional
          matches ^[a-z]{2,3}(-[A-Z]{2})?$
        • translationsmap of objectoptional
          Each value
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
      • cameraRefobject · ArtefactRefrequirednullable
        Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        3fields
        • stagestringrequired
          One of: clipwords, camera, audio, speechenv, captionpass
        • hashstringrequired
          matches ^[0-9a-f]{64}$
        • schemastringrequired
          at most 48 characters
      • camerasmap of objectrequired
        at most 16 keys
        Each value
        One of: kind: "static"
        • kindstringrequired
          Always static
        • rectobject · Rectrequired
          A rectangle in source pixels of the un-rotated decoded frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        One of: kind: "track"
        • kindstringrequired
          Always track
        • trackstringrequired
          at most 24 characters
        • autobooleanrequired
      • cameraOverridesmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • camerastringrequired
          at most 24 characters
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • keysarray of objectrequired
          One user camera key: source instant, rect in source pixels, ease into it.
          1–600 items
          3fields in each item
          • tUsintegerrequired
            from 0 to 43200000000
          • rectobject · Rectrequired
            A rectangle in source pixels of the un-rotated decoded frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
          • easestring · Easerequired
            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
      • layoutmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • kindstringrequired
          One of: fill, fit, fit_band, facecam_top, avatar_top, screen_top, graphic_top, active_speaker, duo, trio, quad
        • panelsarray of objectrequired
          One panel of a layout span: role, camera, destination box, fit and region class.
          1–4 items
          6fields in each item
          • rolestringrequired
            One of: full, facecam, avatar, content, screen, graphic, speaker, listener
          • camerastringrequired
            at most 24 characters
          • destobject · Boxrequired
            A box in layout pixels of the base output frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
          • fitstringrequired
            One of: cover, contain
          • regionClassstringrequired
            One of: content, face
          • speakerstringoptional
            matches ^S[0-9]{1,3}$
        • splitRationumberoptional
          from 0.25 to 0.5
        • sideFillstringoptional
          One of: blur, brand, black
        • fitBackgroundstringoptional
          One of: blur, black, brand
        • hudInsetsarray of objectoptional
          A HUD element copied from the source into the layout.
          at most 2 items
          2fields in each item
          • srcobject · Rectrequired
            A rectangle in source pixels of the un-rotated decoded frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
          • destobject · Boxrequired
            A box in layout pixels of the base output frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
        • listenerPipobject · ListenerPipoptional
          The listener picture-in-picture of an active_speaker span.
          2fields
          • camerastringrequired
            at most 24 characters
          • destobject · Boxrequired
            A box in layout pixels of the base output frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
        • effectsmap of objectrequired
          at most 16 keys
          Each value
          • orderstringrequired
            matches ^[0-9A-Za-z]{1,32}$
          • kindstringrequired
            One of: reaction_full, listener_insert, chat_focus
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          • entrystringrequired
            One of: cut, grow6
          • exitstringrequired
            One of: return8, cut
          • bystring · Byrequired
            Who made an item: the automatic edit, the user or a style template.
            One of: auto, user, template
          • onbooleanrequired
        • transitionInstringrequired
          One of: cut, morph8
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
      • zoomsmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • kindstringrequired
          One of: snap, push, pulse, region, shake
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • panelintegerrequired
          from 0 to 3
        • scalenumberrequired
          from 1 to 1.5
        • regionobject · Rectoptional
          A rectangle in source pixels of the un-rotated decoded frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • easestring · Easerequired
          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
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
      • overlaysmap of objectrequired
        at most 16 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • rolestringrequired
          One of: hook, label, cta, lowerThird, step
        • textstringrequired
          1–200 characters
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • modestringoptional
          One of: flash, until_trigger, persistent
        • triggerUsintegeroptional
          from 0 to 43200000000
        • pinobject · OverlayPinoptional
          A user pin of an overlay in layout pixels.
          2fields
          • xnumberrequired
          • ynumberrequired
        • scalenumberrequired
          from 0.5 to 2.5
        • styleobject · OverlayStylerequired
          Text style of an overlay: preset, font, colour and optional background.
          4fields
          • presetstringrequired
            One of: label, highlight, bold, outline, plain
          • fontstring · FontIdrequired
            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
          • colourstringrequired
            matches ^#[0-9a-f]{6}$
          • bgstringoptional
            matches ^#[0-9a-f]{6}$
        • entrancestringrequired
          One of: none, pop, slide
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
      • chatCardsmap of objectrequired
        at most 16 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • messageIdstringoptional
          at most 64 characters
        • authorstringrequired
          at most 40 characters
        • authorColourstringoptional
          matches ^#[0-9a-f]{6}$
        • badgesarray of stringrequired
          at most 4 items · each at most 80 characters
        • fragmentsarray of objectrequired
          One fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill.
          1–80 items
          Item: kind: "text"
          • kindstringrequired
            Always text
          • textstringrequired
            at most 500 characters
          Item: kind: "emote"
          • kindstringrequired
            Always emote
          • assetstringrequired
            at most 80 characters
          • codestringrequired
            at most 64 characters
          Item: kind: "pill"
          • kindstringrequired
            Always pill
          • codestringrequired
            at most 64 characters
        • amountobject · ChatAmountoptional
          Bits or a donation attached to a chat message.
          3fields
          • kindstringrequired
            One of: bits, donation
          • valueintegerrequired
          • currencystringoptional
            exactly 3 characters
        • readWordsobject · ChatReadWordsoptional
          The words where the streamer reads the message aloud.
          2fields
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • stylestringrequired
          One of: beplan, twitch, minimal
        • hideAuthorbooleanrequired
        • sourcestringrequired
          One of: replay, eventsub, ocr, tts, log
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
      • brollmap of objectrequired
        at most 32 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • mediaIdstring (uuid)required
        • versionIdstring (uuid)optional
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • modestringrequired
          One of: full, pip
        • boxobject · Boxoptional
          A box in layout pixels of the base output frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • rotationDegnumberrequired
          from -10 to 10
        • trimInUsintegeroptional
          from 0 to 43200000000
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
      • audioobject · Audiorequired
        Audio inputs: track gains, speech-envelope reference, dynamics, master target, music stem, SFX, music.
        7fields
        • tracksmap of objectrequired
          Each value
          • gainDbnumberrequired
            from -60 to 12
          • mutebooleanrequired
        • speechEnvelopeRefobject · ArtefactRefrequirednullable
          Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          3fields
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
        • dynamicsobject · AudioDynamicsrequired
          Dynamics processing: switch, loudness-range target and envelopes.
          3fields
          • onbooleanrequired
          • lraTargetintegerrequired
            from 5 to 20
          • envelopesarray of objectrequired
            A gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints.
            at most 8 items
            3fields in each item
            • targetstringrequired
              Variant: string (1)
              • valuestringrequired
                Always mix
              Variant: string (2)
              • valuestringrequired
                matches ^t[0-9]{1,2}$
            • kindstringrequired
              One of: leveller, limiter, duck
            • pointsarray of tuple of 2required
              at most 4000 items · each exactly 2 items
              Item: item 1
              • valueintegerrequired
                from 0 to 43200000000
              Item: item 2
              • valueintegerrequired
                from -9600 to 2400
        • masterobject · MasterLoudnessrequired
          Master loudness target: -14 LUFS integrated, -1 dBTP true peak.
          2fields
          • lufsnumberrequired
            Always -14
          • truePeakDbnumberrequired
            Always -1
        • musicStemobject · MusicStemoptional
          Music stem of an edited video, crossfaded at cuts (beta).
          2fields
          • refobject · ArtefactRefrequired
            Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
            3fields
            • stagestringrequired
              One of: clipwords, camera, audio, speechenv, captionpass
            • hashstringrequired
              matches ^[0-9a-f]{64}$
            • schemastringrequired
              at most 48 characters
          • crossfadeMsintegerrequired
            from 50 to 400
        • sfxmap of objectrequired
          at most 32 keys
          Each value
          • orderstringrequired
            matches ^[0-9A-Za-z]{1,32}$
          • assetstringrequired
            One of: whoosh, rewind, soft_pop, low_impact, riser, tick
          • anchorobject · Anchorrequired
            Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
            Variant: kind: "src"
            • kindstringrequired
              Always src
            • fromUsintegerrequired
              from 0 to 43200000000
            • toUsintegerrequired
              from 0 to 43200000000
            Variant: kind: "clip"
            • kindstringrequired
              Always clip
            • fromUsintegerrequired
              from 0 to 900000000
            • toUsintegerrequired
              from 0 to 900000000
            Variant: kind: "words"
            • kindstringrequired
              Always words
            • fromWordstringrequired
              matches ^[0-9]{1,10}$
            • toWordstringrequired
              matches ^[0-9]{1,10}$
          • gainDbnumberrequired
            from -30 to -12
          • bystring · Byrequired
            Who made an item: the automatic edit, the user or a style template.
            One of: auto, user, template
          • onbooleanrequired
        • musicobject · Musicoptional
          Background music from the media library (F1).
          6fields
          • mediaIdstring (uuid)required
          • gainDbnumberrequired
          • duckDepthDbnumberrequired
          • fromClipUsintegerrequired
            from 0 to 900000000
          • fadeInUsintegerrequired
          • fadeOutUsintegerrequired
      • brandobject · Brandrequired
        Brand elements: logo, end card and the style template the clip was composed with.
        3fields
        • logoobject · BrandLogorequired
          The workspace logo in a corner of the frame.
          4fields
          • onbooleanrequired
          • cornerstringrequired
            One of: tl, tr, bl, br
          • assetstringoptional
            at most 80 characters
          • scalenumberrequired
            from 0.5 to 1.5
        • endCardobject · EndCardrequired
          End card with the creator's handle, only on non-looping destinations.
          4fields
          • onbooleanrequired
          • durUsintegerrequired
            from 1000000 to 3000000
          • handlestringoptional
            at most 40 characters
          • destinationsarray of stringrequired
            One of: x, linkedin
        • styleTemplateIdstring (uuid)optional
      • hiddenarray of stringrequired
        at most 24 items · each matches ^(overlays|broll|chat|captions|music|sfx|cap:S[0-9]{1,3})$
      • editLogmap of objectrequired
        at most 400 keys
        Each value
        • atstring (date-time)required
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • kindstringrequired
          One of: cut, silence, zoom, layout, hook, chatCard, caption, trim, reframe, audio, cover, fix
        • targetstringrequired
          at most 80 characters
        • reasonobject · I18nTextrequired
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
        • evidencearray of stringoptional
          at most 8 items · each matches ^e[0-9]{1,7}$
        • onbooleanrequired
      • coverUsintegerrequired
        from 0 to 900000000
      • provenanceobject · Provenancerequired
        How the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.
        8fields
        • pipelineVersionstringrequired
          at most 32 characters
        • composeVersionstringrequired
          at most 32 characters
        • playbookstringrequired
          matches ^[a-z_]+\.[a-z_]+@[0-9]{1,4}$
        • hypothesisstringrequired
          One of: tight, standard, extended, cold_open, stitched
        • seedintegerrequired
          from 0 to 4294967295
        • speakerMapVersionintegerrequired
        • modelsmap of stringrequired
        • captionPassobject · CaptionPassInforequirednullable
          The caption pass that produced the referenced clipwords: engine and time.
          2fields
          • enginestringrequired
            at most 64 characters
          • atstring (date-time)required
      Variant: schema: "beplan.clip-edit/2"
      • schemastringrequired
        Always beplan.clip-edit/2
      • clipIdstring (uuid)required
      • projectIdstring (uuid)required
      • sourceobject · Sourcerequired
        The source video: size, frame rate, duration, colour, timebase map reference and audio tracks.
        8fields
        • widthintegerrequired
          from 160 to 8192
        • heightintegerrequired
          from 160 to 8192
        • fpsobject · Rationalrequired
          A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          2fields
          • numintegerrequired
            from 1 to 240000
          • denintegerrequired
            from 1 to 1001
        • vfrbooleanrequired
        • durationUsintegerrequired
          from 0 to 43200000000
        • colourobject · SourceColourrequired
          Colour matrix, range and transfer of the source video.
          3fields
          • matrixstringrequired
            One of: bt709, bt601, bt2020nc
          • rangestringrequired
            One of: tv, pc
          • transferstringrequired
            One of: bt709, srgb, pq, hlg
        • timebaseRefobject · ArtefactRefrequired
          Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          3fields
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
        • audioTracksarray of objectrequired
          One audio track of the source: its stream index and role.
          at most 8 items
          2fields in each item
          • indexintegerrequired
            from 0 to 15
          • rolestring · TrackRolerequired
            Role of one audio track of the source.
            One of: mic, discord, game, music, mix, unknown
      • outputobject · Outputrequired
        Output frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.
        4fields
        • ratiostring · Ratiorequired
          Output aspect ratio.
          One of: 9:16, 1:1, 16:9, 4:5
        • basestringrequired
          One of: 1080x1920, 1080x1080, 1920x1080, 1080x1350
        • fpsobject · Rationalrequired
          A frame rate as the rational num / den (30/1, 60/1, 30000/1001).
          2fields
          • numintegerrequired
            from 1 to 240000
          • denintegerrequired
            from 1 to 1001
        • safeAreastringrequired
          One of: universal-9x16-v1
      • titlestringrequired
        1–120 characters
      • sectionsmap of objectrequired
        at most 8 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • rolestringrequired
          One of: cold_open, setup, body, payoff
        • labelobject · I18nTextoptional
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
        • seamInstringrequired
          One of: hard, j, l
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
      • cutsmap of objectrequired
        at most 500 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • reasonstringrequired
          One of: filler, silence, tangent, badTake, readTrim, user
        • bystringrequired
          One of: auto, user
        • onbooleanrequired
        • fadestringrequired
          One of: declick, crossfade
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
      • wordsRefobject · ArtefactRefrequired
        Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        3fields
        • stagestringrequired
          One of: clipwords, camera, audio, speechenv, captionpass
        • hashstringrequired
          matches ^[0-9a-f]{64}$
        • schemastringrequired
          at most 48 characters
      • wordEditsmap of objectrequired
        at most 2000 keys
        Each value
        • textstringoptional
          1–64 characters
        • speakerstringoptional
          matches ^S[0-9]{1,3}$
        • fillerbooleanoptional
        • emphasisbooleanoptional
        • emojistringoptionalnullable
          at most 16 characters
        • hiddenbooleanoptional
        • maskbooleanoptional
      • speakersmap of objectrequired
        at most 16 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • namestringrequired
          1–40 characters
        • colourstringrequired
          matches ^#[0-9a-f]{6}$
        • rolestringrequired
          One of: host, guest, teammate, npc, tts, music_vocals, unknown
        • captionsbooleanrequired
        • captionColourstringrequired
          One of: own, neutral
      • momentsarray of objectrequired
        Read-only evidence: a detected event of the clip's window, by its event alias (06).
        at most 64 items
        8fields in each item
        • idstringrequired
          matches ^e[0-9]{1,7}$
        • typestringrequired
          at most 32 characters
        • fromUsintegerrequired
          from 0 to 43200000000
        • peakUsintegeroptional
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • protectbooleanrequired
        • confidencenumberrequired
          from 0 to 1
        • explainobject · I18nTextrequired
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
      • protectedRegionsmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • toUsintegerrequired
          from 0 to 43200000000
        • rectobject · Rectrequired
          A rectangle in source pixels of the un-rotated decoded frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • kindstringrequired
          One of: text, graphic, chart, product, lowerThird, face
        • bystringrequired
          One of: auto, user
        • onbooleanrequired
      • captionsobject · Captionsrequired
        Caption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.
        13fields
        • presetstringrequired
          One of: karaoke, bold, pop, clean, boxed, reactive, none
        • fontstring · FontIdrequired
          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
        • sizestringrequired
          One of: s, m, l
        • highlightstringrequired
          matches ^#[0-9a-f]{6}$
        • positionstringrequired
          One of: top, middle, bottom, seam
        • yOffsetnumberoptional
          from -0.2 to 0.2
        • perLineintegerrequired
          from 1 to 5
        • upperbooleanrequired
        • emojibooleanrequired
        • bySpeakerbooleanrequired
        • profanitystringrequired
          One of: show, mask
        • languagestringoptional
          matches ^[a-z]{2,3}(-[A-Z]{2})?$
        • translationsmap of objectoptional
          Each value
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
      • cameraRefobject · ArtefactRefrequirednullable
        Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
        3fields
        • stagestringrequired
          One of: clipwords, camera, audio, speechenv, captionpass
        • hashstringrequired
          matches ^[0-9a-f]{64}$
        • schemastringrequired
          at most 48 characters
      • layoutsmap of objectrequired
        at most 64 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • fromUsintegerrequired
          from 0 to 43200000000
        • presetstring · LayoutPresetrequired
          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
        • splitRationumberoptional
          from 0.25 to 0.5
        • sideFillstringoptional
          One of: blur, brand, black
        • fitBackgroundstringoptional
          One of: blur, black, brand
        • effectsmap of objectrequired
          at most 16 keys
          Each value
          • orderstringrequired
            matches ^[0-9A-Za-z]{1,32}$
          • kindstringrequired
            One of: reaction_full, listener_insert, chat_focus
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          • entrystringrequired
            One of: cut, grow6
          • exitstringrequired
            One of: return8, cut
          • bystring · Byrequired
            Who made an item: the automatic edit, the user or a style template.
            One of: auto, user, template
          • onbooleanrequired
        • transitionInstringrequired
          One of: cut, morph8
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
      • tracksmap of objectrequired
        at most 128 keys
        Each value
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • kindstring · TrackKindrequired
          Kind of a track: camera, text, chat, media, captions or audio.
          One of: camera, text, chat, media, captions, audio
        • nameobject · TrackNamerequired
          The name of a track: an i18n key for automatic tracks, or the text a person typed.
          Variant: kind: "key"
          • kindstringrequired
            Always key
          • textobject · I18nTextrequired
            A user-visible sentence by reference: a clipEditor i18n key and its parameters.
            2fields
            • keystringrequired
              matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
            • paramsmap of one ofoptional
              Each value
              One of: string (1)
              • valuestringrequired
                at most 80 characters
              One of: integer (2)
              • valueintegerrequired
          Variant: kind: "custom"
          • kindstringrequired
            Always custom
          • textstringrequired
            1–40 characters
        • hiddenbooleanrequired
        • lockedbooleanrequired
        • regionobject · Rectoptional
          A rectangle in source pixels of the un-rotated decoded frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
      • itemsmap of objectrequired
        at most 768 keys
        Each value
        One of: kind: "camera"
        • kindstringrequired
          Always camera
        • trackstringrequired
          matches ^r[0-9a-z]{1,12}$
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
        • camerastringrequired
          at most 24 characters
        • slotintegeroptional
          from 0 to 3
        • rolestring · CameraItemRolerequired
          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
        • regionClassstringrequired
          One of: content, face
        • speakerstringoptional
          matches ^S[0-9]{1,3}$
        • destobject · Boxrequired
          A box in layout pixels of the base output frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • fitstringrequired
          One of: cover, contain
        • framingobject · CameraFramingrequired
          What part of the source a camera item shows: a still rect, or a followed camera-artefact track with an adjustment.
          Variant: kind: "still"
          • kindstringrequired
            Always still
          • rectobject · Rectrequired
            A rectangle in source pixels of the un-rotated decoded frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
          Variant: kind: "follow"
          • kindstringrequired
            Always follow
          • trackstringrequired
            at most 24 characters
          • autobooleanrequired
          • dxnumberrequired
          • dynumberrequired
          • zoomnumberrequired
            from 0.5 to 6
          • smoothnumberrequired
            from 0 to 1
        • keyedmap of objectrequired
          at most 64 keys
          Each value
          • orderstringrequired
            matches ^[0-9A-Za-z]{1,32}$
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          • keysarray of objectrequired
            One user camera key: source instant, rect in source pixels, ease into it.
            1–600 items
            3fields in each item
            • tUsintegerrequired
              from 0 to 43200000000
            • rectobject · Rectrequired
              A rectangle in source pixels of the un-rotated decoded frame.
              4fields
              • xnumberrequired
              • ynumberrequired
              • wnumberrequired
                greater than 0
              • hnumberrequired
                greater than 0
            • easestring · Easerequired
              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
        • zoomsmap of objectrequired
          at most 64 keys
          Each value
          • orderstringrequired
            matches ^[0-9A-Za-z]{1,32}$
          • kindstringrequired
            One of: snap, push, pulse, region, shake
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          • scalenumberrequired
            from 1 to 1.5
          • regionobject · Rectoptional
            A rectangle in source pixels of the un-rotated decoded frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
          • easestring · Easerequired
            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
          • bystring · Byrequired
            Who made an item: the automatic edit, the user or a style template.
            One of: auto, user, template
          • onbooleanrequired
          • logstringoptional
            matches ^e[0-9a-z]{1,12}$
        • radiusnumberrequired
          from 0 to 540
        • borderobject · CameraBorderoptional
          A border around a camera item: width in base pixels and colour.
          2fields
          • widthnumberrequired
            from 1 to 24
          • colourstringrequired
            matches ^#[0-9a-f]{6}$
        One of: kind: "text"
        • kindstringrequired
          Always text
        • trackstringrequired
          matches ^r[0-9a-z]{1,12}$
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
        • rolestringrequired
          One of: hook, label, cta, lowerThird, step
        • textstringrequired
          1–200 characters
        • modestringoptional
          One of: flash, until_trigger, persistent
        • triggerUsintegeroptional
          from 0 to 43200000000
        • scalenumberrequired
          from 0.5 to 2.5
        • styleobject · OverlayStylerequired
          Text style of an overlay: preset, font, colour and optional background.
          4fields
          • presetstringrequired
            One of: label, highlight, bold, outline, plain
          • fontstring · FontIdrequired
            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
          • colourstringrequired
            matches ^#[0-9a-f]{6}$
          • bgstringoptional
            matches ^#[0-9a-f]{6}$
        • entrancestringrequired
          One of: none, pop, slide
        • placeobject · ItemPlacerequired
          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"
          • kindstringrequired
            Always auto
          Variant: kind: "pin"
          • kindstringrequired
            Always pin
          • xnumberrequired
          • ynumberrequired
          Variant: kind: "box"
          • kindstringrequired
            Always box
          • boxobject · Boxrequired
            A box in layout pixels of the base output frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
        • exitstring · TextExitrequired
          How a text item leaves: none (as v1), fade, pop or slide.
          One of: none, fade, pop, slide
        One of: kind: "chat"
        • kindstringrequired
          Always chat
        • trackstringrequired
          matches ^r[0-9a-z]{1,12}$
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
        • messageIdstringoptional
          at most 64 characters
        • authorstringrequired
          at most 40 characters
        • authorColourstringoptional
          matches ^#[0-9a-f]{6}$
        • badgesarray of stringrequired
          at most 4 items · each at most 80 characters
        • fragmentsarray of objectrequired
          One fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill.
          1–80 items
          Item: kind: "text"
          • kindstringrequired
            Always text
          • textstringrequired
            at most 500 characters
          Item: kind: "emote"
          • kindstringrequired
            Always emote
          • assetstringrequired
            at most 80 characters
          • codestringrequired
            at most 64 characters
          Item: kind: "pill"
          • kindstringrequired
            Always pill
          • codestringrequired
            at most 64 characters
        • amountobject · ChatAmountoptional
          Bits or a donation attached to a chat message.
          3fields
          • kindstringrequired
            One of: bits, donation
          • valueintegerrequired
          • currencystringoptional
            exactly 3 characters
        • readWordsobject · ChatReadWordsoptional
          The words where the streamer reads the message aloud.
          2fields
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • stylestringrequired
          One of: beplan, twitch, minimal
        • hideAuthorbooleanrequired
        • sourcestringrequired
          One of: replay, eventsub, ocr, tts, log
        • placeobject · ItemPlacerequired
          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"
          • kindstringrequired
            Always auto
          Variant: kind: "pin"
          • kindstringrequired
            Always pin
          • xnumberrequired
          • ynumberrequired
          Variant: kind: "box"
          • kindstringrequired
            Always box
          • boxobject · Boxrequired
            A box in layout pixels of the base output frame.
            4fields
            • xnumberrequired
            • ynumberrequired
            • wnumberrequired
              greater than 0
            • hnumberrequired
              greater than 0
        One of: kind: "media"
        • kindstringrequired
          Always media
        • trackstringrequired
          matches ^r[0-9a-z]{1,12}$
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
        • mediaIdstring (uuid)required
        • versionIdstring (uuid)optional
        • modestringrequired
          One of: full, pip
        • boxobject · Boxoptional
          A box in layout pixels of the base output frame.
          4fields
          • xnumberrequired
          • ynumberrequired
          • wnumberrequired
            greater than 0
          • hnumberrequired
            greater than 0
        • rotationDegnumberrequired
          from -10 to 10
        • trimInUsintegeroptional
          from 0 to 43200000000
        • radiusnumberrequired
          from 0 to 540
        • opacitynumberrequired
          from 0 to 1
        • gainDbnumberrequired
          from -60 to 12
        One of: kind: "audio"
        • kindstringrequired
          Always audio
        • trackstringrequired
          matches ^r[0-9a-z]{1,12}$
        • orderstringrequired
          matches ^[0-9A-Za-z]{1,32}$
        • anchorobject · Anchorrequired
          Where an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.
          Variant: kind: "src"
          • kindstringrequired
            Always src
          • fromUsintegerrequired
            from 0 to 43200000000
          • toUsintegerrequired
            from 0 to 43200000000
          Variant: kind: "clip"
          • kindstringrequired
            Always clip
          • fromUsintegerrequired
            from 0 to 900000000
          • toUsintegerrequired
            from 0 to 900000000
          Variant: kind: "words"
          • kindstringrequired
            Always words
          • fromWordstringrequired
            matches ^[0-9]{1,10}$
          • toWordstringrequired
            matches ^[0-9]{1,10}$
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • onbooleanrequired
        • logstringoptional
          matches ^e[0-9a-z]{1,12}$
        • soundobject · AudioSoundrequired
          What an audio item plays: a media-library sound or a bundled sound effect.
          Variant: kind: "media"
          • kindstringrequired
            Always media
          • mediaIdstring (uuid)required
          Variant: kind: "sfx"
          • kindstringrequired
            Always sfx
          • assetstringrequired
            One of: whoosh, rewind, soft_pop, low_impact, riser, tick
        • gainDbnumberrequired
          from -60 to 12
        • fadeInUsintegerrequired
          from 0 to 10000000
        • fadeOutUsintegerrequired
          from 0 to 10000000
        • duckDepthDbnumberrequired
          from -24 to 0
        • trimInUsintegeroptional
          from 0 to 43200000000
      • audioobject · AudioV2required
        Audio inputs of v2: track gains, speech-envelope reference, dynamics, master target and music stem.
        5fields
        • tracksmap of objectrequired
          Each value
          • gainDbnumberrequired
            from -60 to 12
          • mutebooleanrequired
        • speechEnvelopeRefobject · ArtefactRefrequirednullable
          Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
          3fields
          • stagestringrequired
            One of: clipwords, camera, audio, speechenv, captionpass
          • hashstringrequired
            matches ^[0-9a-f]{64}$
          • schemastringrequired
            at most 48 characters
        • dynamicsobject · AudioDynamicsrequired
          Dynamics processing: switch, loudness-range target and envelopes.
          3fields
          • onbooleanrequired
          • lraTargetintegerrequired
            from 5 to 20
          • envelopesarray of objectrequired
            A gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints.
            at most 8 items
            3fields in each item
            • targetstringrequired
              Variant: string (1)
              • valuestringrequired
                Always mix
              Variant: string (2)
              • valuestringrequired
                matches ^t[0-9]{1,2}$
            • kindstringrequired
              One of: leveller, limiter, duck
            • pointsarray of tuple of 2required
              at most 4000 items · each exactly 2 items
              Item: item 1
              • valueintegerrequired
                from 0 to 43200000000
              Item: item 2
              • valueintegerrequired
                from -9600 to 2400
        • masterobject · MasterLoudnessrequired
          Master loudness target: -14 LUFS integrated, -1 dBTP true peak.
          2fields
          • lufsnumberrequired
            Always -14
          • truePeakDbnumberrequired
            Always -1
        • musicStemobject · MusicStemoptional
          Music stem of an edited video, crossfaded at cuts (beta).
          2fields
          • refobject · ArtefactRefrequired
            Reference to an immutable artefact: its stage, its inputs_hash and its schema id.
            3fields
            • stagestringrequired
              One of: clipwords, camera, audio, speechenv, captionpass
            • hashstringrequired
              matches ^[0-9a-f]{64}$
            • schemastringrequired
              at most 48 characters
          • crossfadeMsintegerrequired
            from 50 to 400
      • brandobject · Brandrequired
        Brand elements: logo, end card and the style template the clip was composed with.
        3fields
        • logoobject · BrandLogorequired
          The workspace logo in a corner of the frame.
          4fields
          • onbooleanrequired
          • cornerstringrequired
            One of: tl, tr, bl, br
          • assetstringoptional
            at most 80 characters
          • scalenumberrequired
            from 0.5 to 1.5
        • endCardobject · EndCardrequired
          End card with the creator's handle, only on non-looping destinations.
          4fields
          • onbooleanrequired
          • durUsintegerrequired
            from 1000000 to 3000000
          • handlestringoptional
            at most 40 characters
          • destinationsarray of stringrequired
            One of: x, linkedin
        • styleTemplateIdstring (uuid)optional
      • hiddenSpeakersarray of stringrequired
        at most 24 items · each matches ^S[0-9]{1,3}$
      • editLogmap of objectrequired
        at most 400 keys
        Each value
        • atstring (date-time)required
        • bystring · Byrequired
          Who made an item: the automatic edit, the user or a style template.
          One of: auto, user, template
        • kindstringrequired
          One of: cut, silence, zoom, layout, hook, chatCard, caption, trim, reframe, audio, cover, fix
        • targetstringrequired
          at most 80 characters
        • reasonobject · I18nTextrequired
          A user-visible sentence by reference: a clipEditor i18n key and its parameters.
          2fields
          • keystringrequired
            matches ^clipEditor:[a-zA-Z0-9_.]{1,80}$
          • paramsmap of one ofoptional
            Each value
            One of: string (1)
            • valuestringrequired
              at most 80 characters
            One of: integer (2)
            • valueintegerrequired
        • evidencearray of stringoptional
          at most 8 items · each matches ^e[0-9]{1,7}$
        • onbooleanrequired
      • coverUsintegerrequired
        from 0 to 900000000
      • provenanceobject · Provenancerequired
        How the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.
        8fields
        • pipelineVersionstringrequired
          at most 32 characters
        • composeVersionstringrequired
          at most 32 characters
        • playbookstringrequired
          matches ^[a-z_]+\.[a-z_]+@[0-9]{1,4}$
        • hypothesisstringrequired
          One of: tight, standard, extended, cold_open, stitched
        • seedintegerrequired
          from 0 to 4294967295
        • speakerMapVersionintegerrequired
        • modelsmap of stringrequired
        • captionPassobject · CaptionPassInforequirednullable
          The caption pass that produced the referenced clipwords: engine and time.
          2fields
          • enginestringrequired
            at most 64 characters
          • atstring (date-time)required
    • editUpdatedAtstring (date-time)requirednullable
    • rendersarray of objectrequired
      19fields in each item
      • idstring (uuid)required
      • clipIdstring (uuid)required
      • purposestringrequired
        One of: preview, download, drafts, export
      • ratiostringrequired
        One of: 9:16, 1:1, 16:9, 4:5
      • resolutionstringrequired
        One of: 540p, 1080p, 1440p, 2160p
      • widthintegerrequired
        greater than 0
      • heightintegerrequired
        greater than 0
      • editVersionintegerrequired
        at least 0
      • statusstringrequired
        One of (may gain values): queued, rendering, ready, failed
      • progressnumberrequired
        from 0 to 1
      • etaSecondsintegerrequirednullable
        at least 0
      • mediaIdstring (uuid)requirednullable
      • downloadUrlstringrequirednullable
      • posterUrlstringrequirednullable
      • purgedbooleanrequired
      • expiresAtstring (date-time)requirednullable
      • errorCodestringrequirednullable
      • createdAtstring (date-time)required
      • completedAtstring (date-time)requirednullable
    • variantsarray of objectrequired
      4fields in each item
      • variantstringrequired
        One of: tight, standard, extended, cold_open, stitched, long
      • availablebooleanrequired
      • durationMsintegerrequirednullable
        at least 0
      • appliedbooleanrequired
    • sourceRangesarray of objectrequired
      6fields in each item
      • sectionIdstringrequired
        Variant: string (1)
        • valuestringrequired
          matches ^s[0-9a-z]{1,12}$
        Variant: string (2)
        • valuestringrequired
          Always prefetch
      • purposestringrequired
        One of: section, prefetch
      • fromUsintegerrequired
        from 0 to 43200000000
      • toUsintegerrequired
        from 0 to 43200000000
      • statusstringrequired
        One of: pending, fetching, ready, failed, expired
      • maxResolutionstringrequirednullable
        One of: 1080p, 1440p, 2160p
    • copyPackobject · ClipCopyPackrequirednullable
      2fields
      • platformsmap of objectrequired
        Each value
        • titlestringrequirednullable
          at most 150 characters
        • descriptionstringrequirednullable
          at most 5000 characters
        • hashtagsarray of stringrequired
          A hashtag: # then 1 to 100 characters (Unicode code points), with no space and no other #.
          at most 30 items
        • firstCommentstringrequirednullable
          at most 2200 characters
      • hooksarray of stringrequired
        at most 3 items · each 1–80 characters
    • qaobject · ClipQarequirednullable
      3fields
      • gatestringrequired
        One of: passed, fixed, warned
      • finalWatchstringrequirednullable
        One of: passed, fixed, demoted, flagged
      • noticesarray of objectrequired
        at most 8 items
        2fields in each item
        • keystringrequired
          matches ^[a-z][a-z0-9_]{0,63}$
        • paramsmap of one of · ClipDisplayParamsrequired
          Each value
          One of: number (1)
          • valuenumberrequired
          One of: string (2)
          • valuestringrequired
            at most 300 characters
    • coverMsintegerrequirednullable
      at least 0
    • followTasksarray of objectrequired
      6fields in each item
      • taskKeystringrequired
        matches ^follow:[0-9a-f-]{36}:[0-9]{1,9}$
      • itemIdstringrequirednullable
        matches ^i[0-9a-z]{1,14}$
      • kindstringrequirednullable
        One of: face, body, object
      • statestringrequired
        One of: queued, starting, running, done, failed
      • progressnumberoptional
        from 0 to 1
      • errorstringoptional
        at most 80 characters

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A finished clip

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Deletes clips.delete
Scope
clips:write
Role permission
Delete clips (clips:delete)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
clipId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Delete a clip

curl
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_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Keep or discard a clip

POST /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/feedback
Beta Changes data clips.feedback.create
Scope
clips:write
Role permission
Edit clips (clips:edit)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
clipId required path string (uuid)

Request body JSON, required

object · ClipFeedbackBody

  • kindstringrequired
    One of: previewed, kept, discarded, restored
  • reasonstringoptional
    One of: boring, wrong_cut, wrong_framing, not_my_style, private, wrong_part, other
  • targetstringoptional
    One of: top_picks, shelf
  • notestringoptional
    at most 500 characters

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
13 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Keep a clip

curl
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"
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24/feedback", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "kind": "kept"
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clips/c1a7e3f5-9b2d-4c8e-a6f0-3d5b7e9a1c24/feedback",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "kind": "kept",
    },
)
response.raise_for_status()

Answers 204 with no content.

Get a clip render

GET /organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/renders/{renderId}
Beta Reads only 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
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
clipId required path string (uuid)
renderId required path string (uuid)

Responses

200 OK

object · ClipRenderResponse

  • dataobjectrequired
    1field
    • renderobject · ClipRenderrequired
      19fields
      • idstring (uuid)required
      • clipIdstring (uuid)required
      • purposestringrequired
        One of (may gain values): preview, download, drafts, export
      • ratiostringrequired
        One of: 9:16, 1:1, 16:9, 4:5
      • resolutionstringrequired
        One of: 540p, 1080p, 1440p, 2160p
      • widthintegerrequired
        greater than 0
      • heightintegerrequired
        greater than 0
      • editVersionintegerrequired
        at least 0
      • statusstringrequired
        One of (may gain values): queued, rendering, ready, failed
      • progressnumberrequired
        from 0 to 1
      • etaSecondsintegerrequirednullable
        at least 0
      • mediaIdstring (uuid)requirednullable
      • downloadUrlstringrequirednullable
      • posterUrlstringrequirednullable
      • purgedbooleanrequired
      • expiresAtstring (date-time)requirednullable
      • errorCodestringrequirednullable
      • createdAtstring (date-time)required
      • completedAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A ready download

curl
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_…"
TypeScript
const response = await fetch("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", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.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",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Changes data clips.renders.saveToLibrary
Scope
clips:write
Role permission
Edit clips (clips:edit)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
clipId required path string (uuid)
renderId required path string (uuid)

Responses

201 Created

object · SaveToLibraryResponse

  • dataobjectrequired
    2fields
    • mediaIdstring (uuid)required
    • folderIdstring (uuid)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
13 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Save a download

curl
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)"
TypeScript
const response = await fetch("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", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.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",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "data": {
    "mediaId": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": "6d1c2b7a-1f2e-4b8c-9a3d-5e6f7a8b9c0d"
  }
}