Retrieves all Target Runs for a Stage Run.
Returns the device-level execution records for the specified Stage Run, showing the per-device outcome of that stage, with optional filters by status and operation.
About Target Runs A Target Run is the execution record of one device (Target) within a Stage Run — this is where per-device success/failure detail lives, since a single stage typically acts on many devices at once.
Key Fields / Query Parameters
stage_run_id— UUID of the Stage Run to list Target Runs forstatus— Optional filter by Target Run statusstage_run_operation_id— Optional filter to a specific executed Operationordering— Field to sort results by
Security
pipelines_SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/stageruns/{stage_run_id}/targetruns/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/stageruns/{stage_run_id}/targetruns/
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>'Response
{ "code": 0, "message": "string", "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }