Retrieve detailed execution results with flexible filtering modes for data size optimization.
n8n_executions tool with action='get' retrieves detailed execution information. Use different modes to control data size and focus on relevant information.
"get" for retrieving execution details.n8n_test_workflow response or n8n_executions list.mode='filtered': Array of node names to include. Other nodes are omitted from the response.mode='filtered': Number of items to return per node.0 - Structure only (node names, status)2 - Default (first 2 items)-1 - Unlimited (all items)mode='error': Number of sample items to include from upstream node.mode='error': Include full stack trace. By default, stack traces are truncated to first 5 lines.mode='error': Include the execution path showing which nodes were executed before the error.mode='error': Fetch workflow structure for accurate upstream node detection. Improves error context accuracy.mode='error', the response includes specialized error debugging information:
| Mode | Data Size | Use Case | Response Time |
|---|---|---|---|
preview | Smallest | Quick status check | Fastest |
summary | Small | General debugging | Fast |
filtered | Medium | Targeted analysis | Medium |
error | Small-Medium | Error debugging | Fast |
full | Largest | Complete audit | Slowest |
Choose the Right Mode
Error Debugging Workflow
mode='error' to get error analysis_errorAnalysis.debuggingHints for quick fixesupstreamNode.sampleItems to understand input dataexecutionPath to trace execution flowincludeStackTrace: true only if hints aren’t sufficientOptimize Response Size
mode='preview' or mode='summary'filtered mode with specific nodeNames when possibleitemsLimit (usually 2-5 items is sufficient)mode='full' for workflows with large datasetsincludeInputData: false unless specifically neededHandle Long-Running Executions
finished field before processing datafinished: false, poll periodically with mode='preview'