Get embed URL
get_embedGet a project's embeddable video player: embed_url (permanent) and embed_code (a ready-to-paste , the same snippet the editor's Share → Embed copies). Use it to put a Clueso video in a website, help center or LMS lesson.
Returns { project_id, published, embed_url?, embed_code?, latest_publish? }. • published=false — the project has never been published as an embed. Call export_project(project_id, destination="embed"), tell the user it has started and stop; get_export(export_id) returns the embed_url once it is done and the user asks. • published=true — the URL is live. After editing the project, re-publish with export_project(destination="embed"): the video behind the SAME URL is replaced, so every page embedding it updates without changing the embed code. • latest_publish — the most recent embed publish { export_id, status, progress, requested_at, finished_at }. While it is queued/inprogress, embed_url still serves the previous version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID whose embed to read |