Get task logs
/v1.33
/v1.33
/v1.33
/v1.33
GET
/tasks/{id}/logs
stdout
and stderr
logs from a task.json-file
or journald
logging drivers.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1.33/tasks//logs'
Response Response Example
200 - Example 1
"string"
Request
Path Params
id
stringÂ
required
Query Params
details
stringÂ
optional
follow
stringÂ
optional
101
HTTP response with a Connection: upgrade
header, then hijack the HTTP connection to send raw output. For more information about hijacking and the stream format, see the documentation for the attach endpoint.stdout
stringÂ
optional
stdout
stderr
stringÂ
optional
stderr
since
integerÂ
optional
timestamps
stringÂ
optional
tail
stringÂ
optional
all
to output all log lines.Responses
Modified at 2022-09-10 17:56:07