Workflows
Get workflow analytics
Returns analytics for a specific workflow, including runs by date and summary.
get/public/v1/workflows/{workflowId}/analytics
Path parameters
workflowIdnumber nullable
Example:42
Query parameters
startDatestring nullable
Example:2024-01-01
endDatestring nullable
Example:2024-01-01
Response
Workflow analytics data
Example response
{
"runsByDate": [
{
"date": "2024-01-01",
"totalRuns": 100,
"completedRuns": 95,
"failedRuns": 5,
"totalCredits": 250.5
}
],
"summary": {
"totalRuns": 1000,
"completedRuns": 950,
"failedRuns": 50,
"totalCredits": 2500,
"averageCreditsPerRun": 2.5,
"nonExecutedRuns": 10
}
}