v20

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-07302265.1 KB

Execute a workflow synchronously

Executes a workflow and waits for it to complete before returning the result

post/workflow/run

Request body

workflowNamestring required

The name of the workflow to execute

{"stackTrail":"paths:/workflow/run:post:requestBody:content:application/json:schema:properties:input","oasType":"schema","type":"unknown","description":"The payload to send to the workflow"}
workflowIdstring

(Optional) The workflowId to use. Must be unique

catalogstring

The catalog (Temporal task queue) to route the execution to. Falls back to the default catalog.

taskQueuestring

Deprecated alias for catalog. If both are sent, catalog wins.

timeoutnumber

(Optional) The max time to wait for the execution, defaults to 30s

Response

The workflow result

OR