OverviewProductsPlatformsAPI ReferenceResources
Workflows

List workflow runs

GEThttps://zernio.com/api/v1/workflows/{workflowId}/executions

Returns recent executions (runs) with their status, current node, and accumulated variables.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

workflowIdstringRequired

Query parameters

Optional
statusstringOne of running | waiting | completed | exited | failed
limitintegerDefault 25
skipintegerDefault 0

Responses

Success· the request worked

Errors· the request failed

GET/v1/workflows/{workflowId}/executions
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  }}
OpenAPI specification
Was this page helpful?