Get export status
get_exportRead a project's video export: its status and, once done, its link. Call it when the user asks for the link or the status, not to wait on an export you just started (the user gets that in the editor's Exports tab, so start it, say so, and stop). Pass exactly one of export_id (the one export_project returned) or project_id (that project's most recently REQUESTED export, which may still be in progress). Returns { export_id, project_id, status, progress, requested_at, finished_at? }.
status is queued, waitlisted or pending (not started yet), inprogress (progress is 0-100), completed, failed, or stalled (stuck for hours; start a new export). The call holds open until the export completes, fails or stalls, or wait_seconds runs out, then returns the current status. Don't call it in a loop: if it is still rendering, tell the user it is in progress and stop.
With project_id, a project that has never been exported returns status not_exported straight away (nothing to read): call export_project(project_id) if the user wants one.
Once completed, the reply carries download_url: a direct, time-limited link (1 hour, see expires_at) that downloads the file named after the project, e.g. "Product tour.mp4" (filename). Calling get_export again mints a fresh link.
An embed publish (export_project with destination="embed") also completes with embed_url (permanent) and embed_code (a ready-to-paste ), alongside its download_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export_id | No | The export_id export_project returned. Omit when passing project_id. | |
| project_id | No | Check this project's most recently requested export instead. Omit when passing export_id. | |
| wait_seconds | No | How long to wait for the export to complete or fail before answering, default 50s. Pass 0 for an immediate status check (always, inside run_script). |