Get an execution's timeline
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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Response 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.listWorkflowExecutionEvents({ path: { workflowId: 'workflow_abc123', executionId: 'execution_abc123', },});console.log(data);{
"success": true,
"execution": {
"id": "string",
"status": "running",
"startedAt": "2019-08-24T14:15:22Z",
"completedAt": "2019-08-24T14:15:22Z"
},
"events": [
{
"action": "execution_started",
"status": "success",
"nodeId": "string",
"nodeType": "string",
"sourceHandle": "string",
"durationMs": 0,
"errorMessage": "string",
"meta": {},
"at": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Manually start a workflow run POST
Kick off a run without waiting for an inbound message (useful for testing). Target an existing conversation by `conversationId`, or — WhatsApp only — a phone number via `to` (a conversation is found or created). `text` seeds the run's `lastMessage` variable. The graph must be runnable.
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.