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 X/Twitter API pricing table GET
Returns Zernio's canonical X/Twitter API pricing table. Each X action has its own Metronome product and its own rate, and Zernio passes X API costs through at exact rates with zero markup. The response is identical for every authenticated user (pricing is universal), so it is safe to cache on the client for the duration of a billing period. To compute your own per-operation spend, pair this endpoint with `GET /v1/usage-stats` — that endpoint returns `usage.xApiCallsByOperation` keyed by the same `operation` field you get here.
List workflows GET
Returns workflows with run stats. Filter by status or profile.