v1

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

Compile a workflow revision (async)

Resolve @references + compute the cache key. On a cache hit return the stored graph (HTTP 200, cached=true); otherwise mark the revision pending, enqueue the Celery compile task, and return HTTP 202 with the task_id. Poll GET /workflows/revisions/{id} for the result.

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

Path parameters

revision_idstring uuid required

Request body

forceboolean
compilation_strategystring nullable

Response

Cache hit — the stored compiled graph was reused; no compile enqueued.

statusstring required
task_idstring nullable
cachedboolean