List runs
list_flow_instancesList the runs of one flow version, newest first. flowId, versionId and liveVersionId come from list_flows; without versionId the LIVE version is searched; a flow with no LIVE version needs versionId. Filters: status, onlyWithErrors, nameContains, period (lastHour, last24h, last7d, last30d) or a custom range from/to (ISO time); not both, limit (default 20, max 50), offset. includeSummary adds the count per status for the same period and other filters; the status filter does not apply to it. Row: instanceKey (the key get_flow_instance, get_flow_instance_block, get_flow_instance_logs take), executionId, name (only when set), status, initiator, startedAt, endedAt (ISO UTC), durationMs, hasErrors, errorHandled (an error happened and the run continued), terminationReason (TERMINATED runs), isTestRun. Result: { versionId (the version searched), runs, summary?, olderRunsHiddenByPlan (true when older runs are not visible), nextOffset (the offset of the next page) }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"flowId": "<flowId>"
},
"name": "list_flow_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| limit | No | ||
| flowId | Yes | ||
| offset | No | ||
| period | No | ||
| status | No | ||
| versionId | No | ||
| workspaceId | Yes | ||
| nameContains | No | ||
| includeSummary | No | ||
| onlyWithErrors | No |