machines
Read job output.
Changed onA slice of the job's stdout or stderr from offset. Ask again from nextOffset until eof. Wakes a stopped machine, where the output is kept. Requires the machine:exec scope.
get/v1/machines/{id}/jobs/{job_id}/output
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Machine id
job_idstring required
Job id
Query parameters
streamstring
stdout (default) or stderr
offsetinteger
Byte offset to start at (default 0)
limitinteger
Most bytes to return (default 262144, at most 1048576)
Response
Output slice
Changes
- info
endpoint added
- info