Retrieve usage metrics for a workflow
GET/workflows/:workflowId/analytics
This endpoint returns the totalAppActions
(the number of times each block inside the workflow has been executed over the course of the workflow's lifetime), the totalWorkflowRuns
(which represents the number of times the workflow has been invoked) and the totalErrors
(the number of times the workflow has had an error).
Request
Path Parameters
workflowId stringrequired
The Id of the workflow you want to find errors for
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
totalAppActions integer
Default value: 0
totalWorkflowRuns integer
Default value: 0
totalErrors integer
Default value: 0
{
"totalAppActions": 14,
"totalWorkflowRuns": 14,
"totalErrors": 0
}
{
"totalAppActions": 14,
"totalWorkflowRuns": 14,
"totalErrors": 0
}
Loading...