Skip to main content
GET
Get application logs

Authorizations

AccessKey
string
header
required

Please enter a valid personal API key.

Path Parameters

appId
string
required

Identifier of the application whose logs are read.

Query Parameters

from
string<date-time>

Lower bound of the time range. Defaults to 24 hours before to (or 24 hours ago) if omitted.

to
string<date-time>

Upper bound of the time range. Defaults to the current time if omitted.

pod
string[]

Restricts results to the given pods. Accepts comma-separated values (pod=pod-a,pod-b) or repeated parameters (pod=pod-a&pod=pod-b).

container
string[]

Restricts results to the given containers. Accepts comma-separated values (container=web,worker) or repeated parameters (container=web&container=worker).

source
string[]

Restricts results to the given log sources. Accepts comma-separated values (source=stdout,stderr) or repeated parameters (source=stdout&source=stderr).

Free-text term matched against the log message.

region
string[]

Restricts results to the given regions. Accepts comma-separated values (region=de,ny) or repeated parameters (region=de&region=ny).

sort
enum<string>

Direction applied to every ordering key. Defaults to descending, so the newest entries come first.

Available options:
ascending,
descending
orderBy
enum<string>[]

Ordered list of labels to sort by. Accepts comma-separated values (orderBy=container,region) or repeated parameters (orderBy=container&orderBy=region). Results are always ordered by timestamp last, so the sequence acts as a hierarchy above the timestamp ordering. The sort direction applies to every key.

Available options:
pod,
container,
source,
region,
regionZone
limit
integer<int32>
default:100

Maximum number of entries to return.

Required range: 1 <= x <= 1000
offset
integer<int32>
default:0

Number of entries to skip before returning results.

Required range: 0 <= x <= 2147483647

Response

Logs retrieved successfully.

Page of application log records. Pagination is offset-based via the request's offset and limit query parameters; the cursor field is unused.

items
object[]
meta
object
cursor
string | null