Skip to content

Get Target Run by Target Run ID
Stable

Request

Retrieves a single Target Run's details.

Returns the full record for one device-level Target Run, identified by target_run_id within the specified Stage Run.

About Target Runs A Target Run is the execution record of one device (Target) within a Stage Run. This single-record endpoint is the detail view behind the Target Run list.

Key Fields / Query Parameters

  • stage_run_id — UUID of the parent Stage Run
  • target_run_id — UUID of the specific Target Run to retrieve
Security
pipelines_SCAPIAuthToken
Path
stage_run_idstringrequired

Stage run Id

target_run_idstringrequired

Id of the Target Run

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

Responses

Get target run

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_TargetRun)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315", "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91", "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428", "command_id": "string", "command_status": "string", "command_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" } }