Skip to main content
GET
Get Workflow Statistics

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header as: Authorization: Bearer <token>. The JWT must contain valid client_id, and project_id claims for tenant isolation and SDK routing.

Query Parameters

configuration_id
string<uuid> | null

Configuration ID. If not provided, returns statistics for all workflows.

start_date
string | null

Start date (ISO 8601)

end_date
string | null

End date (ISO 8601)

Response

Successful Response

Aggregated statistics for workflow runs, optionally filtered by configuration.

total_runs
integer
required

Total number of runs

Example:

25

successful_runs
integer
required

Number of successful runs

Example:

20

failed_runs
integer
required

Number of failed runs

Example:

3

cancelled_runs
integer
required

Number of cancelled runs

Example:

2

in_progress_runs
integer
required

Number of runs currently in progress (queued or running)

Example:

1

configuration_id
string<uuid> | null

Workflow configuration ID. None when returning statistics for all workflows.

Example:

"123e4567-e89b-12d3-a456-426614174000"

average_duration_seconds
number | null

Average run duration in seconds

Example:

285.3

last_run_at
string | null

Last run timestamp (ISO 8601)

Example:

"2024-01-15T10:35:00Z"