# Errors Status codes and error bodies. --- title: Errors description: Status codes and error bodies. --- The SDK throws `BevylApiError` on any non-2xx response. It carries the HTTP `status`, the error `code` when the API sends one, and the raw `body`. ```ts import { BevylApiError } from '@bevyl-ai/bevyl-sdk'; try { await bevyl.createProject(input); } catch (error) { if ( error instanceof BevylApiError && error.code === 'insufficient_partner_credits' ) { // add funds in the partner portal } throw error; } ``` ## Status and error codes | Status | Code | What to do | | ------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `400` | | Fix the request. For a body that fails validation, `issues` lists each problem. | | `401` | | Send a valid, unrevoked API key. | | `402` | `insufficient_partner_credits` | Add funds in the [partner portal](/portal). | | `402` | `limit_gate_denied` | The workspace reached a plan limit. Contact Bevyl. | | `402` | | Upload: the workspace reached its plan's upload limit. | | `402` | `export_paywall`, `plan_limit_exceeded`, `free_limit_exceeded`, `trial_expired`, `account_access_suspended` | `startExport`: the workspace plan doesn't allow the export. `error.message` says why. | | `403` | | Create the workspace first. Check it isn't another partner's or revoked. | | `404` | | The workspace has no brand, or the project, upload, or export isn't in it. | | `404` | `project_not_found` | Check the `projectId` and `workspaceId`. | | `404` | `not_found` | Check the ID you sent. | | `409` | | `createWorkspace`: the ID belongs to another partner or is revoked. `completeVideoUpload`: finish the file `PUT` and call it again, or start a new upload if this one expired. | | `409` | `generation_in_progress` | Wait for project generation to finish, then regenerate. | | `409` | `analysis_not_ready` | Retry in a few seconds. | | `409` | `analysis_failed` | Analysis failed. `error.message` says why. | | `422` | | Upload: the file type or size isn't allowed. Export: the project is longer than the workspace plan allows. Music preview: pick a track from `listBackgroundMusic`. | | `422` | `preflight_denied` | Wait until the source videos are `processed`. `error.message` says why. | | `422` | `voice_unavailable` | Pick a voice from `listVoices`. | | `422` | `trend_unavailable` | Pick a trend from `listTrends`. | | `422` | `background_music_unavailable` | Pick a track from `listBackgroundMusic`. | | `422` | `no_prior_generation` | Call `createProject` first. Regenerate needs a prior brief. | | `422` | `invalid_brief` | Fix the brief. `error.message` says what is wrong. | | `500` | | A Bevyl error. Retry with backoff. | | `502` | `export_dispatch_failed` | Call `startExport` again. | `uploadVideo` throws `BevylApiError` with code `upload_put_failed` when the file `PUT` fails. ## Error bodies Validation errors: ```json { "error": "Invalid request body", "issues": [ { "code": "invalid_type", "path": ["name"], "message": "Invalid input: expected string, received undefined" } ] } ``` Operation errors: ```json { "ok": false, "error": { "code": "analysis_not_ready", "message": "…" } } ``` Other errors: ```json { "error": "Unauthorized" } ``` # Exporting Export a finished project as an MP4 and download it. --- title: Exporting description: Export a finished project as an MP4 and download it. --- Start an export once project generation is `completed`: ```ts const started = await bevyl.startExport({ projectId }); ``` Poll `getExportStatus` until the export is `ready`: ```ts const result = await bevyl.getExportStatus({ exportId: started.exportId }); if (result.export.status === 'ready') { const response = await fetch(result.export.exportDownloadUrl!); const mp4 = await response.arrayBuffer(); } ``` | Status | Meaning | | --------- | -------------------------------------------------------------- | | `working` | Exporting. Poll again after `pollIntervalMs`. | | `ready` | `exportDownloadUrl` downloads the MP4. `exportUrl` streams it. | | `failed` | The export failed. | `exportDownloadUrl` expires at `exportLinkExpiresAt`. Call `getExportStatus` again for a new one. Bevyl sends an `export.ready` [webhook](/docs/webhooks) when the export finishes. `listExports` returns the workspace's exports, newest first. # Get an API key Request access, create a key, and send it with every request. --- title: Get an API key description: Request access, create a key, and send it with every request. --- ## Request access Bevyl sets up each partner account by hand. Email us your company, what you want to build, and roughly how many videos a month you expect. Include your webhook URL if you have one. We create your account, send you a webhook signing secret, and invite you to the [partner portal](/portal). There you add funds and create API keys. ## Use your key Send the key as a bearer token. This first call creates a workspace and is safe to repeat: ```bash curl https://www.bevyl.ai/api/partner/v1/workspaces \ -H "Authorization: Bearer $BEVYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{"workspaceId": "customer-123", "name": "Tasty Burgers"}' ``` Keys start with `bvl_`. The portal shows each key once, so store it right away. If a key leaks, revoke it in the portal. It stops working immediately. Keep keys on your server. A key in a browser or mobile app can be stolen. ## Name the workspace Every request also names the customer workspace it acts on, as `workspaceId`. Send it in the JSON body of a `POST` and in the query string of a `GET`. The SDK adds it for you. A missing or revoked key returns `401`. A workspace you haven't created, or one that belongs to another partner, returns `403`. # Introduction Build Bevyl project generation into your product. --- title: Introduction description: Build Bevyl project generation into your product. --- Every call acts on one customer's workspace. Uploads, project generation, and exports run in the background and are the only billed calls. Poll their status, or let Bevyl call your [webhook](/docs/webhooks). See [Pricing](/docs/pricing). # Pricing Which calls cost money, and how much. --- title: Pricing description: Which calls cost money, and how much. --- Bevyl charges three kinds of usage to your prepaid partner balance: Every other call is free. ## When you're charged - Project generations and exports are charged when Bevyl accepts the request. A request that fails before it is queued costs nothing. - Uploads are charged after processing finishes, in 20-second steps of footage, with a minimum of 20 seconds. Each step costs a third of the per-minute price, and the total rounds up to the cent. ## Your balance Add funds and see every charge on the **Usage & billing** page of the [partner portal](/portal). When your balance can't cover a project generation or an export, the API returns `402` with the code `insufficient_partner_credits` and the `metric` that ran out: ```json { "ok": false, "error": { "code": "insufficient_partner_credits", "message": "Your prepaid balance is too low for generations. Add funds to continue.", "metric": "generations" } } ``` # Creating projects Turn processed footage into a video with project generation. --- title: Creating projects description: Turn processed footage into a video with project generation. --- A project is one video, made from up to 100 processed source videos and a brief. ```ts const project = await bevyl.createProject({ format: 'voiceover', sourceVideoIds: [videoId], voiceoverProfileId: voices.defaultVoiceoverProfileId, videoIdea: 'A 15-second vertical ad for the truffle burger.', aspectRatio: '9:16', maxDuration: 20, }); ``` The API answers `202` and runs project generation in the background. Track it with `getProjectStatus`. ## Formats | Format | Result | | ----------------- | ---------------------------------------------------------------------------------------------------------------------- | | `talking-head` | Cuts around the speaker's own audio. | | `voiceover` | Writes a script and reads it over the footage. Needs `voiceoverProfileId` from `listVoices`, or `null` for music only. | | `trending-sounds` | Cuts the footage to a trending sound. Needs `trendId` from `listTrends`. | `talking-head` and `voiceover` also take a `backgroundMusicTrackId` from `listBackgroundMusic`. `previewBackgroundMusic` returns a playable preview of a track. ## Let Bevyl choose Skip the voice and music lookups and let Bevyl pick both: ```ts const project = await bevyl.createProject({ format: 'voiceover', sourceVideoIds: [videoId], autoSelectVoice: true, autoSelectBackgroundMusic: true, videoIdea: 'A calm 15-second vertical ad for the truffle burger.', }); ``` - `autoSelectVoice`: `voiceover` only. Uses the workspace's default voice, the same one `listVoices` returns as `defaultVoiceoverProfileId`. Leave `voiceoverProfileId` out. - `autoSelectBackgroundMusic`: `talking-head` and `voiceover`. Bevyl picks a track from `listBackgroundMusic` that fits the brief and the length of the video. Leave `backgroundMusicTrackId` out. Sending a flag together with the ID it replaces returns `400`. ## Options - `aspectRatio`: `9:16`, `4:5`, `1:1`, or `16:9`. Without it, Bevyl matches the footage and falls back to vertical. - `minDuration`, `maxDuration`: target length in seconds, on `talking-head` and `voiceover`. - `textOverlay`: `trending-sounds` only. `{ mode: 'highlights' }` adds overlays throughout and `{ mode: 'none' }` keeps only the opening hook. `additionalText` steers the overlay copy. ## Status ```ts const status = await bevyl.getProjectStatus({ projectId: project.projectId, runId: project.generation.runId, }); ``` | `generation.status` | Meaning | | ------------------- | ----------------------------------------------------------------- | | `working` | Project generation is running. Poll again after `pollIntervalMs`. | | `completed` | Ready to export. | | `no_clips` | The footage had nothing usable for this brief. | | `failed` | Project generation failed. `statusMessage` says why. | Bevyl sends a `project.completed` [webhook](/docs/webhooks) when project generation completes. ### Voice-over script `generation.voiceoverScript` is the script Bevyl wrote and read over the footage, so you can show it as text instead of making people play the video. It is `null` until the script is written, and for formats without a voice-over. It is the script as generated: edits made later in the editor are not included. `listProjects` returns the same field on each version. ## Regenerate `regenerateProject` makes a new version of a project. It takes `videoIdea`, `voiceoverProfileId`, `minDuration`, `maxDuration`, `userScript` (an exact script to read), and `userMoments` (moments in the footage to feature). Format, footage, and aspect ratio carry over from the last version. Background music does not. Send `null` to clear `userScript`, `userMoments`, `minDuration`, or `maxDuration`. ```ts const regen = await bevyl.regenerateProject({ projectId: project.projectId, videoIdea: 'Same cut, but focus on dessert and slow the pacing.', }); ``` While project generation is running, `regenerateProject` returns `409 generation_in_progress`. `listProjects` returns projects newest first, each with every version and the brief behind it. Pass `nextCursor` for the next page. # Quickstart Upload a video, create a project, and download the MP4. --- title: Quickstart description: Upload a video, create a project, and download the MP4. --- These steps use the [TypeScript SDK](/docs/sdk). Every SDK method maps to endpoints in the [API reference](/docs/api), so any HTTP client works. ### Get an API key Create an API key in the [partner portal](/portal) and store it as `BEVYL_API_KEY`. No portal access yet? [Request it](/docs/get-an-api-key). ### Install the SDK ```bash npm install @bevyl-ai/bevyl-sdk ``` ### Create a workspace Pick a `workspaceId` for the customer. See [Workspaces and brand](/docs/workspaces). ```ts import { BevylClient } from '@bevyl-ai/bevyl-sdk'; const bevyl = new BevylClient({ apiKey: process.env.BEVYL_API_KEY!, workspaceId: 'customer-123', }); await bevyl.createWorkspace({ name: 'Tasty Burgers' }); await bevyl.updateBrand({ name: 'Tasty Burgers', summary: 'A neighborhood burger restaurant.', voiceTone: 'Warm and a little cheeky.', }); ``` ### Upload footage ```ts import { createReadStream } from 'node:fs'; import { stat } from 'node:fs/promises'; import { Readable } from 'node:stream'; const path = 'kitchen-broll.mp4'; const upload = await bevyl.uploadVideo({ filename: path, fileSize: (await stat(path)).size, contentType: 'video/mp4', body: Readable.toWeb(createReadStream(path)), }); ``` This helper polls each background job at the interval Bevyl asks for: ```ts type Job = { status: string; pollIntervalMs?: number | null }; async function waitFor(check: () => Promise, job: (result: T) => Job) { for (;;) { const result = await check(); const { status, pollIntervalMs } = job(result); if (status !== 'working') return result; await new Promise((resolve) => setTimeout(resolve, pollIntervalMs ?? 5000)); } } const videoId = upload.video.id; const { video } = await waitFor( () => bevyl.getVideoStatus({ videoId }), (result) => result.video, ); if (video.status === 'failed') throw new Error(video.statusMessage); ``` ### Create a project ```ts const voices = await bevyl.listVoices(); const project = await bevyl.createProject({ format: 'voiceover', sourceVideoIds: [videoId], voiceoverProfileId: voices.defaultVoiceoverProfileId, videoIdea: 'A 15-second vertical ad for the truffle burger.', aspectRatio: '9:16', }); const { generation } = await waitFor( () => bevyl.getProjectStatus({ projectId: project.projectId, runId: project.generation.runId, }), (result) => result.generation, ); if (generation.status !== 'completed') { throw new Error(generation.statusMessage); } ``` ### Export and download ```ts const started = await bevyl.startExport({ projectId: project.projectId }); const result = await waitFor( () => bevyl.getExportStatus({ exportId: started.exportId }), (result) => result.export, ); if (result.export.status !== 'ready') { throw new Error(result.export.statusMessage); } console.log(result.export.exportDownloadUrl); ``` ## Next steps - Replace polling with [webhooks](/docs/webhooks). - Pick a format in [Creating projects](/docs/projects). # TypeScript SDK A typed client for the Partner API. --- title: TypeScript SDK description: A typed client for the Partner API. --- ```bash npm install @bevyl-ai/bevyl-sdk ``` The SDK needs Node.js 18 or newer and ES modules. It depends only on `zod`. ```ts import { BevylClient } from '@bevyl-ai/bevyl-sdk'; const bevyl = new BevylClient({ apiKey: process.env.BEVYL_API_KEY!, workspaceId: 'customer-123', }); ``` | Option | Description | | ------------- | ------------------------------------------------------------------ | | `apiKey` | Your `bvl_` API key. | | `workspaceId` | The workspace every call acts on. Create one client per workspace. | | `baseUrl` | Defaults to `https://www.bevyl.ai`. | | `fetch` | A custom `fetch`. | ## Methods Paths are relative to `/api/partner/v1`. | Method | Endpoint | | ------------------------------------------------- | --------------------------------------------- | | `createWorkspace` | `POST /workspaces` | | `getBrand`, `updateBrand` | `GET`, `POST /brand` | | `prepareVideoUpload` | `POST /videos/upload/prepare` | | `completeVideoUpload` | `POST /videos/upload/complete` | | `getVideoStatus` | `POST /videos/status` | | `getVideoAnalysis` | `POST /videos/analysis` | | `listVideos` | `GET /videos` | | `createProject` | `POST /projects` | | `listProjects` | `GET /projects` | | `regenerateProject` | `POST /projects/regenerate` | | `getProjectStatus` | `POST /projects/status` | | `listVoices`, `listTrends`, `listBackgroundMusic` | `GET /voices`, `/trends`, `/background-music` | | `previewBackgroundMusic` | `POST /background-music/preview` | | `startExport` | `POST /exports` | | `listExports` | `GET /exports` | | `getExportStatus` | `POST /exports/status` | The [API reference](/docs/api) lists every field. ## Schemas and types The SDK ships the zod schemas the API validates with: ```ts import { CreateProjectRequestSchema } from '@bevyl-ai/bevyl-sdk/schemas'; ``` Types come from `@bevyl-ai/bevyl-sdk/types`. ## Webhooks and errors `parseWebhookEvent`, `verifySignature`, `signBody`, and `SIGNATURE_HEADER` verify deliveries. See [Webhooks](/docs/webhooks). The SDK throws `BevylApiError` on non-2xx responses, `BevylApiProtocolError` on a 2xx with an invalid body, and `BevylWebhookVerificationError` from `parseWebhookEvent`. See [Errors](/docs/errors). # Uploading videos Send footage to Bevyl and wait for processing. --- title: Uploading videos description: Send footage to Bevyl and wait for processing. --- An upload takes three calls: reserve it, send the file to the signed URL, then complete it. `uploadVideo` makes all three. ```ts const upload = await bevyl.uploadVideo({ filename: 'kitchen-broll.mp4', fileSize: size, contentType: 'video/mp4', body: stream, }); ``` Files can be up to 5 GB. To send the file yourself, call `prepareVideoUpload`, `PUT` the file to `upload.url` with `upload.headers` before `expiresAt`, then call `completeVideoUpload` with the `uploadId`. ## Processing After upload, Bevyl transcodes and analyzes the footage. `getVideoStatus` reports: | Status | Meaning | | ----------- | ---------------------------------------------- | | `working` | Processing. Poll again after `pollIntervalMs`. | | `processed` | Ready for a project. | | `failed` | Processing failed. | Bevyl sends a `broll.processed` [webhook](/docs/webhooks) when processing finishes. ## Read the analysis `getVideoAnalysis` returns a summary of the footage and a description of each clip. Analysis can finish after the video is `processed`. Until it does, the call returns the error code `analysis_not_ready`. ```ts const { analysis } = await bevyl.getVideoAnalysis({ videoId }); console.log(analysis.summary); ``` ## Reuse footage A processed video can go into any number of projects, so upload each file once. `listVideos` returns the workspace's uploads, newest first, including those still processing. `videoId` stays `null` until the upload completes. ```ts const page = await bevyl.listVideos({ limit: 20 }); const next = page.nextCursor ? await bevyl.listVideos({ limit: 20, cursor: page.nextCursor }) : null; ``` # Webhooks Get notified when uploads, projects, and exports finish. --- title: Webhooks description: Get notified when uploads, projects, and exports finish. --- Bevyl sends a `POST` to the webhook URL on your [partner account](/docs/get-an-api-key) when a background step finishes. The partner portal shows the URL. ## Events | Event | Sent when | `data` | | ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | `broll.processed` | An uploaded video finishes processing. | `videoId`, `processingRunId` | | `project.completed` | Project generation finishes with `completed` or `no_clips`. | `projectId`, `aiRunId` (the `runId` that `getProjectStatus` takes), `outcome` (`success` or `no_clips`) | | `export.ready` | An export is ready to download. | `exportId`, `projectId`, `projectTitle`, `exportName`, `exportUrl`, `exportDirectUrl` (same as `exportUrl`), `exportDownloadUrl`, `exportLinkExpiresAt` | Every event shares one envelope: ```json { "event": "export.ready", "eventId": "customer-123:…", "workspaceId": "customer-123", "resource": { "type": "export", "id": "…" }, "status": "ready", "occurredAt": "2026-10-22T16:00:00.000Z", "data": { "exportId": "…", "projectId": "…", "projectTitle": "Truffle burger ad", "exportName": "truffle-burger-ad.mp4", "exportUrl": "https://…", "exportDirectUrl": "https://…", "exportDownloadUrl": "https://…", "exportLinkExpiresAt": "2026-11-21T16:00:00.000Z" } } ``` Branch on `event`. For `project.completed`, `status` is `completed` or `no_clips`. Bevyl calls uploaded footage b-roll, so `resource.type` is `broll` for uploads. Bevyl may deliver an event twice. Skip any `eventId` you have handled. Answer with a 2xx within 10 seconds. Failed uploads, project generations, and exports send no webhook. Deliveries can fail. Keep polling as a fallback. ## Verify signatures The `x-webhook-signature` header holds `sha256=` and the hex HMAC-SHA256 of the raw body, keyed with your signing secret. Verify the raw body. Re-serialized JSON will not match. ```ts import { SIGNATURE_HEADER, parseWebhookEvent } from '@bevyl-ai/bevyl-sdk'; export async function POST(request: Request) { const event = parseWebhookEvent({ rawBody: await request.text(), signature: request.headers.get(SIGNATURE_HEADER), secret: process.env.BEVYL_WEBHOOK_SECRET!, }); // handle event return new Response(null, { status: 204 }); } ``` `parseWebhookEvent` throws `BevylWebhookVerificationError` on a bad signature or body. `verifySignature` checks the signature alone. # Workspaces and brand Give each customer a workspace and describe their brand. --- title: Workspaces and brand description: Give each customer a workspace and describe their brand. --- ## Create a workspace ```ts await bevyl.createWorkspace({ name: 'Tasty Burgers' }); ``` Use your own customer ID as the `workspaceId`, up to 255 characters. Calling `createWorkspace` again returns the existing workspace with `created: false`. A `409` means the ID belongs to another partner or to a revoked workspace. ## Describe the brand Bevyl uses the brand to write scripts and on-screen text. ```ts await bevyl.updateBrand({ name: 'Tasty Burgers', summary: 'A neighborhood burger restaurant in Austin.', voiceTone: 'Warm and a little cheeky.', targetAudience: 'Young families and late-night diners.', products: 'Smash burgers, truffle fries, milkshakes.', contentDos: 'Show food close up. Mention the late hours.', contentDonts: 'No discount talk.', hashtags: '#austineats #burgers', }); ``` `updateBrand` changes only the fields you send. Send `null` to clear any field except `name`. Each field except `name` holds up to 5,000 characters. `getBrand()` returns the current brand, or `404` before the workspace has one. # API reference Every Partner API endpoint, with request and response schemas. --- title: API reference description: Every Partner API endpoint, with request and response schemas. --- All paths start with: ```txt https://www.bevyl.ai/api/partner/v1 ``` Send your API key as `Authorization: Bearer bvl_…`. See [Get an API key](/docs/get-an-api-key). The OpenAPI document behind these pages is at [`/api/openapi/partner.json`](https://www.bevyl.ai/api/openapi/partner.json). For AI tools, [`/llms.txt`](/llms.txt) indexes the docs and [`/llms-full.txt`](/llms-full.txt) holds every guide. # Create a workspace Creates a workspace for one customer. Calling it again with the same `workspaceId` returns the existing workspace. `POST /api/partner/v1/workspaces` Full schema: https://developers.bevyl.ai/docs/api/create-a-workspace # Get brand Returns the workspace brand. `GET /api/partner/v1/brand` Full schema: https://developers.bevyl.ai/docs/api/get-brand # Update brand Changes the brand fields you send. `null` clears any field except `name`. `POST /api/partner/v1/brand` Full schema: https://developers.bevyl.ai/docs/api/update-brand # List projects Returns the workspace projects, newest first, each with its project generations and their briefs. `GET /api/partner/v1/projects` Full schema: https://developers.bevyl.ai/docs/api/list-projects # Create a project Starts project generation from processed videos and a brief. Poll `getProjectStatus` or wait for the `project.completed` webhook. `POST /api/partner/v1/projects` Full schema: https://developers.bevyl.ai/docs/api/create-a-project # Regenerate a project Starts a new project generation. Fields you omit carry over from the last one, except background music. `POST /api/partner/v1/projects/regenerate` Full schema: https://developers.bevyl.ai/docs/api/regenerate-a-project # Get project status Returns the latest project generation, or the one named by `runId`. `GET /api/partner/v1/projects/status` Full schema: https://developers.bevyl.ai/docs/api/get-project-status # Get project status (deprecated POST) Deprecated. Call `GET /api/partner/v1/projects/status` with the same fields as query parameters. `POST /api/partner/v1/projects/status` Full schema: https://developers.bevyl.ai/docs/api/get-project-status-deprecated-post # List background music Returns background music tracks. Pass a track ID as `backgroundMusicTrackId` when you create a project, or set `autoSelectBackgroundMusic` and let Bevyl pick. `GET /api/partner/v1/background-music` Full schema: https://developers.bevyl.ai/docs/api/list-background-music # Preview background music Returns a short-lived MP3 URL to preview a track. `POST /api/partner/v1/background-music/preview` Full schema: https://developers.bevyl.ai/docs/api/preview-background-music # List trends Returns trending sounds. Pass a trend ID as `trendId` with `format: "trending-sounds"`. `GET /api/partner/v1/trends` Full schema: https://developers.bevyl.ai/docs/api/list-trends # List voices Returns the voices this workspace can use. `GET /api/partner/v1/voices` Full schema: https://developers.bevyl.ai/docs/api/list-voices # Prepare an upload Reserves an upload and returns a signed URL to `PUT` the file to. `POST /api/partner/v1/videos/upload/prepare` Full schema: https://developers.bevyl.ai/docs/api/prepare-an-upload # List videos Returns the workspace uploads, newest first. `GET /api/partner/v1/videos` Full schema: https://developers.bevyl.ai/docs/api/list-videos # Complete an upload Completes an upload and starts processing. `POST /api/partner/v1/videos/upload/complete` Full schema: https://developers.bevyl.ai/docs/api/complete-an-upload # Get video status Returns the processing status of a video. `GET /api/partner/v1/videos/status` Full schema: https://developers.bevyl.ai/docs/api/get-video-status # Get video status (deprecated POST) Deprecated. Call `GET /api/partner/v1/videos/status` with the same fields as query parameters. `POST /api/partner/v1/videos/status` Full schema: https://developers.bevyl.ai/docs/api/get-video-status-deprecated-post # Get video analysis Returns what Bevyl found in a processed video: a summary, keywords, and a description of each clip. Analysis can finish after `broll.processed`, so retry while the code is `analysis_not_ready`. `GET /api/partner/v1/videos/analysis` Full schema: https://developers.bevyl.ai/docs/api/get-video-analysis # Get video analysis (deprecated POST) Deprecated. Call `GET /api/partner/v1/videos/analysis` with the same fields as query parameters. `POST /api/partner/v1/videos/analysis` Full schema: https://developers.bevyl.ai/docs/api/get-video-analysis-deprecated-post # List exports Returns the workspace exports, newest first. `GET /api/partner/v1/exports` Full schema: https://developers.bevyl.ai/docs/api/list-exports # Start an export Starts an MP4 export of a project. Poll `getExportStatus` or wait for the `export.ready` webhook. `POST /api/partner/v1/exports` Full schema: https://developers.bevyl.ai/docs/api/start-an-export # Get export status Returns the export status, and its download links once ready. `GET /api/partner/v1/exports/status` Full schema: https://developers.bevyl.ai/docs/api/get-export-status # Get export status (deprecated POST) Deprecated. Call `GET /api/partner/v1/exports/status` with the same fields as query parameters. `POST /api/partner/v1/exports/status` Full schema: https://developers.bevyl.ai/docs/api/get-export-status-deprecated-post