Retrieves aggregated statistics for a workflow, including total runs, success rate, and counts of log statuses.
cURL
curl --request GET \ --url https://v1.api.altostrat.io/workflows/{workflowId}/logs/stats \ --header 'Authorization: Bearer <token>'
{ "log_statuses": { "success": 1502, "error": 23, "warning": 5 }, "recent_runs": { "completed": 95, "failed": 5 }, "total_runs": 250, "success_rate": 97.5 }
Enter the JWT token.
The prefixed ID of the workflow (e.g., fl_...).
fl_...
Aggregated log statistics.
The response is of type object.
object
Was this page helpful?