runId you can use to track progress. The workflow itself does not start synchronously — you receive a 202 Accepted response the moment your request is queued, regardless of how long the workflow ultimately takes to complete.
Endpoint
Authentication
All requests must include a valid Bearer token in theAuthorization header.
Path Parameters
string
required
The unique identifier of the workflow you want to run. You can find this ID in the Flowmatic dashboard or from the workflow creation response. Example:
wf_abc123.Request Body
This endpoint does not accept a request body.Response
A successful request returns HTTP 202 Accepted with a JSON body containing the new run’s ID and its initial status.string
A unique identifier assigned to this specific execution of the workflow. Use this value to poll the run’s progress via GET /api/workflows/runs/:runId.
string
The initial status of the enqueued run. This is always
"PENDING" at the moment of enqueue, indicating the run has been accepted and is waiting in the execution queue.Example Response
An HTTP 202 response means your run has been accepted and queued — it does not mean the workflow has finished executing, or even started yet. Flowmatic processes runs asynchronously. Use the
runId from this response to poll GET /api/workflows/runs/:runId and track when the status advances from PENDING → RUNNING → SUCCESS (or FAILED).Execution Queue Behavior
Flowmatic enforces sequential execution per workflow. Each workflow maintains its own queue, and runs drain one at a time in the order they were enqueued. If a previous run is stillRUNNING when you enqueue a new one, the new run waits as PENDING until the current execution finishes.
This guarantees that runs for a given workflow never overlap or interfere with each other, which is especially important for workflows that write to shared resources (such as a Google Sheet or external database).
curl Example
What To Do After Enqueuing
Once you have arunId, you have two main options for monitoring progress:
- Poll a single run — use GET /api/workflows/runs/:runId to retrieve the current status and per-node output of that specific run.
- List all runs — use GET /api/workflows/:workflowId/runs to see the full queue for a workflow, including which runs are
PENDING,RUNNING, or alreadySUCCESS.