Insights API

Routes to read run statistics.

Routes to read run statistics.

Get the totals

GET /api/v1/insights/summary

The answer has the values for the time range, and for the time range before it.

Query parameters

Name Type Required Notes
range 24h, 7d, 30d, 90d No Default: 7d.
workflowId UUID or array No A workflow id. Repeat the parameter for more than one workflow.
triggerType string No
includeTest true, false No Default: false.

Answer: 200. Fields: from, to, current, previous.

Get values for each time period

GET /api/v1/insights/timeseries

Query parameters

Name Type Required Notes
range 24h, 7d, 30d, 90d No Default: 7d.
workflowId UUID or array No A workflow id. Repeat the parameter for more than one workflow.
triggerType string No
includeTest true, false No Default: false.

Answer: 200. Fields: from, to, granularity, points.

Get values for each workflow

GET /api/v1/insights/workflows

Query parameters

Name Type Required Notes
range 24h, 7d, 30d, 90d No Default: 7d.
workflowId UUID or array No A workflow id. Repeat the parameter for more than one workflow.
triggerType string No
includeTest true, false No Default: false.

Answer: 200. Fields: workflows.

Get values for each node

GET /api/v1/insights/nodes

The values are runs, failures, and duration.

Query parameters

Name Type Required Notes
range 24h, 7d, 30d, 90d No Default: 7d.
workflowId UUID or array No A workflow id. Repeat the parameter for more than one workflow.
triggerType string No
includeTest true, false No Default: false.

Answer: 200. Fields: nodes.

Get the most frequent errors

GET /api/v1/insights/errors

Zerodot puts similar error messages in one group.

Query parameters

Name Type Required Notes
range 24h, 7d, 30d, 90d No Default: 7d.
workflowId UUID or array No A workflow id. Repeat the parameter for more than one workflow.
triggerType string No
includeTest true, false No Default: false.

Answer: 200. Fields: errors.

Change this page on GitHub