Skip to content
中文

Cancel video export

POST /cut/v1/exports/{export_id}:cancel

Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.

Support: supported

Parameters

NameLocationTypeRequiredDescription
export_idpathstringtrueExport identifier returned by its create or list operation; use the id, not a display name.

Response

HTTP 200

Requested resource or operation result; use its revision when preparing a guarded edit.

application/json

Name Type Description
id string Export id returned by create; use as export_id for retrieve or cancel.
project_id string Project id whose timeline is being exported.
owner string Organization that owns this export job.
revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
status string queued awaits capacity; fetching loads sources; rendering renders chunks; stitching joins chunks; saving writes the asset; done means output is ready; failed means inspect error; canceled means no further output is expected.
output object Effective video rendering options for this job.
output.format string mp4 produces an MPEG-4 video file.
output.width integer Output video width in pixels.
output.height integer Output video height in pixels.
output.fps number Output frames per second.
output.quality string Compression of the encoded video, like Shotstack quality. medium is the default and balances render, upload and storage at about 70% of the bitrate of high. draft is about 40% of high, for review renders. high is for delivery that will be transcoded again or needs the most detail.
target object Library the finished video is imported into. Present only when the request named a binding or a folder; an export that named neither is delivered as a file and has no target.
target.binding string Project binding alias chosen for the output.
target.library_id string Destination media library identifier.
target.folder string Frozen destination path within the library, when supplied.
target.name string Frozen sanitized display name, when supplied.
progress object Rendering progress; partial progress is not successful completion.
progress.done integer Number of render work units completed.
progress.total integer Total render work units planned.
progress.audio string pending means audio processing has not finished; done means audio is ready.
loudness object Present when the export was normalized (the default, or an explicit target); contains the target and the measured output levels. Absent when loudness was null, and when the timeline is silent (nothing to normalize).
loudness.target_lufs number Requested integrated loudness target in LUFS.
loudness.true_peak_dbtp number Requested maximum true peak in dBTP.
loudness.integrated_lufs number Measured integrated loudness of the rendered export in LUFS.
loudness.measured_true_peak_dbtp number Measured maximum true peak of the rendered export in dBTP.
checks array<object> Problems found in the timeline when the export was frozen. Every check is a warning and never blocks the export; read them before delivering, fix the timeline and export again when one is real. A check may be intentional (a fade from black, a deliberate placeholder) and then needs no action.
checks[].code string BLACK_FIRST_FRAME: the first frame is black or empty. PLACEHOLDER_TEXT: a text or caption looks like unfinished placeholder text (TODO, XXX, ___). UPSCALED_SOURCE: a source is enlarged more than 1.5x and will look soft. CAPTION_TOO_SHORT: a caption is on screen too briefly to read. CAPTION_OUT_OF_SAFE_AREA: a caption or text box reaches into the frame edge where players crop or overlay controls. CAPTION_TEXT_MISMATCH: a caption's words differ from the speech the timeline keeps under it (a caption edited without its sound, or sound kept after its caption was removed). CAPTION_DRIFT: a caption starts or ends more than 0.2 s away from its words. FILLER_REMAINING: a filler, verbal tic, repetition or restart that media labelled with confidence 0.7 or more is still in the timeline. SUSPECT_TYPO: a word the correction model doubted and left uncorrected (a possible homophone or misheard name) is still in the timeline. LOUDNESS_TRUE_PEAK_OVER: the delivered file's measured true peak is above the export's true-peak target. RENDER_FALLBACK: a parallel render worker failed, so some chunks are being rendered again on the main machine; it appears while the export is still rendering, the export continues and takes longer, and nothing needs to be done. SAVE_RETRIED: the finished file failed to upload and is being uploaded again from the same machine; the render is kept and nothing needs to be done. ATTEMPT_RETRIED: the whole attempt failed and the export is starting over; the check names the cause.
checks[].severity string Always warning in this version.
checks[].at number Timeline position in seconds the check refers to, when it has one.
checks[].clip_id string Clip the check refers to, when it has one.
checks[].detail string What was found and how to fix it.
poster_at number Timeline position in seconds the cover frame was taken at, frame-exact, and the moment written as the exported asset's cover. Present on exports frozen from this version onward: the requested poster.at, or the first frame with picture when poster was omitted.
file object The finished video as a file. Present once the export is done, and kept even when the export was also imported into a library, where the file itself is then deleted and only its identity remains.
file.id string File id in the file service.
file.name string File name the export was uploaded under; the frozen display name with an .mp4 suffix.
file.bytes integer Size of the finished video in bytes, as written by the renderer.
file.url string Short-lived reading link, valid one hour, minted on every read and never stored. Present only on a done export that was not imported: an imported export's file was deleted, so there is nothing to link to.
asset object Output media reference, present only when the export was imported (the request named a binding or a folder).
asset.library_id string Identifier of a library present in the project bindings.
asset.asset_id string Asset identifier returned by media import or praxis.media asset operations.
error object Failure information, present when the export failed.
error.code string Machine-readable failure code used to choose a recovery action.
error.message string Human-readable explanation of the export failure.
error.chunk integer Optional index of the failed render chunk.
error.cause string | object Safe structured downstream failure information; older jobs may contain a string.
error.request_id string Downstream request identifier, when supplied by the service error.
create_time string ISO 8601 timestamp when this export was accepted.
finish_time string ISO 8601 timestamp when this export reached a terminal state.
wall_ms number Elapsed wall-clock rendering time in milliseconds, when available.