Schemas
ClipJob
One request to cut an analysis's video into clips, and its outcome.
| Field | Description |
|---|---|
id string, required | Identifier of the clip job. |
analysisId string, required | The id of the analysis whose video the clips are cut from. |
state ClipJobState, required | Where the job is. Brought up to date when the job is read. |
mode ClipMode, required | What the job makes. |
prompt string, optional | The prompt given at create. Only set with PROMPTED_CLIPS. |
options ClipOptions, required | The options the job uses, defaults included. |
createdAt string (date-time), required | When the job was created. |
updatedAt string (date-time), required | When the job last changed. |
finishedAt string (date-time), optional | When the job became READY or FAILED. |
error ClipJobError, optional | Why the job failed. Only set in state FAILED. |
episodes array of ClipEpisode, optional | The clips, in order; their number is the episode count. Only set in state READY, and
then with at least one clip.
|
editable boolean, optional | Whether the web app can open the job's clips in its editor now: the job is READY and
this environment offers the editor. Clips are edited only in the web app. Treat an absent editable as false.
|
Uses ClipJobState, ClipMode, ClipOptions, ClipJobError, ClipEpisode.