Monitor your self-hosted n8n instance through a webhook-based API. Get health reports, detect failing workflows, and debug errors using structured data from your n8n executions.
{"action": "get_workflow_executions", "limit": 50} to get a health overviewsummary.failureRate to determine status: GREEN (<10%), YELLOW (10-25%), RED (>25%)workflowPerformance.topProblematicWorkflows for the worst offenders{"action": "get_execution_details", "limit": 5, "workflow_id": "<ID>"} to get error messages and failed nodesAll endpoints are POST requests to the N8N_WEBHOOK_URL environment variable.
Returns all active workflows with IDs, names, and metadata.
json
{"action": "get_active_workflows"}
Returns recent executions with computed KPIs: failure rate, timing metrics, per-workflow performance, alerts.
json
{"action": "get_workflow_executions", "limit": 50}
Key response fields:
summary.totalExecutions, summary.failureRate, summary.successRatetiming.averageExecutionTime, timing.minExecutionTime, timing.maxExecutionTimeworkflowPerformance.topProblematicWorkflows (sorted by failure rate)alerts.highFailureRate (boolean), alerts.workflowsNeedingAttention (list)Returns detailed error data for a specific workflow: error messages, failed node names and types, timestamps.
json
{"action": "get_execution_details", "limit": 5, "workflow_id": "<WORKFLOW_ID>"}
StatusFailure RateActionGREEN< 10%No action neededYELLOW10-25%Investigate flagged workflowsRED> 25%Immediate attention required
text
n8n <EMOJI> | failure <RATE>% (<N> exec) | <NOTE>
text
n8n monitor (<TIME> UTC) -> <EMOJI> <STATUS>
Hot spots:
<EMOJI> <WORKFLOW_NAME> - "<ERROR_MESSAGE>" (<FAILED_NODE> node)
Combine all three endpoints for a complete picture:
get_workflow_executionsget_workflow_executions to identify which workflows are failingget_execution_details with that ID for error patterns and failed node infoN8N_WEBHOOK_URL: Your n8n webhook endpoint (required)limit values for large instances)limit parameter