Get run logs
get_flow_instance_logsLog messages one run wrote; instanceKey comes from list_flow_instances. Pages run from the newest messages backwards: the first call returns the latest limit messages (default 100, max 1000), offset skips that many newest messages; each page is in time order (oldest to newest). Filters: nodeId (one block), level, textFilter (text contains), period (lastHour, last24h, last7d, last30d) or a custom range from/to (ISO time); not both. Result: { executionId, logs [{ at (ISO UTC), level, nodeId, nodeName, text }], hasMore (older messages exist), nextOffset (the offset of the older page) }. Text longer than 1000 characters is shortened. A page larger than the response size budget keeps its newest messages; hasMore and nextOffset continue from there. olderRunsHiddenByPlan: true replaces the result when the run is not visible. An instanceKey that matches no run returns an empty list.
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>",
"instanceKey": "<instanceKey>"
},
"name": "get_flow_instance_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| level | No | ||
| limit | No | ||
| nodeId | No | ||
| offset | No | ||
| period | No | ||
| textFilter | No | ||
| instanceKey | Yes | ||
| workspaceId | Yes |