Skip to content

Get Execution Routes

GET
/api/v1/executions/{execution_id}/routes

Get route-level statistics for an execution.

Returns aggregated statistics per route derived from lineage data.

Args: execution_id: Execution UUID service: Execution service (injected) lineage_service: Lineage service (injected)

Returns: Route-level statistics for this execution

Raises: HTTPException: 404 if execution not found

execution_id
required
Execution Id
string

Successful Response

RouteStatsResponse

Route-level statistics for an execution.

object
execution_id
required
Execution Id

Execution ID

string format: uuid
routes
Routes

Per-route statistics

Array<object>
RouteStats

Statistics for a single route within an execution.

object
route_id
required
Route Id

Route identifier

string
total_messages
Total Messages

Total messages processed

integer
0
completed
Completed

Successfully completed messages

integer
0
failed
Failed

Failed messages

integer
0
in_progress
In Progress

Currently processing messages

integer
0
avg_duration_ms
Any of:
number

Resource not found

ErrorResponse

Standard error response matching FastAPI HTTPException format.

This model is used in OpenAPI response declarations for 4xx/5xx errors. The detail field matches FastAPI’s HTTPException structure.

object
detail
required
Detail

Error message (matches FastAPI HTTPException)

string
error_code
Any of:
string
correlation_id
Any of:
string
timestamp
Timestamp

Error timestamp

string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object