List workflow runs
Returns recent executions (runs) with their status, current node, and accumulated variables.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Query Parameters
"running" | "waiting" | "completed" | "exited" | "failed"250Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.workflows.listWorkflowExecutions({ path: { workflowId: 'workflow_abc123', },});console.log(data);{
"success": true,
"executions": [
{
"id": "string",
"status": "running",
"currentNodeId": "string",
"waitingFor": {
"kind": "timer",
"nodeId": "string"
},
"variables": {},
"platformIdentifier": "string",
"conversationId": "string",
"stepCount": 0,
"lastError": "string",
"resumeAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"completedAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Get an execution's timeline GET
Returns the per-step run-log for a single workflow execution: trigger fired, each node visited, edge handles taken, errors, and durations. Backed by Tinybird (90-day retention). Used by the Runs UI drawer to render the timeline.
List a workflow's version history GET
Returns the snapshot history. A new version is recorded automatically before every PATCH to `nodes` / `edges` / `entryNodeId`, and explicitly when a previous version is restored. Lightweight list — call `getWorkflowVersion` for the full snapshot graph.