Skip to content
中文

Retrieve project

GET /cut/v1/projects/{project_id}

Inspect project metadata, settings and library bindings before editing. Copy id from projects.create or list; expand=timeline,exports,versions includes selected related resources. The expanded timeline uses seconds and the returned revision can guard a later execute call with expected_revision.

Support: supported

Parameters

NameLocationTypeRequiredDescription
project_idpathstringtrueProject identifier returned by its create or list operation; use the id, not a display name.
expandquerystringfalseComma-separated expansions: timeline includes clips, exports includes render jobs, versions includes saved snapshots.

Response

HTTP 200

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

application/json

Name Type Description
id string Project id assigned by create; pass as project_id on subsequent requests.
name string Human-readable editing project name; not an API identifier.
owner string Organization that owns the project and its editing history.
labels object User-defined string labels for organizing projects; label keys retain their original spelling.
state string active projects can be edited; deleted projects are retained until purge_time and may be undeleted.
revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
settings object Rendering dimensions, frame rate and audio sample rate for this project.
settings.width integer Output width in pixels; even integer between 16 and 4096.
settings.height integer Output height in pixels; even integer between 16 and 4096.
settings.fps object Exact frames-per-second fraction used to snap second-based edits to project frames.
settings.background string Background color as #RRGGBB or #RRGGBBAA; omission uses black.
settings.sample_rate integer Project audio sample rate in hertz; fixed at 48000.
bindings array<object> Named library bindings available to scripts, imports and exports.
bindings[].name string Unique binding alias used in imports and exports; begins with a lowercase letter.
bindings[].library_id string Media library id from praxis.media.libraries.create or list; must be accessible to this organization.
bindings[].access string read permits using library assets; read_write also permits imports and exports into the library.
bindings[].default_upload boolean True selects the one read_write library used when an import or export omits binding.
create_time string ISO 8601 timestamp when this project was created.
console_url string Link that opens this project in the Praxis Console, in the Console of the environment serving the request. Open this URL when telling a user where to edit the project, and use the value as given — do not build the link yourself, because the Console host differs per environment (develop and production are different hosts) and a composed address will not open.
update_time string ISO 8601 timestamp of the latest committed project update.
purge_time string ISO 8601 deadline for permanent removal of a deleted project; absent for active projects.
timeline object Complete second-based timeline, present when expand includes timeline.
timeline.duration number Total duration derived from the latest clip end. In seconds, not frames or microseconds.
timeline.tracks array<object> Ordered tracks, topmost visual layer first.
timeline.joins array<object> Clip-to-clip transitions selected by track and overlap window; lengths are seconds and effect fields use snake_case on HTTP.
timeline.markers array<object> Named points on the timeline.
exports array<object> Project exports, present when expand includes exports.
exports[].id string Export id returned by create; use as export_id for retrieve or cancel.
exports[].project_id string Project id whose timeline is being exported.
exports[].owner string Organization that owns this export job.
exports[].revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
exports[].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.
exports[].output object Effective video rendering options for this job.
exports[].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.
exports[].progress object Rendering progress; partial progress is not successful completion.
exports[].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).
exports[].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.
exports[].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.
exports[].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.
exports[].asset object Output media reference, present only when the export was imported (the request named a binding or a folder).
exports[].error object Failure information, present when the export failed.
exports[].create_time string ISO 8601 timestamp when this export was accepted.
exports[].finish_time string ISO 8601 timestamp when this export reached a terminal state.
exports[].wall_ms number Elapsed wall-clock rendering time in milliseconds, when available.
versions array<object> Saved project versions, present when expand includes versions.
versions[].id string Version id returned by versions.create or list; pass as version_id to restore.
versions[].project_id string Identifier of the project this version belongs to.
versions[].revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
versions[].label string Optional human-readable label supplied when saving this version.
versions[].create_time string ISO 8601 timestamp when this version was saved.
versions[].actor string Creator identity recorded as human:<user-id> or agent:<user-id>.