Skip to content

Get Pipeline Stage run by stage run Id
Stable

Request

Retrieves a single Stage Run's details.

Returns the full record for one Stage Run, identified by stage_run_id within the given pipeline_run_id.

About Stage Runs A Stage Run is the execution instance of one Stage within a Pipeline Run. This single-record endpoint is the detail view behind the Stage Run list.

Key Fields / Query Parameters

  • pipeline_run_id — UUID of the parent Pipeline Run
  • stage_run_id — UUID of the specific Stage Run to retrieve

Workflow

  1. List Stage Runs for the pipeline run to find the stage_run_id
  2. GET this endpoint with pipeline_run_id and stage_run_id
  3. Use PUT on the same path if a manual status change is needed
Security
pipelines_SCAPIAuthToken
Path
pipeline_run_idstringrequired

ID of the Pipeline Run

stage_run_idstringrequired

ID of pipeline stage run

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

Responses

Get pipeline run stage run

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_StageRun)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "enterprise_id": "string", "pipeline_id": "string", "pipeline_run_id": "string", "stage_id": "string", "stage_meta": { … }, "status": "pending", "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" } }