API reference
Clips
On this page
- Get the Clips hours
- Get a clip export
- List Clips videos
- Get a Clips video
- Rename a Clips video
- Delete a Clips video
- Stop a Clips video
- List a video's clips
- Get a Clips video's timeline
- List clip style templates
- Save a clip style template
- Edit a clip style template
- Delete a clip style template
- Add clips to Drafts
- Get a clip
- Delete a clip
- Keep or discard a clip
- Get a clip render
- 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 Get the Clips hours
- GET Get a clip export
- GET List Clips videos
- GET Get a Clips video
- PATCH Rename a Clips video
- DELETE Delete a Clips video
- POST Stop a Clips video
- GET List a video's clips
- GET Get a Clips video's timeline
- GET List clip style templates
- POST Save a clip style template
- PATCH Edit a clip style template
- DELETE Delete a clip style template
- POST Add clips to Drafts
- GET Get a clip
- DELETE Delete a clip
- POST Keep or discard a clip
- GET Get a clip render
- POST Save a clip render to the media library
Get the Clips hours
/organizations/{organizationId}/clip-usage 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 · ClipUsagerequired22fields
meterModestringrequiredOne of:shadow,enforcedplanobjectrequired3fields
typestringrequiredOne of (may gain values):free,starter,growth,pro,studio,creatorbillingstringrequiredOne of:monthly,annual,trial,freeclipSecondsPerMonthintegerrequiredat least 0
periodobjectrequired3fields
kindstringrequiredOne of (may gain values):monthly,trial,free_samplestartsAtstring (date-time)requiredresetsAtstring (date-time)requirednullable
grantedSecondsintegerrequiredat least 0rolloverSecondsintegerrequiredat least 0rolloverExpiresAtstring (date-time)requirednullablerolloverPendingbooleanrequiredpackSecondsintegerrequiredat least 0packsarray of objectrequired4fields in each item
idstring (uuid)requiredsecondsintegerrequiredat least 0remainingSecondsintegerrequiredat least 0expiresAtstring (date-time)required
usedSecondsintegerrequiredat least 0inUseSecondsintegerrequiredat least 0inUseProjectsintegerrequiredat least 0debtSecondsintegerrequiredat least 0borrowedSecondsintegerrequiredat least 0availableSecondsintegerrequiredat least 0autoClipFloorSecondsintegerrequiredat least 0nextPlanobjectrequirednullable5fields
typestringrequiredOne of:free,starter,growth,pro,studio,creatorclipSecondsPerMonthintegerrequiredat least 0priceUsdnumberrequiredDeprecated: usepriceMinorandcurrency. The price in US dollars, as a float.at least 0priceMinorintegeroptionalThe price in the currency's minor unit (cents for USD), an integer.at least 0currencystring · ClipPriceCurrencyoptionalThe ISO 4217 currency ofpriceMinor.One of:USD
packOfferobjectrequirednullable4fields
secondsintegerrequiredat least 0priceUsdnumberrequiredDeprecated: usepriceMinorandcurrency. The price in US dollars, as a float.at least 0priceMinorintegeroptionalThe price in the currency's minor unit (cents for USD), an integer.at least 0currencystring · ClipPriceCurrencyoptionalThe ISO 4217 currency ofpriceMinor.One of:USD
freeSampleobjectrequirednullable3fields
verifiedbooleanrequiredaskForClipsLeftintegerrequiredat least 0segmentOverridesLeftintegerrequiredat least 0
unusedRefundAvailablebooleanrequiredworkspacesarray of objectrequirednullable3fields in each item
workspaceIdstring (uuid)requiredusedSecondsintegerrequiredat least 0inUseSecondsintegerrequiredat least 0
workspaceLimitsarray of objectrequired4fields in each item
workspaceIdstring (uuid)requiredcapSecondsintegerrequiredat least 0usedSecondsintegerrequiredat least 0availableSecondsintegerrequiredat 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 -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/clip-usage" \
-H "Authorization: Bearer beplan_pat_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-exports/{exportId} 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
dataobjectrequired1field
exportobject · ClipExportrequired12fields
idstring (uuid)requiredstatusstringrequiredOne of (may gain values):queued,rendering,zipping,ready,failedclipCountintegerrequiredfrom 1 to 50ratiostringrequiredOne of:9:16,1:1,16:9,4:5resolutionstringrequiredOne of:1080p,1440p,2160pincludeCaptionsbooleanrequiredprogressnumberrequiredfrom 0 to 1failedClipIdsarray of string (uuid)requireddownloadUrlstringrequirednullableexpiresAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredcompletedAtstring (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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects 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 objectrequired32fields in each item
idstring (uuid)requiredtitlestringrequiredmodestringrequiredOne of:moments,repurposesourceKindstringrequiredOne of (may gain values):upload,twitch,youtube,kick,drive,dropbox,media_librarychannelNamestringrequirednullablethumbnailUrlstringrequirednullablesourceDurationMsintegerrequirednullableat least 0rangeobject · MsRangerequirednullable2fields
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
statusstringrequiredOne of (may gain values):blocked,awaiting_upload,queued,processing,ready,ready_partial,failed,cancelledblockedReasonstringrequirednullableOne of (may gain values):over_quota,rights_confirmation,stream_live,queued_for_reset,source_blockedstagestringrequiredOne of (may gain values):uploading,fetching,analysing,finding,editing,doneprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0etaobject · ClipProjectEtarequired4fields
firstClipAtstring (date-time)requirednullableallClipsAtstring (date-time)requirednullablelowConfidencebooleanrequiredreasonstringrequiredOne of (may gain values):normal,gpu_waking,queued_concurrency,queued_capacity,evening_hold,capacity_unavailable
topPickCountintegerrequiredat least 0moreMomentsCountintegerrequiredat least 0bestScoreintegerrequirednullablefrom 0 to 100familiesarray of objectrequired2fields in each item
familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsecondsnumberrequiredat least 0
countedSecondsintegerrequirednullableat least 0originalAvailableUntilstring (date-time)requirednullableplatformExpiresAtstring (date-time)requirednullablecanRefetchSourcebooleanrequiredribbonobject · ClipProjectRibbonrequired3fields
segmentsarray of objectrequiredat most 64 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionlabelstringrequirednullable
coveragearray of objectrequiredat most 128 items3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
markersarray of objectrequiredat most 50 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0clipIdstring (uuid)requiredbandstringrequiredOne of:great,good,fair
factsarray of objectrequiredat most 3 items3fields in each item
keystringrequiredmatches^[a-z][a-zA-Z0-9]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
atstring (date-time)required
errorCodestringrequirednullableerrorReasonstringrequirednullableOne of (may gain values):private,subscriber_only,expired,removed,region_blocked,live,youtube_blocked,invalid_media,age_restricted,blocked,rate_limitedsourceFetchobject · ClipSourceFetchrequirednullable2fields
phasestringrequiredOne of:waiting,probing,downloading,storingpercentintegerrequirednullablefrom 0 to 100
sourceUrlstringrequirednullabledefault nullretryRequestedbooleanrequireddefault falseappUrlstringoptionalThe video's page with its clips, for a person to open in Beplan while signed in; not an API address.createdAtstring (date-time)requiredupdatedAtstring (date-time)required
pageobjectrequired2fields
nextCursorstringrequirednullablehasMorebooleanrequired
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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId} 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 · ClipProjectDetailrequired44fields
idstring (uuid)requiredtitlestringrequiredmodestringrequiredOne of:moments,repurposesourceKindstringrequiredOne of (may gain values):upload,twitch,youtube,kick,drive,dropbox,media_librarychannelNamestringrequirednullablethumbnailUrlstringrequirednullablesourceDurationMsintegerrequirednullableat least 0rangeobject · MsRangerequirednullable2fields
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
statusstringrequiredOne of (may gain values):blocked,awaiting_upload,queued,processing,ready,ready_partial,failed,cancelledblockedReasonstringrequirednullableOne of (may gain values):over_quota,rights_confirmation,stream_live,queued_for_reset,source_blockedstagestringrequiredOne of (may gain values):uploading,fetching,analysing,finding,editing,doneprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0etaobject · ClipProjectEtarequired4fields
firstClipAtstring (date-time)requirednullableallClipsAtstring (date-time)requirednullablelowConfidencebooleanrequiredreasonstringrequiredOne of (may gain values):normal,gpu_waking,queued_concurrency,queued_capacity,evening_hold,capacity_unavailable
topPickCountintegerrequiredat least 0moreMomentsCountintegerrequiredat least 0bestScoreintegerrequirednullablefrom 0 to 100familiesarray of objectrequired2fields in each item
familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsecondsnumberrequiredat least 0
countedSecondsintegerrequirednullableat least 0originalAvailableUntilstring (date-time)requirednullableplatformExpiresAtstring (date-time)requirednullablecanRefetchSourcebooleanrequiredribbonobject · ClipProjectRibbonrequired3fields
segmentsarray of objectrequiredat most 64 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionlabelstringrequirednullable
coveragearray of objectrequiredat most 128 items3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
markersarray of objectrequiredat most 50 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0clipIdstring (uuid)requiredbandstringrequiredOne of:great,good,fair
factsarray of objectrequiredat most 30 items3fields in each item
keystringrequiredmatches^[a-z][a-zA-Z0-9]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
atstring (date-time)required
errorCodestringrequirednullableerrorReasonstringrequirednullableOne of (may gain values):private,subscriber_only,expired,removed,region_blocked,live,youtube_blocked,invalid_media,age_restricted,blocked,rate_limitedsourceFetchobject · ClipSourceFetchrequirednullable2fields
phasestringrequiredOne of:waiting,probing,downloading,storingpercentintegerrequirednullablefrom 0 to 100
sourceUrlstringrequirednullableretryRequestedbooleanrequireddefault falseappUrlstringoptionalThe video's page with its clips, for a person to open in Beplan while signed in; not an API address.createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredundoUntilstring (date-time)requirednullableawaitingEmailVerificationbooleanrequiredreadOnlybooleanrequiredlanguagestringrequirednullablematches^[a-z]{2,3}(-[A-Z]{2})?$waveobjectrequired2fields
currentintegerrequirednullableat least 1finalbooleanrequired
coveragearray of objectrequired3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
hoursobjectrequired6fields
heldSecondsintegerrequiredat least 0committedSecondsintegerrequiredat least 0countedSecondsintegerrequiredat least 0refundedSecondsintegerrequiredat least 0returnedAtstring (date-time)requirednullableexcludedobjectrequired4fields
intermissionintegerrequiredat least 0mutedintegerrequiredat least 0deadAirintegerrequiredat least 0failedChunksintegerrequiredat least 0
refundEligibleUntilstring (date-time)requirednullablecopiedFromobjectrequirednullable2fields
projectIdstring (uuid)requiredworkspaceIdstring (uuid)required
reselectsarray of objectrequired6fields in each item
seqintegerrequiredat least 1modestringrequiredOne of:prompt,segment_override,find_more,length,longpromptstringrequirednullablestatusstringrequiredOne of:queued,running,done,failedclipCountintegerrequiredat least 0createdAtstring (date-time)required
uploadProgressobjectrequirednullable2fields
uploadedPartsintegerrequiredat least 0partCountintegerrequiredat least 1
freeAiobjectrequirednullable2fields
askForClipsLeftintegerrequiredat least 0segmentOverridesLeftintegerrequiredat 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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId} 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
titlestringoptional1–300 charactersrangeobject · UsRangeoptionalnullableA part of the source video in microseconds (12 hours at most):toUsmust be greater thanfromUs.2fields
fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredabove 0 to 43200000000
Responses
200 OK
object · ClipProjectDetailResponse
dataobject · ClipProjectDetailrequired44fields
idstring (uuid)requiredtitlestringrequiredmodestringrequiredOne of:moments,repurposesourceKindstringrequiredOne of (may gain values):upload,twitch,youtube,kick,drive,dropbox,media_librarychannelNamestringrequirednullablethumbnailUrlstringrequirednullablesourceDurationMsintegerrequirednullableat least 0rangeobject · MsRangerequirednullable2fields
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
statusstringrequiredOne of (may gain values):blocked,awaiting_upload,queued,processing,ready,ready_partial,failed,cancelledblockedReasonstringrequirednullableOne of (may gain values):over_quota,rights_confirmation,stream_live,queued_for_reset,source_blockedstagestringrequiredOne of (may gain values):uploading,fetching,analysing,finding,editing,doneprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0etaobject · ClipProjectEtarequired4fields
firstClipAtstring (date-time)requirednullableallClipsAtstring (date-time)requirednullablelowConfidencebooleanrequiredreasonstringrequiredOne of (may gain values):normal,gpu_waking,queued_concurrency,queued_capacity,evening_hold,capacity_unavailable
topPickCountintegerrequiredat least 0moreMomentsCountintegerrequiredat least 0bestScoreintegerrequirednullablefrom 0 to 100familiesarray of objectrequired2fields in each item
familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsecondsnumberrequiredat least 0
countedSecondsintegerrequirednullableat least 0originalAvailableUntilstring (date-time)requirednullableplatformExpiresAtstring (date-time)requirednullablecanRefetchSourcebooleanrequiredribbonobject · ClipProjectRibbonrequired3fields
segmentsarray of objectrequiredat most 64 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionlabelstringrequirednullable
coveragearray of objectrequiredat most 128 items3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
markersarray of objectrequiredat most 50 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0clipIdstring (uuid)requiredbandstringrequiredOne of:great,good,fair
factsarray of objectrequiredat most 30 items3fields in each item
keystringrequiredmatches^[a-z][a-zA-Z0-9]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
atstring (date-time)required
errorCodestringrequirednullableerrorReasonstringrequirednullableOne of (may gain values):private,subscriber_only,expired,removed,region_blocked,live,youtube_blocked,invalid_media,age_restricted,blocked,rate_limitedsourceFetchobject · ClipSourceFetchrequirednullable2fields
phasestringrequiredOne of:waiting,probing,downloading,storingpercentintegerrequirednullablefrom 0 to 100
sourceUrlstringrequirednullableretryRequestedbooleanrequireddefault falseappUrlstringoptionalThe video's page with its clips, for a person to open in Beplan while signed in; not an API address.createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredundoUntilstring (date-time)requirednullableawaitingEmailVerificationbooleanrequiredreadOnlybooleanrequiredlanguagestringrequirednullablematches^[a-z]{2,3}(-[A-Z]{2})?$waveobjectrequired2fields
currentintegerrequirednullableat least 1finalbooleanrequired
coveragearray of objectrequired3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
hoursobjectrequired6fields
heldSecondsintegerrequiredat least 0committedSecondsintegerrequiredat least 0countedSecondsintegerrequiredat least 0refundedSecondsintegerrequiredat least 0returnedAtstring (date-time)requirednullableexcludedobjectrequired4fields
intermissionintegerrequiredat least 0mutedintegerrequiredat least 0deadAirintegerrequiredat least 0failedChunksintegerrequiredat least 0
refundEligibleUntilstring (date-time)requirednullablecopiedFromobjectrequirednullable2fields
projectIdstring (uuid)requiredworkspaceIdstring (uuid)required
reselectsarray of objectrequired6fields in each item
seqintegerrequiredat least 1modestringrequiredOne of:prompt,segment_override,find_more,length,longpromptstringrequirednullablestatusstringrequiredOne of:queued,running,done,failedclipCountintegerrequiredat least 0createdAtstring (date-time)required
uploadProgressobjectrequirednullable2fields
uploadedPartsintegerrequiredat least 0partCountintegerrequiredat least 1
freeAiobjectrequirednullable2fields
askForClipsLeftintegerrequiredat least 0segmentOverridesLeftintegerrequiredat 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 -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)"
}' 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId} 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 -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_…" 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); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/cancel clipProjects.cancel - Scope
- clips:write
- Role permission
- Import videos (
clips:import) - Effect
- Deletes data or cannot be undone.
- Idempotency
- Send an
Idempotency-Keyto 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
dataobjectrequired1field
projectobject · ClipProjectDetailrequired44fields
idstring (uuid)requiredtitlestringrequiredmodestringrequiredOne of:moments,repurposesourceKindstringrequiredOne of (may gain values):upload,twitch,youtube,kick,drive,dropbox,media_librarychannelNamestringrequirednullablethumbnailUrlstringrequirednullablesourceDurationMsintegerrequirednullableat least 0rangeobject · MsRangerequirednullable2fields
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
statusstringrequiredOne of (may gain values):blocked,awaiting_upload,queued,processing,ready,ready_partial,failed,cancelledblockedReasonstringrequirednullableOne of (may gain values):over_quota,rights_confirmation,stream_live,queued_for_reset,source_blockedstagestringrequiredOne of (may gain values):uploading,fetching,analysing,finding,editing,doneprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0etaobject · ClipProjectEtarequired4fields
firstClipAtstring (date-time)requirednullableallClipsAtstring (date-time)requirednullablelowConfidencebooleanrequiredreasonstringrequiredOne of (may gain values):normal,gpu_waking,queued_concurrency,queued_capacity,evening_hold,capacity_unavailable
topPickCountintegerrequiredat least 0moreMomentsCountintegerrequiredat least 0bestScoreintegerrequirednullablefrom 0 to 100familiesarray of objectrequired2fields in each item
familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsecondsnumberrequiredat least 0
countedSecondsintegerrequirednullableat least 0originalAvailableUntilstring (date-time)requirednullableplatformExpiresAtstring (date-time)requirednullablecanRefetchSourcebooleanrequiredribbonobject · ClipProjectRibbonrequired3fields
segmentsarray of objectrequiredat most 64 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0familystringrequiredOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionlabelstringrequirednullable
coveragearray of objectrequiredat most 128 items3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
markersarray of objectrequiredat most 50 items4fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0clipIdstring (uuid)requiredbandstringrequiredOne of:great,good,fair
factsarray of objectrequiredat most 30 items3fields in each item
keystringrequiredmatches^[a-z][a-zA-Z0-9]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
atstring (date-time)required
errorCodestringrequirednullableerrorReasonstringrequirednullableOne of (may gain values):private,subscriber_only,expired,removed,region_blocked,live,youtube_blocked,invalid_media,age_restricted,blocked,rate_limitedsourceFetchobject · ClipSourceFetchrequirednullable2fields
phasestringrequiredOne of:waiting,probing,downloading,storingpercentintegerrequirednullablefrom 0 to 100
sourceUrlstringrequirednullableretryRequestedbooleanrequireddefault falseappUrlstringoptionalThe video's page with its clips, for a person to open in Beplan while signed in; not an API address.createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredundoUntilstring (date-time)requirednullableawaitingEmailVerificationbooleanrequiredreadOnlybooleanrequiredlanguagestringrequirednullablematches^[a-z]{2,3}(-[A-Z]{2})?$waveobjectrequired2fields
currentintegerrequirednullableat least 1finalbooleanrequired
coveragearray of objectrequired3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0statestringrequiredOne of:pending,analysing,done,failed,skipped
hoursobjectrequired6fields
heldSecondsintegerrequiredat least 0committedSecondsintegerrequiredat least 0countedSecondsintegerrequiredat least 0refundedSecondsintegerrequiredat least 0returnedAtstring (date-time)requirednullableexcludedobjectrequired4fields
intermissionintegerrequiredat least 0mutedintegerrequiredat least 0deadAirintegerrequiredat least 0failedChunksintegerrequiredat least 0
refundEligibleUntilstring (date-time)requirednullablecopiedFromobjectrequirednullable2fields
projectIdstring (uuid)requiredworkspaceIdstring (uuid)required
reselectsarray of objectrequired6fields in each item
seqintegerrequiredat least 1modestringrequiredOne of:prompt,segment_override,find_more,length,longpromptstringrequirednullablestatusstringrequiredOne of:queued,running,done,failedclipCountintegerrequiredat least 0createdAtstring (date-time)required
uploadProgressobjectrequirednullable2fields
uploadedPartsintegerrequiredat least 0partCountintegerrequiredat least 1
freeAiobjectrequirednullable2fields
askForClipsLeftintegerrequiredat least 0segmentOverridesLeftintegerrequiredat 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 -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)" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/clips 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 objectrequired41fields in each item
idstring (uuid)requiredprojectIdstring (uuid)requiredshelfstringrequiredOne of (may gain values):top_pick,more_momentsstatusstringrequiredOne of (may gain values):candidate,composing,ready,failed,deletedoriginstringrequiredOne of (may gain values):auto,manual,reselect,long,copy,split,duplicaterankintegerrequirednullableat least 1waveintegerrequirednullableat least 1earlyPickbooleanrequiredwildcardbooleanrequiredloopablebooleanrequiredlongbooleanrequiredtitlestringrequiredstartMsintegerrequiredat least 0durationMsintegerrequiredat least 0scoreintegerrequiredfrom 0 to 100bandstringrequiredOne of:great,good,fairscoreCurveVersionintegerrequiredat least 1partsobjectrequired4fields
hooknumberrequiredfrom 0 to 100payoffnumberrequiredfrom 0 to 100contextnumberrequiredfrom 0 to 100energynumberrequiredfrom 0 to 100
fitPercentilenumberrequirednullablefrom 0 to 100reasonobject · ClipDisplayKeyrequired2fields
keystringrequiredmatches^[a-z][a-z0-9_]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
weaknessobject · ClipDisplayKeyrequirednullable2fields
keystringrequiredmatches^[a-z][a-z0-9_]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
signalsarray of objectrequiredat most 5 items6fields in each item
kindstringrequiredmatches^[a-z][a-z0-9_]{0,63}$eventIdstringrequirednullablematches^e[0-9]{1,7}$atMsintegerrequiredat least 0earlierbooleanrequiredsourceMsintegerrequiredat least 0paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
familystringrequiredOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsubtypestringrequirednullablegameNamestringrequirednullableplaybookBetabooleanrequiredsoftFlagsarray of stringrequiredOne of (may gain values):third_party_video,copyrighted_music,profanity,sponsor_readfinalWatchstringrequirednullableOne of (may gain values):passed,fixed,demoted,flaggedthumbnailUrlstringrequirednullablefeedbackstringrequirednullableOne of:kept,discardeddiscardReasonstringrequirednullableOne of (may gain values):boring,wrong_cut,wrong_framing,not_my_style,private,wrong_part,othereditVersionintegerrequiredat least 0latestRenderobjectrequirednullable3fields
idstring (uuid)requiredpurposestringrequiredOne of:preview,download,drafts,exportstatusstringrequiredOne of:queued,rendering,ready,failed
previewRenderobjectrequirednullable4fields
idstring (uuid)requiredstatusstringrequiredOne of:queued,rendering,ready,failedprogressnumberrequiredfrom 0 to 1urlstringrequirednullable
demotedbooleanrequiredreplacedobjectrequirednullable2fields
atstring (date-time)requiredbyReselectSeqintegerrequirednullable
reselectSeqintegerrequirednullableat least 1flagsobjectrequired2fields
hasChatbooleanrequiredpostedbooleanrequired
retryRequestedbooleanrequireddefault falseeditorUrlstringoptionalThe 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
pageobjectrequired2fields
nextCursorstringrequirednullablehasMorebooleanrequired
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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-projects/{projectId}/timeline 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 · ClipTimelinerequired10fields
projectIdstring (uuid)requireddurationMsintegerrequirednullableat least 0rangeobject · MsRangerequirednullable2fields
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
segmentsarray of objectrequired14fields in each item
idstring (uuid)requiredkeystringrequiredmatches^g[0-9]{1,5}(_[0-9]{1,5})?$fromMsintegerrequiredat least 0toMsintegerrequiredat least 0familystringrequiredOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsubtypestringrequirednullablegameNamestringrequirednullablemodifiersarray of stringrequiredOne of:vtuber,multi_speakerpresenterstringrequirednullableOne of:human_cam,human_cutout,vtuber_2d,vtuber_3d,noneplaybookBetabooleanrequiredoverriddenbooleanrequiredisMyMusicbooleanrequiredexcludedbooleanrequiredclipCountintegerrequiredat least 0
coveragearray of objectrequired4fields in each item
chunkIndexintegerrequiredat least 0fromMsintegerrequiredat least 0toMsintegerrequiredat least 0statestringrequiredOne of (may gain values):pending,analysing,done,failed,skipped
exclusionsarray of objectrequired3fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0kindstringrequiredOne of:intermission,user_excluded
mutedRangesarray of objectrequired2fields in each item
fromMsintegerrequiredat least 0toMsintegerrequiredgreater than 0
chaptersarray of objectrequired2fields in each item
titlestringrequiredfromMsintegerrequiredat least 0
eventPeaksarray of objectrequired4fields in each item
eventIdstringrequiredmatches^e[0-9]{1,7}$typestringrequiredmatches^[a-z][a-z0-9_]{0,63}$atMsintegerrequiredat least 0familiesarray of stringrequiredOne of:A,B,C,D,E,F,G,H,I
clipsarray of objectrequired7fields in each item
clipIdstring (uuid)requiredshelfstringrequiredOne of:top_pick,more_momentsstatusstringrequiredOne of (may gain values):candidate,composing,ready,failed,deletedfromMsintegerrequiredat least 0toMsintegerrequiredat least 0scoreintegerrequiredfrom 0 to 100bandstringrequiredOne 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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates 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 objectrequired7fields in each item
idstring (uuid)requirednamestringrequiredfamilystringrequirednullableOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionisDefaultbooleanrequiredstyleobject · ClipStylerequired9fields
captionsobjectrequired11fields
presetstringrequiredOne of:auto,karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizePxintegerrequiredfrom 40 to 120highlightColorstringrequiredmatches^#[0-9a-f]{6}$speakerColorsbooleanrequiredemojione ofrequiredVariant: boolean (1)
valuebooleanrequired
Variant: string (2)
valuestringrequiredAlwaysauto
profanitystringrequiredOne of:show,maskpositionstringoptionalOne of:auto,top,middle,bottom,seamperLineintegeroptionalfrom 1 to 5upperbooleanoptionalspeakerPalettearray of stringoptionalat most 4 items · each matches^#[0-9a-f]{6}$
hookobjectrequired6fields
enabledbooleanrequiredmodestringrequirednullableOne of:flash,until_trigger,persistentfontstring · FontIdrequiredA 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-krpresetstringoptionalOne of:label,highlight,bold,outline,plaincolourstringoptionalmatches^#[0-9a-f]{6}$bgstringoptionalnullablematches^#[0-9a-f]{6}$
layoutobjectrequired2fields
facecamHeightPctnumberrequirednullablefrom 25 to 50fitBackgroundstringrequiredOne of:blur,black,brand
chatCardobjectrequired2fields
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequired
brandobjectrequired2fields
logoMediaIdstring (uuid)requirednullablecornerstringrequiredOne of:top_left,top_right,bottom_left,bottom_right
endCardobjectrequired1field
enabledbooleanrequired
editIntensitystringrequiredOne of:light,balanced,tightcameraobjectoptional1field
profilestringrequiredOne of:steady,balanced,dynamic
zoomsstringoptionalOne of:off,subtle,punchy
createdAtstring (date-time)requiredupdatedAtstring (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 -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/clip-style-templates" \
-H "Authorization: Bearer beplan_pat_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates clips.styleTemplates.create - Scope
- clips:write
- Role permission
- Edit clips (
clips:edit) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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
namestringrequired1–80 charactersfamilystringoptionalnullableOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionstyleobject · ClipStylerequired9fields
captionsobjectrequired11fields
presetstringrequiredOne of:auto,karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizePxintegerrequiredfrom 40 to 120highlightColorstringrequiredmatches^#[0-9a-f]{6}$speakerColorsbooleanrequiredemojione ofrequiredVariant: boolean (1)
valuebooleanrequired
Variant: string (2)
valuestringrequiredAlwaysauto
profanitystringrequiredOne of:show,maskpositionstringoptionalOne of:auto,top,middle,bottom,seamperLineintegeroptionalfrom 1 to 5upperbooleanoptionalspeakerPalettearray of stringoptionalat most 4 items · each matches^#[0-9a-f]{6}$
hookobjectrequired6fields
enabledbooleanrequiredmodestringrequirednullableOne of:flash,until_trigger,persistentfontstring · FontIdrequiredA 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-krpresetstringoptionalOne of:label,highlight,bold,outline,plaincolourstringoptionalmatches^#[0-9a-f]{6}$bgstringoptionalnullablematches^#[0-9a-f]{6}$
layoutobjectrequired2fields
facecamHeightPctnumberrequirednullablefrom 25 to 50fitBackgroundstringrequiredOne of:blur,black,brand
chatCardobjectrequired2fields
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequired
brandobjectrequired2fields
logoMediaIdstring (uuid)requirednullablecornerstringrequiredOne of:top_left,top_right,bottom_left,bottom_right
endCardobjectrequired1field
enabledbooleanrequired
editIntensitystringrequiredOne of:light,balanced,tightcameraobjectoptional1field
profilestringrequiredOne of:steady,balanced,dynamic
zoomsstringoptionalOne of:off,subtle,punchy
isDefaultbooleanoptional
Responses
201 Created
object · ClipStyleTemplateResponse
dataobject · ClipStyleTemplaterequired7fields
idstring (uuid)requirednamestringrequiredfamilystringrequirednullableOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionisDefaultbooleanrequiredstyleobject · ClipStylerequired9fields
captionsobjectrequired11fields
presetstringrequiredOne of:auto,karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizePxintegerrequiredfrom 40 to 120highlightColorstringrequiredmatches^#[0-9a-f]{6}$speakerColorsbooleanrequiredemojione ofrequiredVariant: boolean (1)
valuebooleanrequired
Variant: string (2)
valuestringrequiredAlwaysauto
profanitystringrequiredOne of:show,maskpositionstringoptionalOne of:auto,top,middle,bottom,seamperLineintegeroptionalfrom 1 to 5upperbooleanoptionalspeakerPalettearray of stringoptionalat most 4 items · each matches^#[0-9a-f]{6}$
hookobjectrequired6fields
enabledbooleanrequiredmodestringrequirednullableOne of:flash,until_trigger,persistentfontstring · FontIdrequiredA 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-krpresetstringoptionalOne of:label,highlight,bold,outline,plaincolourstringoptionalmatches^#[0-9a-f]{6}$bgstringoptionalnullablematches^#[0-9a-f]{6}$
layoutobjectrequired2fields
facecamHeightPctnumberrequirednullablefrom 25 to 50fitBackgroundstringrequiredOne of:blur,black,brand
chatCardobjectrequired2fields
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequired
brandobjectrequired2fields
logoMediaIdstring (uuid)requirednullablecornerstringrequiredOne of:top_left,top_right,bottom_left,bottom_right
endCardobjectrequired1field
enabledbooleanrequired
editIntensitystringrequiredOne of:light,balanced,tightcameraobjectoptional1field
profilestringrequiredOne of:steady,balanced,dynamic
zoomsstringoptionalOne of:off,subtle,punchy
createdAtstring (date-time)requiredupdatedAtstring (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 -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
}' 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates/{templateId} 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
namestringoptional1–80 charactersfamilystringoptionalnullableOne of:gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionstyleobject · ClipStyleoptional9fields
captionsobjectrequired11fields
presetstringrequiredOne of:auto,karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizePxintegerrequiredfrom 40 to 120highlightColorstringrequiredmatches^#[0-9a-f]{6}$speakerColorsbooleanrequiredemojione ofrequiredVariant: boolean (1)
valuebooleanrequired
Variant: string (2)
valuestringrequiredAlwaysauto
profanitystringrequiredOne of:show,maskpositionstringoptionalOne of:auto,top,middle,bottom,seamperLineintegeroptionalfrom 1 to 5upperbooleanoptionalspeakerPalettearray of stringoptionalat most 4 items · each matches^#[0-9a-f]{6}$
hookobjectrequired6fields
enabledbooleanrequiredmodestringrequirednullableOne of:flash,until_trigger,persistentfontstring · FontIdrequiredA 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-krpresetstringoptionalOne of:label,highlight,bold,outline,plaincolourstringoptionalmatches^#[0-9a-f]{6}$bgstringoptionalnullablematches^#[0-9a-f]{6}$
layoutobjectrequired2fields
facecamHeightPctnumberrequirednullablefrom 25 to 50fitBackgroundstringrequiredOne of:blur,black,brand
chatCardobjectrequired2fields
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequired
brandobjectrequired2fields
logoMediaIdstring (uuid)requirednullablecornerstringrequiredOne of:top_left,top_right,bottom_left,bottom_right
endCardobjectrequired1field
enabledbooleanrequired
editIntensitystringrequiredOne of:light,balanced,tightcameraobjectoptional1field
profilestringrequiredOne of:steady,balanced,dynamic
zoomsstringoptionalOne of:off,subtle,punchy
isDefaultbooleanoptional
Responses
200 OK
object · ClipStyleTemplateResponse
dataobject · ClipStyleTemplaterequired7fields
idstring (uuid)requirednamestringrequiredfamilystringrequirednullableOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionisDefaultbooleanrequiredstyleobject · ClipStylerequired9fields
captionsobjectrequired11fields
presetstringrequiredOne of:auto,karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizePxintegerrequiredfrom 40 to 120highlightColorstringrequiredmatches^#[0-9a-f]{6}$speakerColorsbooleanrequiredemojione ofrequiredVariant: boolean (1)
valuebooleanrequired
Variant: string (2)
valuestringrequiredAlwaysauto
profanitystringrequiredOne of:show,maskpositionstringoptionalOne of:auto,top,middle,bottom,seamperLineintegeroptionalfrom 1 to 5upperbooleanoptionalspeakerPalettearray of stringoptionalat most 4 items · each matches^#[0-9a-f]{6}$
hookobjectrequired6fields
enabledbooleanrequiredmodestringrequirednullableOne of:flash,until_trigger,persistentfontstring · FontIdrequiredA 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-krpresetstringoptionalOne of:label,highlight,bold,outline,plaincolourstringoptionalmatches^#[0-9a-f]{6}$bgstringoptionalnullablematches^#[0-9a-f]{6}$
layoutobjectrequired2fields
facecamHeightPctnumberrequirednullablefrom 25 to 50fitBackgroundstringrequiredOne of:blur,black,brand
chatCardobjectrequired2fields
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequired
brandobjectrequired2fields
logoMediaIdstring (uuid)requirednullablecornerstringrequiredOne of:top_left,top_right,bottom_left,bottom_right
endCardobjectrequired1field
enabledbooleanrequired
editIntensitystringrequiredOne of:light,balanced,tightcameraobjectoptional1field
profilestringrequiredOne of:steady,balanced,dynamic
zoomsstringoptionalOne of:off,subtle,punchy
createdAtstring (date-time)requiredupdatedAtstring (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 -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"
}' 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clip-style-templates/{templateId} 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 -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_…" 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); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/add-to-drafts clips.addToDrafts - Scope
- clips:write
- Role permission
- Create posts (
post:create) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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 objectrequired1 to 50 clips, each at most once.1–50 items3fields in each item
clipIdstring (uuid)requiredratiostringoptionalOne of:9:16,1:1,16:9,4:5resolutionstringoptionalOne of:1080p,1440p,2160p
Responses
201 Created
object · AddClipsToDraftsResponse
dataobjectrequired1field
postsarray of objectrequired4fields in each item
postIdstring (uuid)requiredclipIdstring (uuid)requiredmediaIdstring (uuid)requiredrenderIdstring (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 -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"
}
]
}' 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId} 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 · ClipDetailrequired50fields
idstring (uuid)requiredprojectIdstring (uuid)requiredshelfstringrequiredOne of (may gain values):top_pick,more_momentsstatusstringrequiredOne of (may gain values):candidate,composing,ready,failed,deletedoriginstringrequiredOne of (may gain values):auto,manual,reselect,long,copy,split,duplicaterankintegerrequirednullableat least 1waveintegerrequirednullableat least 1earlyPickbooleanrequiredwildcardbooleanrequiredloopablebooleanrequiredlongbooleanrequiredtitlestringrequiredstartMsintegerrequiredat least 0durationMsintegerrequiredat least 0scoreintegerrequiredfrom 0 to 100bandstringrequiredOne of:great,good,fairscoreCurveVersionintegerrequiredat least 1partsobjectrequired4fields
hooknumberrequiredfrom 0 to 100payoffnumberrequiredfrom 0 to 100contextnumberrequiredfrom 0 to 100energynumberrequiredfrom 0 to 100
fitPercentilenumberrequirednullablefrom 0 to 100reasonobject · ClipDisplayKeyrequired2fields
keystringrequiredmatches^[a-z][a-z0-9_]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
weaknessobject · ClipDisplayKeyrequirednullable2fields
keystringrequiredmatches^[a-z][a-z0-9_]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
signalsarray of objectrequiredat most 5 items6fields in each item
kindstringrequiredmatches^[a-z][a-z0-9_]{0,63}$eventIdstringrequirednullablematches^e[0-9]{1,7}$atMsintegerrequiredat least 0earlierbooleanrequiredsourceMsintegerrequiredat least 0paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
familystringrequiredOne of (may gain values):gaming,just_chatting,reaction,podcast,irl,tutorial,music,edited_video,esports,intermissionsubtypestringrequirednullablegameNamestringrequirednullableplaybookBetabooleanrequiredsoftFlagsarray of stringrequiredOne of (may gain values):third_party_video,copyrighted_music,profanity,sponsor_readfinalWatchstringrequirednullableOne of (may gain values):passed,fixed,demoted,flaggedthumbnailUrlstringrequirednullablefeedbackstringrequirednullableOne of:kept,discardeddiscardReasonstringrequirednullableOne of (may gain values):boring,wrong_cut,wrong_framing,not_my_style,private,wrong_part,othereditVersionintegerrequiredat least 0latestRenderobjectrequirednullable3fields
idstring (uuid)requiredpurposestringrequiredOne of:preview,download,drafts,exportstatusstringrequiredOne of:queued,rendering,ready,failed
previewRenderobjectrequirednullable4fields
idstring (uuid)requiredstatusstringrequiredOne of:queued,rendering,ready,failedprogressnumberrequiredfrom 0 to 1urlstringrequirednullable
demotedbooleanrequiredreplacedobjectrequirednullable2fields
atstring (date-time)requiredbyReselectSeqintegerrequirednullable
reselectSeqintegerrequirednullableat least 1flagsobjectrequired2fields
hasChatbooleanrequiredpostedbooleanrequired
retryRequestedbooleanrequireddefault falseeditorUrlstringoptionalThe clip in Beplan's editor: a page for a person to open in Beplan while signed in; not an API address.createdAtstring (date-time)requirededitDocobject · AnyClipEditDocrequirednullableThe clip editor's internal document (unversioned).nullwhilecandidate, and always for an integration.Variant: schema: "beplan.clip-edit/1"
schemastringrequiredAlwaysbeplan.clip-edit/1clipIdstring (uuid)requiredprojectIdstring (uuid)requiredsourceobject · SourcerequiredThe source video: size, frame rate, duration, colour, timebase map reference and audio tracks.8fields
widthintegerrequiredfrom 160 to 8192heightintegerrequiredfrom 160 to 8192fpsobject · RationalrequiredA frame rate as the rational num / den (30/1, 60/1, 30000/1001).2fields
numintegerrequiredfrom 1 to 240000denintegerrequiredfrom 1 to 1001
vfrbooleanrequireddurationUsintegerrequiredfrom 0 to 43200000000colourobject · SourceColourrequiredColour matrix, range and transfer of the source video.3fields
matrixstringrequiredOne of:bt709,bt601,bt2020ncrangestringrequiredOne of:tv,pctransferstringrequiredOne of:bt709,srgb,pq,hlg
timebaseRefobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
audioTracksarray of objectrequiredOne audio track of the source: its stream index and role.at most 8 items2fields in each item
indexintegerrequiredfrom 0 to 15rolestring · TrackRolerequiredRole of one audio track of the source.One of:mic,discord,game,music,mix,unknown
outputobject · OutputrequiredOutput frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.4fields
ratiostring · RatiorequiredOutput aspect ratio.One of:9:16,1:1,16:9,4:5basestringrequiredOne of:1080x1920,1080x1080,1920x1080,1080x1350fpsobject · RationalrequiredA frame rate as the rational num / den (30/1, 60/1, 30000/1001).2fields
numintegerrequiredfrom 1 to 240000denintegerrequiredfrom 1 to 1001
safeAreastringrequiredOne of:universal-9x16-v1
titlestringrequired1–120 characterssectionsmap of objectrequiredat most 8 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000rolestringrequiredOne of:cold_open,setup,body,payofflabelobject · I18nTextoptionalA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
seamInstringrequiredOne of:hard,j,lbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,template
cutsmap of objectrequiredat most 500 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000reasonstringrequiredOne of:filler,silence,tangent,badTake,readTrim,userbystringrequiredOne of:auto,useronbooleanrequiredfadestringrequiredOne of:declick,crossfadelogstringoptionalmatches^e[0-9a-z]{1,12}$
wordsRefobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
wordEditsmap of objectrequiredat most 2000 keysEach value
textstringoptional1–64 charactersspeakerstringoptionalmatches^S[0-9]{1,3}$fillerbooleanoptionalemphasisbooleanoptionalemojistringoptionalnullableat most 16 charactershiddenbooleanoptionalmaskbooleanoptional
speakersmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$namestringrequired1–40 characterscolourstringrequiredmatches^#[0-9a-f]{6}$rolestringrequiredOne of:host,guest,teammate,npc,tts,music_vocals,unknowncaptionsbooleanrequiredcaptionColourstringrequiredOne of:own,neutral
momentsarray of objectrequiredRead-only evidence: a detected event of the clip's window, by its event alias (06).at most 64 items8fields in each item
idstringrequiredmatches^e[0-9]{1,7}$typestringrequiredat most 32 charactersfromUsintegerrequiredfrom 0 to 43200000000peakUsintegeroptionalfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000protectbooleanrequiredconfidencenumberrequiredfrom 0 to 1explainobject · I18nTextrequiredA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
protectedRegionsmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000rectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
kindstringrequiredOne of:text,graphic,chart,product,lowerThird,facebystringrequiredOne of:auto,useronbooleanrequired
captionsobject · CaptionsrequiredCaption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.13fields
presetstringrequiredOne of:karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizestringrequiredOne of:s,m,lhighlightstringrequiredmatches^#[0-9a-f]{6}$positionstringrequiredOne of:top,middle,bottom,seamyOffsetnumberoptionalfrom -0.2 to 0.2perLineintegerrequiredfrom 1 to 5upperbooleanrequiredemojibooleanrequiredbySpeakerbooleanrequiredprofanitystringrequiredOne of:show,masklanguagestringoptionalmatches^[a-z]{2,3}(-[A-Z]{2})?$translationsmap of objectoptionalEach value
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
cameraRefobject · ArtefactRefrequirednullableReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
camerasmap of objectrequiredat most 16 keysEach value
One of: kind: "static"
kindstringrequiredAlwaysstaticrectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
One of: kind: "track"
kindstringrequiredAlwaystracktrackstringrequiredat most 24 charactersautobooleanrequired
cameraOverridesmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$camerastringrequiredat most 24 charactersfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000keysarray of objectrequiredOne user camera key: source instant, rect in source pixels, ease into it.1–600 items3fields in each item
tUsintegerrequiredfrom 0 to 43200000000rectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
easestring · EaserequiredNamed 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 objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000kindstringrequiredOne of:fill,fit,fit_band,facecam_top,avatar_top,screen_top,graphic_top,active_speaker,duo,trio,quadpanelsarray of objectrequiredOne panel of a layout span: role, camera, destination box, fit and region class.1–4 items6fields in each item
rolestringrequiredOne of:full,facecam,avatar,content,screen,graphic,speaker,listenercamerastringrequiredat most 24 charactersdestobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
fitstringrequiredOne of:cover,containregionClassstringrequiredOne of:content,facespeakerstringoptionalmatches^S[0-9]{1,3}$
splitRationumberoptionalfrom 0.25 to 0.5sideFillstringoptionalOne of:blur,brand,blackfitBackgroundstringoptionalOne of:blur,black,brandhudInsetsarray of objectoptionalA HUD element copied from the source into the layout.at most 2 items2fields in each item
srcobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
destobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
listenerPipobject · ListenerPipoptionalThe listener picture-in-picture of an active_speaker span.2fields
camerastringrequiredat most 24 charactersdestobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
effectsmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$kindstringrequiredOne of:reaction_full,listener_insert,chat_focusfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000entrystringrequiredOne of:cut,grow6exitstringrequiredOne of:return8,cutbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
transitionInstringrequiredOne of:cut,morph8bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,template
zoomsmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$kindstringrequiredOne of:snap,push,pulse,region,shakefromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000panelintegerrequiredfrom 0 to 3scalenumberrequiredfrom 1 to 1.5regionobject · RectoptionalA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
easestring · EaserequiredNamed 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,holdbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$
overlaysmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$rolestringrequiredOne of:hook,label,cta,lowerThird,steptextstringrequired1–200 charactersanchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
modestringoptionalOne of:flash,until_trigger,persistenttriggerUsintegeroptionalfrom 0 to 43200000000pinobject · OverlayPinoptionalA user pin of an overlay in layout pixels.2fields
xnumberrequiredynumberrequired
scalenumberrequiredfrom 0.5 to 2.5styleobject · OverlayStylerequiredText style of an overlay: preset, font, colour and optional background.4fields
presetstringrequiredOne of:label,highlight,bold,outline,plainfontstring · FontIdrequiredA 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-krcolourstringrequiredmatches^#[0-9a-f]{6}$bgstringoptionalmatches^#[0-9a-f]{6}$
entrancestringrequiredOne of:none,pop,slidebystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
chatCardsmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$messageIdstringoptionalat most 64 charactersauthorstringrequiredat most 40 charactersauthorColourstringoptionalmatches^#[0-9a-f]{6}$badgesarray of stringrequiredat most 4 items · each at most 80 charactersfragmentsarray of objectrequiredOne fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill.1–80 itemsItem: kind: "text"
kindstringrequiredAlwaystexttextstringrequiredat most 500 characters
Item: kind: "emote"
kindstringrequiredAlwaysemoteassetstringrequiredat most 80 characterscodestringrequiredat most 64 characters
Item: kind: "pill"
kindstringrequiredAlwayspillcodestringrequiredat most 64 characters
amountobject · ChatAmountoptionalBits or a donation attached to a chat message.3fields
kindstringrequiredOne of:bits,donationvalueintegerrequiredcurrencystringoptionalexactly 3 characters
readWordsobject · ChatReadWordsoptionalThe words where the streamer reads the message aloud.2fields
fromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequiredsourcestringrequiredOne of:replay,eventsub,ocr,tts,logbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
brollmap of objectrequiredat most 32 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$mediaIdstring (uuid)requiredversionIdstring (uuid)optionalanchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
modestringrequiredOne of:full,pipboxobject · BoxoptionalA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
rotationDegnumberrequiredfrom -10 to 10trimInUsintegeroptionalfrom 0 to 43200000000bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
audioobject · AudiorequiredAudio inputs: track gains, speech-envelope reference, dynamics, master target, music stem, SFX, music.7fields
tracksmap of objectrequiredEach value
gainDbnumberrequiredfrom -60 to 12mutebooleanrequired
speechEnvelopeRefobject · ArtefactRefrequirednullableReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
dynamicsobject · AudioDynamicsrequiredDynamics processing: switch, loudness-range target and envelopes.3fields
onbooleanrequiredlraTargetintegerrequiredfrom 5 to 20envelopesarray of objectrequiredA gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints.at most 8 items3fields in each item
targetstringrequiredVariant: string (1)
valuestringrequiredAlwaysmix
Variant: string (2)
valuestringrequiredmatches^t[0-9]{1,2}$
kindstringrequiredOne of:leveller,limiter,duckpointsarray of tuple of 2requiredat most 4000 items · each exactly 2 itemsItem: item 1
valueintegerrequiredfrom 0 to 43200000000
Item: item 2
valueintegerrequiredfrom -9600 to 2400
masterobject · MasterLoudnessrequiredMaster loudness target: -14 LUFS integrated, -1 dBTP true peak.2fields
lufsnumberrequiredAlways-14truePeakDbnumberrequiredAlways-1
musicStemobject · MusicStemoptionalMusic stem of an edited video, crossfaded at cuts (beta).2fields
refobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
crossfadeMsintegerrequiredfrom 50 to 400
sfxmap of objectrequiredat most 32 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$assetstringrequiredOne of:whoosh,rewind,soft_pop,low_impact,riser,tickanchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
gainDbnumberrequiredfrom -30 to -12bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
musicobject · MusicoptionalBackground music from the media library (F1).6fields
mediaIdstring (uuid)requiredgainDbnumberrequiredduckDepthDbnumberrequiredfromClipUsintegerrequiredfrom 0 to 900000000fadeInUsintegerrequiredfadeOutUsintegerrequired
brandobject · BrandrequiredBrand elements: logo, end card and the style template the clip was composed with.3fields
logoobject · BrandLogorequiredThe workspace logo in a corner of the frame.4fields
onbooleanrequiredcornerstringrequiredOne of:tl,tr,bl,brassetstringoptionalat most 80 charactersscalenumberrequiredfrom 0.5 to 1.5
endCardobject · EndCardrequiredEnd card with the creator's handle, only on non-looping destinations.4fields
onbooleanrequireddurUsintegerrequiredfrom 1000000 to 3000000handlestringoptionalat most 40 charactersdestinationsarray of stringrequiredOne of:x,linkedin
styleTemplateIdstring (uuid)optional
hiddenarray of stringrequiredat most 24 items · each matches^(overlays|broll|chat|captions|music|sfx|cap:S[0-9]{1,3})$editLogmap of objectrequiredat most 400 keysEach value
atstring (date-time)requiredbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templatekindstringrequiredOne of:cut,silence,zoom,layout,hook,chatCard,caption,trim,reframe,audio,cover,fixtargetstringrequiredat most 80 charactersreasonobject · I18nTextrequiredA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
evidencearray of stringoptionalat most 8 items · each matches^e[0-9]{1,7}$onbooleanrequired
coverUsintegerrequiredfrom 0 to 900000000provenanceobject · ProvenancerequiredHow the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.8fields
pipelineVersionstringrequiredat most 32 characterscomposeVersionstringrequiredat most 32 charactersplaybookstringrequiredmatches^[a-z_]+\.[a-z_]+@[0-9]{1,4}$hypothesisstringrequiredOne of:tight,standard,extended,cold_open,stitchedseedintegerrequiredfrom 0 to 4294967295speakerMapVersionintegerrequiredmodelsmap of stringrequiredcaptionPassobject · CaptionPassInforequirednullableThe caption pass that produced the referenced clipwords: engine and time.2fields
enginestringrequiredat most 64 charactersatstring (date-time)required
Variant: schema: "beplan.clip-edit/2"
schemastringrequiredAlwaysbeplan.clip-edit/2clipIdstring (uuid)requiredprojectIdstring (uuid)requiredsourceobject · SourcerequiredThe source video: size, frame rate, duration, colour, timebase map reference and audio tracks.8fields
widthintegerrequiredfrom 160 to 8192heightintegerrequiredfrom 160 to 8192fpsobject · RationalrequiredA frame rate as the rational num / den (30/1, 60/1, 30000/1001).2fields
numintegerrequiredfrom 1 to 240000denintegerrequiredfrom 1 to 1001
vfrbooleanrequireddurationUsintegerrequiredfrom 0 to 43200000000colourobject · SourceColourrequiredColour matrix, range and transfer of the source video.3fields
matrixstringrequiredOne of:bt709,bt601,bt2020ncrangestringrequiredOne of:tv,pctransferstringrequiredOne of:bt709,srgb,pq,hlg
timebaseRefobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
audioTracksarray of objectrequiredOne audio track of the source: its stream index and role.at most 8 items2fields in each item
indexintegerrequiredfrom 0 to 15rolestring · TrackRolerequiredRole of one audio track of the source.One of:mic,discord,game,music,mix,unknown
outputobject · OutputrequiredOutput frame: ratio, base layout space, fps (source fps capped at 60) and safe-area profile.4fields
ratiostring · RatiorequiredOutput aspect ratio.One of:9:16,1:1,16:9,4:5basestringrequiredOne of:1080x1920,1080x1080,1920x1080,1080x1350fpsobject · RationalrequiredA frame rate as the rational num / den (30/1, 60/1, 30000/1001).2fields
numintegerrequiredfrom 1 to 240000denintegerrequiredfrom 1 to 1001
safeAreastringrequiredOne of:universal-9x16-v1
titlestringrequired1–120 characterssectionsmap of objectrequiredat most 8 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000rolestringrequiredOne of:cold_open,setup,body,payofflabelobject · I18nTextoptionalA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
seamInstringrequiredOne of:hard,j,lbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,template
cutsmap of objectrequiredat most 500 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000reasonstringrequiredOne of:filler,silence,tangent,badTake,readTrim,userbystringrequiredOne of:auto,useronbooleanrequiredfadestringrequiredOne of:declick,crossfadelogstringoptionalmatches^e[0-9a-z]{1,12}$
wordsRefobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
wordEditsmap of objectrequiredat most 2000 keysEach value
textstringoptional1–64 charactersspeakerstringoptionalmatches^S[0-9]{1,3}$fillerbooleanoptionalemphasisbooleanoptionalemojistringoptionalnullableat most 16 charactershiddenbooleanoptionalmaskbooleanoptional
speakersmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$namestringrequired1–40 characterscolourstringrequiredmatches^#[0-9a-f]{6}$rolestringrequiredOne of:host,guest,teammate,npc,tts,music_vocals,unknowncaptionsbooleanrequiredcaptionColourstringrequiredOne of:own,neutral
momentsarray of objectrequiredRead-only evidence: a detected event of the clip's window, by its event alias (06).at most 64 items8fields in each item
idstringrequiredmatches^e[0-9]{1,7}$typestringrequiredat most 32 charactersfromUsintegerrequiredfrom 0 to 43200000000peakUsintegeroptionalfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000protectbooleanrequiredconfidencenumberrequiredfrom 0 to 1explainobject · I18nTextrequiredA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
protectedRegionsmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000rectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
kindstringrequiredOne of:text,graphic,chart,product,lowerThird,facebystringrequiredOne of:auto,useronbooleanrequired
captionsobject · CaptionsrequiredCaption style of the clip: preset, font, size, colours, position, words per line, case, emoji, speaker colours.13fields
presetstringrequiredOne of:karaoke,bold,pop,clean,boxed,reactive,nonefontstring · FontIdrequiredA 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-krsizestringrequiredOne of:s,m,lhighlightstringrequiredmatches^#[0-9a-f]{6}$positionstringrequiredOne of:top,middle,bottom,seamyOffsetnumberoptionalfrom -0.2 to 0.2perLineintegerrequiredfrom 1 to 5upperbooleanrequiredemojibooleanrequiredbySpeakerbooleanrequiredprofanitystringrequiredOne of:show,masklanguagestringoptionalmatches^[a-z]{2,3}(-[A-Z]{2})?$translationsmap of objectoptionalEach value
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
cameraRefobject · ArtefactRefrequirednullableReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
layoutsmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000presetstring · LayoutPresetrequiredThe 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,customsplitRationumberoptionalfrom 0.25 to 0.5sideFillstringoptionalOne of:blur,brand,blackfitBackgroundstringoptionalOne of:blur,black,brandeffectsmap of objectrequiredat most 16 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$kindstringrequiredOne of:reaction_full,listener_insert,chat_focusfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000entrystringrequiredOne of:cut,grow6exitstringrequiredOne of:return8,cutbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequired
transitionInstringrequiredOne of:cut,morph8bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,template
tracksmap of objectrequiredat most 128 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$kindstring · TrackKindrequiredKind of a track: camera, text, chat, media, captions or audio.One of:camera,text,chat,media,captions,audionameobject · TrackNamerequiredThe name of a track: an i18n key for automatic tracks, or the text a person typed.Variant: kind: "key"
kindstringrequiredAlwayskeytextobject · I18nTextrequiredA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
Variant: kind: "custom"
kindstringrequiredAlwayscustomtextstringrequired1–40 characters
hiddenbooleanrequiredlockedbooleanrequiredregionobject · RectoptionalA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
itemsmap of objectrequiredat most 768 keysEach value
One of: kind: "camera"
kindstringrequiredAlwayscameratrackstringrequiredmatches^r[0-9a-z]{1,12}$orderstringrequiredmatches^[0-9A-Za-z]{1,32}$anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$camerastringrequiredat most 24 charactersslotintegeroptionalfrom 0 to 3rolestring · CameraItemRolerequiredWhat 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,extraregionClassstringrequiredOne of:content,facespeakerstringoptionalmatches^S[0-9]{1,3}$destobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
fitstringrequiredOne of:cover,containframingobject · CameraFramingrequiredWhat part of the source a camera item shows: a still rect, or a followed camera-artefact track with an adjustment.Variant: kind: "still"
kindstringrequiredAlwaysstillrectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
Variant: kind: "follow"
kindstringrequiredAlwaysfollowtrackstringrequiredat most 24 charactersautobooleanrequireddxnumberrequireddynumberrequiredzoomnumberrequiredfrom 0.5 to 6smoothnumberrequiredfrom 0 to 1
keyedmap of objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$fromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000keysarray of objectrequiredOne user camera key: source instant, rect in source pixels, ease into it.1–600 items3fields in each item
tUsintegerrequiredfrom 0 to 43200000000rectobject · RectrequiredA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
easestring · EaserequiredNamed 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 objectrequiredat most 64 keysEach value
orderstringrequiredmatches^[0-9A-Za-z]{1,32}$kindstringrequiredOne of:snap,push,pulse,region,shakefromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000scalenumberrequiredfrom 1 to 1.5regionobject · RectoptionalA rectangle in source pixels of the un-rotated decoded frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
easestring · EaserequiredNamed 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,holdbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$
radiusnumberrequiredfrom 0 to 540borderobject · CameraBorderoptionalA border around a camera item: width in base pixels and colour.2fields
widthnumberrequiredfrom 1 to 24colourstringrequiredmatches^#[0-9a-f]{6}$
One of: kind: "text"
kindstringrequiredAlwaystexttrackstringrequiredmatches^r[0-9a-z]{1,12}$orderstringrequiredmatches^[0-9A-Za-z]{1,32}$anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$rolestringrequiredOne of:hook,label,cta,lowerThird,steptextstringrequired1–200 charactersmodestringoptionalOne of:flash,until_trigger,persistenttriggerUsintegeroptionalfrom 0 to 43200000000scalenumberrequiredfrom 0.5 to 2.5styleobject · OverlayStylerequiredText style of an overlay: preset, font, colour and optional background.4fields
presetstringrequiredOne of:label,highlight,bold,outline,plainfontstring · FontIdrequiredA 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-krcolourstringrequiredmatches^#[0-9a-f]{6}$bgstringoptionalmatches^#[0-9a-f]{6}$
entrancestringrequiredOne of:none,pop,slideplaceobject · ItemPlacerequiredWhere a text or chat item sits: placed by the solver, pinned at a point, or in a box a person dragged.Variant: kind: "auto"
kindstringrequiredAlwaysauto
Variant: kind: "pin"
kindstringrequiredAlwayspinxnumberrequiredynumberrequired
Variant: kind: "box"
kindstringrequiredAlwaysboxboxobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
exitstring · TextExitrequiredHow a text item leaves: none (as v1), fade, pop or slide.One of:none,fade,pop,slide
One of: kind: "chat"
kindstringrequiredAlwayschattrackstringrequiredmatches^r[0-9a-z]{1,12}$orderstringrequiredmatches^[0-9A-Za-z]{1,32}$anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$messageIdstringoptionalat most 64 charactersauthorstringrequiredat most 40 charactersauthorColourstringoptionalmatches^#[0-9a-f]{6}$badgesarray of stringrequiredat most 4 items · each at most 80 charactersfragmentsarray of objectrequiredOne fragment of a chat message: text, an emote asset, or a third-party emote code drawn as a pill.1–80 itemsItem: kind: "text"
kindstringrequiredAlwaystexttextstringrequiredat most 500 characters
Item: kind: "emote"
kindstringrequiredAlwaysemoteassetstringrequiredat most 80 characterscodestringrequiredat most 64 characters
Item: kind: "pill"
kindstringrequiredAlwayspillcodestringrequiredat most 64 characters
amountobject · ChatAmountoptionalBits or a donation attached to a chat message.3fields
kindstringrequiredOne of:bits,donationvalueintegerrequiredcurrencystringoptionalexactly 3 characters
readWordsobject · ChatReadWordsoptionalThe words where the streamer reads the message aloud.2fields
fromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
stylestringrequiredOne of:beplan,twitch,minimalhideAuthorbooleanrequiredsourcestringrequiredOne of:replay,eventsub,ocr,tts,logplaceobject · ItemPlacerequiredWhere a text or chat item sits: placed by the solver, pinned at a point, or in a box a person dragged.Variant: kind: "auto"
kindstringrequiredAlwaysauto
Variant: kind: "pin"
kindstringrequiredAlwayspinxnumberrequiredynumberrequired
Variant: kind: "box"
kindstringrequiredAlwaysboxboxobject · BoxrequiredA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
One of: kind: "media"
kindstringrequiredAlwaysmediatrackstringrequiredmatches^r[0-9a-z]{1,12}$orderstringrequiredmatches^[0-9A-Za-z]{1,32}$anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$mediaIdstring (uuid)requiredversionIdstring (uuid)optionalmodestringrequiredOne of:full,pipboxobject · BoxoptionalA box in layout pixels of the base output frame.4fields
xnumberrequiredynumberrequiredwnumberrequiredgreater than 0hnumberrequiredgreater than 0
rotationDegnumberrequiredfrom -10 to 10trimInUsintegeroptionalfrom 0 to 43200000000radiusnumberrequiredfrom 0 to 540opacitynumberrequiredfrom 0 to 1gainDbnumberrequiredfrom -60 to 12
One of: kind: "audio"
kindstringrequiredAlwaysaudiotrackstringrequiredmatches^r[0-9a-z]{1,12}$orderstringrequiredmatches^[0-9A-Za-z]{1,32}$anchorobject · AnchorrequiredWhere an item sits in time: source µs (follows the content), clip µs (follows the output) or a word span.Variant: kind: "src"
kindstringrequiredAlwayssrcfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000
Variant: kind: "clip"
kindstringrequiredAlwaysclipfromUsintegerrequiredfrom 0 to 900000000toUsintegerrequiredfrom 0 to 900000000
Variant: kind: "words"
kindstringrequiredAlwayswordsfromWordstringrequiredmatches^[0-9]{1,10}$toWordstringrequiredmatches^[0-9]{1,10}$
bystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templateonbooleanrequiredlogstringoptionalmatches^e[0-9a-z]{1,12}$soundobject · AudioSoundrequiredWhat an audio item plays: a media-library sound or a bundled sound effect.Variant: kind: "media"
kindstringrequiredAlwaysmediamediaIdstring (uuid)required
Variant: kind: "sfx"
kindstringrequiredAlwayssfxassetstringrequiredOne of:whoosh,rewind,soft_pop,low_impact,riser,tick
gainDbnumberrequiredfrom -60 to 12fadeInUsintegerrequiredfrom 0 to 10000000fadeOutUsintegerrequiredfrom 0 to 10000000duckDepthDbnumberrequiredfrom -24 to 0trimInUsintegeroptionalfrom 0 to 43200000000
audioobject · AudioV2requiredAudio inputs of v2: track gains, speech-envelope reference, dynamics, master target and music stem.5fields
tracksmap of objectrequiredEach value
gainDbnumberrequiredfrom -60 to 12mutebooleanrequired
speechEnvelopeRefobject · ArtefactRefrequirednullableReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
dynamicsobject · AudioDynamicsrequiredDynamics processing: switch, loudness-range target and envelopes.3fields
onbooleanrequiredlraTargetintegerrequiredfrom 5 to 20envelopesarray of objectrequiredA gain envelope in source time on the mix or one track: [source µs, centi-dB] breakpoints.at most 8 items3fields in each item
targetstringrequiredVariant: string (1)
valuestringrequiredAlwaysmix
Variant: string (2)
valuestringrequiredmatches^t[0-9]{1,2}$
kindstringrequiredOne of:leveller,limiter,duckpointsarray of tuple of 2requiredat most 4000 items · each exactly 2 itemsItem: item 1
valueintegerrequiredfrom 0 to 43200000000
Item: item 2
valueintegerrequiredfrom -9600 to 2400
masterobject · MasterLoudnessrequiredMaster loudness target: -14 LUFS integrated, -1 dBTP true peak.2fields
lufsnumberrequiredAlways-14truePeakDbnumberrequiredAlways-1
musicStemobject · MusicStemoptionalMusic stem of an edited video, crossfaded at cuts (beta).2fields
refobject · ArtefactRefrequiredReference to an immutable artefact: its stage, its inputs_hash and its schema id.3fields
stagestringrequiredOne of:clipwords,camera,audio,speechenv,captionpasshashstringrequiredmatches^[0-9a-f]{64}$schemastringrequiredat most 48 characters
crossfadeMsintegerrequiredfrom 50 to 400
brandobject · BrandrequiredBrand elements: logo, end card and the style template the clip was composed with.3fields
logoobject · BrandLogorequiredThe workspace logo in a corner of the frame.4fields
onbooleanrequiredcornerstringrequiredOne of:tl,tr,bl,brassetstringoptionalat most 80 charactersscalenumberrequiredfrom 0.5 to 1.5
endCardobject · EndCardrequiredEnd card with the creator's handle, only on non-looping destinations.4fields
onbooleanrequireddurUsintegerrequiredfrom 1000000 to 3000000handlestringoptionalat most 40 charactersdestinationsarray of stringrequiredOne of:x,linkedin
styleTemplateIdstring (uuid)optional
hiddenSpeakersarray of stringrequiredat most 24 items · each matches^S[0-9]{1,3}$editLogmap of objectrequiredat most 400 keysEach value
atstring (date-time)requiredbystring · ByrequiredWho made an item: the automatic edit, the user or a style template.One of:auto,user,templatekindstringrequiredOne of:cut,silence,zoom,layout,hook,chatCard,caption,trim,reframe,audio,cover,fixtargetstringrequiredat most 80 charactersreasonobject · I18nTextrequiredA user-visible sentence by reference: a clipEditor i18n key and its parameters.2fields
keystringrequiredmatches^clipEditor:[a-zA-Z0-9_.]{1,80}$paramsmap of one ofoptionalEach value
One of: string (1)
valuestringrequiredat most 80 characters
One of: integer (2)
valueintegerrequired
evidencearray of stringoptionalat most 8 items · each matches^e[0-9]{1,7}$onbooleanrequired
coverUsintegerrequiredfrom 0 to 900000000provenanceobject · ProvenancerequiredHow the clip was made: pipeline and compose versions, playbook, hypothesis, seed, speaker map, models, caption pass.8fields
pipelineVersionstringrequiredat most 32 characterscomposeVersionstringrequiredat most 32 charactersplaybookstringrequiredmatches^[a-z_]+\.[a-z_]+@[0-9]{1,4}$hypothesisstringrequiredOne of:tight,standard,extended,cold_open,stitchedseedintegerrequiredfrom 0 to 4294967295speakerMapVersionintegerrequiredmodelsmap of stringrequiredcaptionPassobject · CaptionPassInforequirednullableThe caption pass that produced the referenced clipwords: engine and time.2fields
enginestringrequiredat most 64 charactersatstring (date-time)required
editUpdatedAtstring (date-time)requirednullablerendersarray of objectrequired19fields in each item
idstring (uuid)requiredclipIdstring (uuid)requiredpurposestringrequiredOne of:preview,download,drafts,exportratiostringrequiredOne of:9:16,1:1,16:9,4:5resolutionstringrequiredOne of:540p,1080p,1440p,2160pwidthintegerrequiredgreater than 0heightintegerrequiredgreater than 0editVersionintegerrequiredat least 0statusstringrequiredOne of (may gain values):queued,rendering,ready,failedprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0mediaIdstring (uuid)requirednullabledownloadUrlstringrequirednullableposterUrlstringrequirednullablepurgedbooleanrequiredexpiresAtstring (date-time)requirednullableerrorCodestringrequirednullablecreatedAtstring (date-time)requiredcompletedAtstring (date-time)requirednullable
variantsarray of objectrequired4fields in each item
variantstringrequiredOne of:tight,standard,extended,cold_open,stitched,longavailablebooleanrequireddurationMsintegerrequirednullableat least 0appliedbooleanrequired
sourceRangesarray of objectrequired6fields in each item
sectionIdstringrequiredVariant: string (1)
valuestringrequiredmatches^s[0-9a-z]{1,12}$
Variant: string (2)
valuestringrequiredAlwaysprefetch
purposestringrequiredOne of:section,prefetchfromUsintegerrequiredfrom 0 to 43200000000toUsintegerrequiredfrom 0 to 43200000000statusstringrequiredOne of:pending,fetching,ready,failed,expiredmaxResolutionstringrequirednullableOne of:1080p,1440p,2160p
copyPackobject · ClipCopyPackrequirednullable2fields
platformsmap of objectrequiredEach value
titlestringrequirednullableat most 150 charactersdescriptionstringrequirednullableat most 5000 charactershashtagsarray of stringrequiredA hashtag:#then 1 to 100 characters (Unicode code points), with no space and no other#.at most 30 itemsfirstCommentstringrequirednullableat most 2200 characters
hooksarray of stringrequiredat most 3 items · each 1–80 characters
qaobject · ClipQarequirednullable3fields
gatestringrequiredOne of:passed,fixed,warnedfinalWatchstringrequirednullableOne of:passed,fixed,demoted,flaggednoticesarray of objectrequiredat most 8 items2fields in each item
keystringrequiredmatches^[a-z][a-z0-9_]{0,63}$paramsmap of one of · ClipDisplayParamsrequiredEach value
One of: number (1)
valuenumberrequired
One of: string (2)
valuestringrequiredat most 300 characters
coverMsintegerrequirednullableat least 0followTasksarray of objectrequired6fields in each item
taskKeystringrequiredmatches^follow:[0-9a-f-]{36}:[0-9]{1,9}$itemIdstringrequirednullablematches^i[0-9a-z]{1,14}$kindstringrequirednullableOne of:face,body,objectstatestringrequiredOne of:queued,starting,running,done,failedprogressnumberoptionalfrom 0 to 1errorstringoptionalat 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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId} 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 -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_…" 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); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/feedback clips.feedback.create - Scope
- clips:write
- Role permission
- Edit clips (
clips:edit) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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
kindstringrequiredOne of:previewed,kept,discarded,restoredreasonstringoptionalOne of:boring,wrong_cut,wrong_framing,not_my_style,private,wrong_part,othertargetstringoptionalOne of:top_picks,shelfnotestringoptionalat 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 -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"
}' 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); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/renders/{renderId} 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
dataobjectrequired1field
renderobject · ClipRenderrequired19fields
idstring (uuid)requiredclipIdstring (uuid)requiredpurposestringrequiredOne of (may gain values):preview,download,drafts,exportratiostringrequiredOne of:9:16,1:1,16:9,4:5resolutionstringrequiredOne of:540p,1080p,1440p,2160pwidthintegerrequiredgreater than 0heightintegerrequiredgreater than 0editVersionintegerrequiredat least 0statusstringrequiredOne of (may gain values):queued,rendering,ready,failedprogressnumberrequiredfrom 0 to 1etaSecondsintegerrequirednullableat least 0mediaIdstring (uuid)requirednullabledownloadUrlstringrequirednullableposterUrlstringrequirednullablepurgedbooleanrequiredexpiresAtstring (date-time)requirednullableerrorCodestringrequirednullablecreatedAtstring (date-time)requiredcompletedAtstring (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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/clips/{clipId}/renders/{renderId}/save-to-library clips.renders.saveToLibrary - Scope
- clips:write
- Role permission
- Edit clips (
clips:edit) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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
dataobjectrequired2fields
mediaIdstring (uuid)requiredfolderIdstring (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 -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)" 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(); 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"
}
}