Skip to main content

Overview

After submitting an edit, use the returned edit_id to poll for progress. The endpoint accepts the same X-API-Key you used to create the edit, and only the original submitter (or an active member of the submitter’s organization) may read the edit.
Your API_BASE is shown in the Developer tab of your dashboard. The default production base is https://api.knowlify.com.

Authentication

Send your key in the X-API-Key header — the same key (personal or organization) that submitted the edit.
See Authentication for details on key issuance, rotation, and JWT alternatives.

Path parameters

string
required
The edit ID returned by POST /v1/edits.

Code examples

Response

string
The edit ID (echoes the path parameter).
string
The video this edit was submitted against.
string
Current state. One of:
  • queued — another edit on the same video is in flight; this one will run after it finishes.
  • processing — phase 1 (Claude edit) is running.
  • applying — phase 3 (video sync) is running.
  • complete — all three phases finished successfully.
  • error — a phase failed. See error_message.
  • reverted — this edit was undone by POST /v1/edits/{edit_id}/revert.
boolean
true when status is complete or reverted.
boolean
true when status is error. Inspect error_message.
object
object
Present once status is complete or reverted.
string
Human-readable failure reason. null on healthy edits.When a phase fails because the account ran out of credits mid-flight, this field is prefixed with INSUFFICIENT_CREDITS:. Top up the account and resubmit the edit. See Credit cost for the per-scene rates and the pre-flight check that normally catches this at submission time.
string
ISO-8601 timestamp when the edit was accepted.
string
ISO-8601 timestamp of the last status change. Use this to detect stalled edits.

Example response (mid-flight)

Example response (complete)

Poll at most once every 5 seconds — progress.percent advances at phase boundaries, not per-scene. Production integrations should subscribe to Supabase realtime updates on the external_edits table instead. Reach out for a Supabase anon key scoped to your account.

Limits & errors

  • The polling endpoint shares the 10 requests / 60 seconds rate limit with POST /v1/edits. See Rate Limits.
  • Full status code reference: Errors.