Pipelines
Submit multi-step video processing runs instead of chaining individual jobs manually. The API auto-includes transcription when downstream steps need a transcript, runs downstream steps in parallel after transcription completes, and exposes aggregate status on the pipeline object.
Requires service:pipelines (or the legacy job:create umbrella).
The Pipeline object
- pipelineIdstring
- Unique pipeline id (pip_…).
- statusstring
- pending, running, completed, partial, failed, or cancelled. partial means mixed step outcomes.
- stepsarray
- Per-capability step status and linked jobId.
- videoSourceobject
- Storage-connection video (connectionId, bucket, sourceKey) when starting from a video.
- textSourceIdstring | null
- Text source id once transcription completes.
Preview pipeline
POST
/v1/pipelines/previewResolve selected steps (including auto-added transcription), platform-injected config per step, and estimated credits. Does not create a pipeline. Each resolved step must be enabled for the workspace or the call returns HTTP 403
forbidden with not_enabled.Requires permission
service:pipelines
Parameters
- selectedStepsarray
- Capability service types to run (e.g. clip_generation, metadata).
- videoSourceobject, optional
- connectionId, bucket, sourceKey for a new video run. Required unless textSourceJobId or textSourceId is given and that transcript job stored a reusable S3 source.
- textSourceJobIdstring, optional
- Start from an existing completed transcription/narration job instead of a new video. Alternative to videoSource.
- textSourceIdstring, optional
- Start from an existing transcript record (txt_…) instead of a new video. Alternative to textSourceJobId.
- stepOverridesobject, optional
- Per-step config overrides (e.g. { translation: { targetLanguage: "ta" } }), keyed by service type. Affects the resolved step config and estimatedCredits returned here — same shape as on create.
Returns
Returns resolvedSteps and estimatedCredits.
See the the pipeline object for attribute details.
Create pipeline
POST
/v1/pipelinesCreate and start a pipeline. Same body as preview — start from a new video via
videoSource, or from an existing completed transcript via textSourceJobId or textSourceId. Each selected step must be enabled for the workspace — otherwise the call returns HTTP 403 forbidden with not_enabled. Check GET /v1/services first. Poll GET /v1/pipelines/{pipelineId} until status is terminal. Filter jobs with GET /v1/jobs?pipelineId=….Requires permission
service:pipelines
Returns
Returns the Pipeline object (201).
See the the pipeline object for attribute details.
List pipelines
GET
/v1/pipelinesList pipelines in scope for the API key.
Requires permission
job:list
Query parameters
- pageinteger, optional
- Default 1.
- limitinteger, optional
- Default 20, max 100.
- pipelineIdstring, optional
- Filter by pipeline id.
- inputstring, optional
- Filter by input search text.
- customerJobRefstring, optional
- Filter by your customerJobRef.
- connectionId / bucket / sourceKeystring, optional
- Filter by source video.
- statusesstring, optional
- Comma-separated pipeline statuses.
- sortstring, optional
- pipelineId, status, completed, or created (default).
- sortDirstring, optional
- asc or desc. Default asc.
Get pipeline
GET
/v1/pipelines/{pipelineId}Retrieve pipeline status and per-step job links.
Requires permission
job:read
Parameters
- pipelineIdstring
- Pipeline id (pip_…).
Returns
Returns the Pipeline object.
See the the pipeline object for attribute details.
Retry failed steps
POST
/v1/pipelines/{pipelineId}/retryRe-submit failed steps on a
partial or failed pipeline. Optional body: { "stepIds": ["clip_generation"] }.Requires permission
service:pipelines
Cancel a pipeline
POST
/v1/pipelines/{pipelineId}/cancelCancels a running pipeline and its in-flight step jobs.
Requires permission
job:cancel
Parameters
- pipelineIdstring
- Pipeline id (pip_…).