Skip to content

Get all Target Lists in Pipeline
Stable

Request

Retrieves all Target Lists defined in a Pipeline.

Returns a paginated list of Target List objects for the specified pipeline; use this to see which sets of devices and Device Groups are configured as targets across the pipeline's stages.

About Target Lists

A Target List defines which devices a Stage acts on, either through individual Targets, attached Device Groups, or both. Target Lists are what a Pipeline's Stages point to at execution time to determine which devices receive each stage's operations.

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}/targetlists/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

All Target Lists in Pipeline

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