list_flow_instances
List 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 (pass it to get_flow_instance, get_flow_instance_block, get_flow_instance_logs), 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 (pass as offset for the next page) }.
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 |