2min

Get real-time logs

GET
QUERY PARAMETERS
matchKeystring*
The id of the session to retrieve logs from the underlying container. Do note that this parameter is deprecated and to be replaced in favour of a new parameter with more consistent naming.
RESPONSES
200
A stream of logs has been opened that will continue to stream any logs from the underlying container until the container has been terminated.
object
streamTypenumber
The type of console log stream that the log line originates from. This number is based off the STREAM_TYPE value from Docker's stream protocol. See: https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach "STREAM_TYPE can be: 0: stdin (is written on stdout) 1: stdout 2: stderr"
linestring
The log line outputted from the underlying stream.
401
You are not authorized. Please make sure that the included bearer token is correct.
404
Could not find the associated session.
Updated 13 May 2022
Did this page help you?
Yes
No