Interlaken
API referenceComputeContainers

Container output (stdout/stderr)

GET
/api/v1/containers/{id}/logs

Requires the containers:read permission.

Streams the container's captured output from the owning hypervisor as plain text. tail bytes of the end are sent first (default 64 KiB, 0 = the whole file); with follow=1 the response stays open and new output is written as it arrives. The file is capped on the host, so a long-running container keeps its most recent output rather than filling a disk.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/containers/string/logs"
Empty