Retrieve draft range render
GET /cut/v1/renders/{render_id}
Poll a draft render id returned by projects.renders.create to see whether the interval is ready, then read url while it lasts. queued and rendering are in progress; done provides file_id and a short-lived url for the rendered .m4a or .mp4; failed provides error. Only done yields a url, and the file behind it disappears 24 hours after it was stored, so retrieve again when the link has expired.
Support: supported
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| render_id | path | string | true | Draft render id (cutr_…) returned by projects.renders.create. |
Response
HTTP 200
Draft render state; file_id and url are present only once status is done.
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Draft render id returned by create; use as render_id for retrieve. |
| project_id | string | Project whose timeline is rendered. |
| status | string | queued is accepted and not started; rendering is producing the interval; done means file_id and url are usable; failed means inspect error and, if the interval matters, submit it again. Only done yields a url. |
| kind | string | What was rendered, as chosen at creation; audio is an .m4a of the mix, video is a draft-quality .mp4. |
| from | number | Start of the rendered interval in seconds on the project clock, inclusive. |
| to | number | End of the rendered interval in seconds on the project clock, exclusive. |
| revision | integer | Revision the interval was sliced from, frozen when the draft was created. |
| duration | number | Seconds of rendered material, present once the render finished; this is what the draft bills for. |
| file_id | string | Temporary file holding the rendered bytes, present once status is done. It expires 24 hours after it was stored and is not a media asset, so it can be read but never referenced as library material. |
| url | string | Short-lived link for reading the finished draft, present only while status is done. It expires within minutes, so retrieve the render again rather than saving it. |
| error | object | Present when status is failed; nothing was stored. |
| error.code | string | Stable error code, EXPORT_FAILED for a render that could not finish. |
| error.message | string | Bounded cause of the failure, safe to read; provider URLs are stripped. |
| create_time | string | When the draft was accepted, as an RFC 3339 timestamp. |
| finish_time | string | When the draft reached done or failed, as an RFC 3339 timestamp; absent while it is still running. |