Skip to Content

Get Pipeline Stats

GET/v0/pipelines/{pipeline_name}/stats
Authentication
Parameters

Retrieve statistics (e.g., performance counters) of a running or paused pipeline.

Authentication

SchemeTypeDetails
JSON web token (JWT) or API keyBearer tokenAuthorization header · Use a JWT token obtained via an OAuth2/OIDC login workflow or an API key obtained via the `/v0/api-keys` endpoint.

Parameters

Path parameters

NameTypeRequiredDescription
pipeline_namestringYesUnique pipeline name

Response

application/json
Pipeline statistics retrieved successfully
  • object
    Complete pipeline statistics returned by the `/stats` endpoint. This schema definition matches the serialized JSON structure from `adapters::controller::ControllerStatus`. The actual implementation with atomics and mutexes lives in the adapters crate, which uses ExternalControllerStatus to register this OpenAPI schema, making it available to pipeline-manager without requiring a direct dependency on the adapters crate.
    • checkpoint_activityobject
    • global_metricsobjectrequired
      Global controller metrics.
    • inputsInputEndpointStatus[]required
      Input endpoint configs and metrics.
    • outputsOutputEndpointStatus[]required
      Output endpoint configs and metrics.
    • permanent_checkpoint_errorsPermanentSuspendError[]
      If the pipeline fundamentally cannot checkpoint (e.g. storage is not configured, or an input endpoint does not support suspend), the reasons are listed here. Unlike a checkpoint failure, this means *no* checkpoint can succeed until the pipeline configuration changes.
    • suspend_errorobject
Request
curl -X GET '/v0/pipelines/{pipeline_name}/stats' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
Pipeline with that name does not exist
{ "message": "Unknown pipeline name 'non-existent-pipeline'", "error_code": "UnknownPipelineName", "details": { "pipeline_name": "non-existent-pipeline" } }