Get Results
Get Results
Poll the status of a triggered workflow and retrieve generated clips
GET
Get Results
Endpoint
POST /trigger-template returns a triggerId. We recommend polling every 5-10 seconds until the workflow reaches Completed or Error.
Use
renderedUrl as the editable preview video. Call POST /render when you need a finalized export after clip edits.Authentication
Path Parameters
| Parameter | Description |
|---|---|
triggerId | Unique workflow run identifier returned by POST /trigger-template. |
Response Format
Completed and failed runs finish with Error.
Completed Response
Processing Response
Error Response
Recommended Polling Pattern
javascript
- Continue polling while
statusisPending,Processing,Learning, or another in-progress workflow step. - Stop polling when
statusisCompletedand use the returnedclips. - Stop polling when
statusisErrorand show or log the returnederror.
Clip Object
| Property | Type | Description |
|---|---|---|
id | string | Unique identifier for the clip. Use this as clipId for update and render calls. |
title | string | Title of the clip. |
bio | string | Short contextual description or bio for the clip. |
keywords | string[] | Array of relevant keywords or tags associated with the clip. |
people | string[] | Array of people (e.g., speakers) featured in the clip. |
duration | number | Total duration of the clip in seconds. |
startTimestamp | number | Timestamp (in seconds) where the clip starts in the source video. |
endTimestamp | number | Timestamp (in seconds) where the clip ends in the source video. |
timestampBoundary | object | Object defining the clipping boundary (see below). |
timestampBoundary.start | number | Start boundary (in seconds) for clip extraction. |
timestampBoundary.end | number | End boundary (in seconds) for clip extraction. |
aspectRatio | string | Aspect ratio of the clip, e.g., "16:9" or "9:16". |
renderedUrl | string | Public preview video URL. Use /render for a finalized export after changes. |
rawUrl | string | Raw clip URL when available. |
thumbnailURL | string | URL to the thumbnail image for the clip. |
viralityScore | number | Numerical score indicating the clip’s predicted virality potential. |
Update Clip
Save edited clip fields before rendering
Render Clip
Create a finalized clip export