machines

The job's live state: a running job's machine is asked whether it has finished. lost means the machine stopped or restarted while the job ran. Requires the machine:read scope.

get/v1/machines/{id}/jobs/{job_id}

Request

Path parameters

idstring required

Machine id

job_idstring required

Job id

Response

The job

commandstring[] required

The command as it was run (argv).

createdAtstring required
exitCodeinteger nullable

The command's exit code once exited; 143 when it was cancelled or hit its timeout.

finishedAtstring nullable
idstring required
machineIdstring required
statestring required

running, exited (see exitCode), or lost: the machine stopped or restarted while the job ran, so it never finished.

stderrBytesinteger nullable

Bytes of stderr written so far, when the machine was asked.

stdoutBytesinteger nullable

Bytes of stdout written so far, when the machine was asked.

Changes