Compiler
Operations of the Workflow Engine API. Paths are relative to your deployment's API host.
POST /api/workflow-engine-api/compiler/preview
Preview-compile a workflow
Runs the DSL semantic compiler without starting a Temporal workflow. Used by the frontend YAML editor to surface validation errors, inspect matrix expansion, and verify action ref resolution. Returns the full CompiledRun plus its deterministic sha256. Does NOT persist a snapshot.
Authentication: bearer token (Authorization: Bearer <token>)
Request body: application/json CompilePreviewRequestDto
| Status | Description | Body |
|---|---|---|
| 200 | application/json CompilePreviewResponseDtoDataEnvelope |
POST /api/workflow-engine-api/compiler/preview-raw
Preview-compile a raw YAML draft
Compiles raw YAML text without requiring a persisted WorkflowDefinition. Drives the frontend Monaco editor's compiler-like error feedback: on each debounced keystroke, the editor POSTs the current buffer here and either renders the compiled DAG or marks errors at the DSL-reported line/column. Same validation + ref-resolution path as POST /compiler/preview; no snapshot is persisted.
Authentication: bearer token (Authorization: Bearer <token>)
Request body: application/json CompilePreviewRawRequestDto
| Status | Description | Body |
|---|---|---|
| 200 | application/json CompilePreviewResponseDtoDataEnvelope |