Skip to content

Get all Pipeline stages
Stable

Request

Retrieves all Stages configured for a Pipeline.

Returns a paginated list of Stage objects belonging to the specified pipeline, in the order they run; use this to inspect a pipeline's structure before triggering or editing it.

About Stages

A Stage is an ordered step within a Pipeline. Each Stage has Target Lists (defining which devices or Device Groups it targets) and Operation Lists (the actions it performs), and when a Pipeline Run executes, each Stage produces one Stage Run.

Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

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

Responses

Pipelines stages response

Bodyapplication/json
codeinteger
messagestring
contentobject
Response
{ "code": 0, "message": "string", "content": { "count": 0, "previous": "string", "next": "string", "results": [] } }