Skip to main content
GET
Query

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Query Parameters

since
string<date-time>

Only entries at or after this time (RFC 3339). Defaults to one hour before until.

until
string<date-time>

Only entries at or before this time (RFC 3339). Defaults to now.

limit
integer

Maximum entries returned, 1-500. Defaults to 100.

level
enum<string>

Only entries at this level.

Available options:
info,
warn,
error,
debug

Case-insensitive literal substring to find in log messages, between 1 and 256 characters.

Required string length: 1 - 256
environment
string

Environment slug to scope this operation to. Defaults to "production". An environment that does not exist on the project answers 404. Runtime logs are isolated to the addressed environment's app. The implicit preview environment has no single runtime stream.

Pattern: ^[a-z][a-z0-9-]{0,38}$

Response

Log entries, oldest first.

entries
object[]
required
note
string

Present when there is context worth surfacing — for example the project has no runtime yet because nothing was deployed.