GET
/
workflows
/
{workflowId}
/
logs
/
stats
Get workflow log statistics
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
}

Authorizations

Authorization
string
header
required

Enter the JWT token.

Path Parameters

workflowId
string
required

The prefixed ID of the workflow (e.g., fl_...).

Response

200
application/json

Aggregated log statistics.

The response is of type object.