v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
workflows

Fork a workflow revision into a draft and recompile it

Recompile a (possibly published) revision without mutating it.

The active/published revision is immutable — the runtime reads its graph live — so this forks the source into a fresh DRAFT, force-compiles the draft, and returns it (HTTP 202). Poll GET /workflows/revisions/{revision.id}; promote the draft via set-active-revision once the recompile lands and is reviewed.

post/v1/workflows/revisions/{revision_id}/recompile

Path parameters

revision_idstring uuid required

Request body

compilation_strategystring nullable
namestring nullable

Response

Successful Response

statusstring required
task_idstring nullable
source_revision_idstring uuid required