Skip to Content
API ReferenceMetrics DebuggingGet Time Series Stats

Get Time Series Stats

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

Retrieve time series for statistics 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 time series retrieved successfully
  • object
    Time series to make graphs in the web console easier.
    • nowstring (date-time)required
      Current time as of the creation of the structure.
    • samplesSampleStatistics[]required
      Time series. These report 60 seconds of samples, one per second.
Request
curl -X GET '/v0/pipelines/{pipeline_name}/time_series' \
  -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" } }