Read a script run's result by run_id.

Returns a run's state and, per profile, whether it finished, its exit code and the tail of the script's output. Poll it until status is no longer running.

get/v1/runs/{id}

Request

  • Base URL: http://127.0.0.1:10108
  • URL: http://127.0.0.1:10108/v1/runs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Run id (uuid): the id returned when the run started, or one listed by GET /v1/runs.

Response

The run and, once each profile finishes, its outcome with the tail of the script's output.

completedAtstring date-time nullable required
errorstring nullable required
idstring uuid required
profileIdsstring[] required
profilesDoneinteger required
profilesFailedinteger required
profilesTotalinteger required
scheduleIdstring uuid nullable required
scriptIdstring uuid nullable required
source'schedule' | 'app' | 'agent' | 'null' nullable required
startedAtstring date-time required
status'running' | 'completed' | 'partial' | 'failed' | 'skipped' required

Changes

No recorded changes to this operation across all 1 revision of this API.