Skip to content

Get Pipeline run by pipeline run id
Stable

Request

Retrieves the details of a single Pipeline Run.

Returns the run's status, run_number, status_meta, and timestamps (created_at, updated_at, started_at, ended_at) for the given pipeline_run_id.

About Pipeline Runs

A Pipeline Run tracks the execution of a Pipeline through statuses PENDING → QUEUED → PROCESSING → RUNNING → WAITING → COMPLETE, then SUCCESS or FAILURE — or CANCELLED, TIMEOUT (default 21 days), or INVALID (zero stages). It in turn produces one Stage Run per stage in the pipeline.

Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

pipeline_run_idstringrequired

Run Id of pipeline run

cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/pipelines/v0/pipelines/{pipeline_id}/runs/{pipeline_run_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Get Pipeline run

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_PipelineRun)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "enterprise_id": "string", "run_number": 0, "pipeline_id": "string", "pipeline_name": "string", "status": "pending", "status_meta": {}, "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z" } }