Skip to main content

Download a job's captured stdout/stderr

GET 

/jobs/:jobId/log

Required role: viewer. An account or token with the viewer or admin role can call this operation.

Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/jobs/{jobId}/log"

Kept for 90 days. With follow true on a job that has not finished, the response stays open and carries the gzip stream of the log as it grows (each write is flushed as it arrives, so a client decompressing on the fly prints every line at once), and ends when the job reaches a terminal state, when the client disconnects, or on a read error; a clean end carries the gzip trailer. follow on a finished job is the same as omitting it.

Request​

Responses​

The job's captured output, compressed.