Skip to content

Get all Target Runs for the Stage Run
Stable

Request

Security
SCAPIAuthToken
Path
stage_run_idstringrequired

Stage run Id

Query
statusstring

Status of target run

Enum:"pending""queued""processing""dispatched""running""complete""success""failure""cancelled""invalid"
stage_run_operation_idstring, (uuid)

Stage run Operation Id to filter on

orderingstring

Sorting target runs based on status field

Enum:"status""-status"
cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stageruns/{stage_run_id}/targetruns/?status=pending&stage_run_operation_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&ordering=status' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

All Target runs for the Stage Run

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