Skip to main content
GET
Get app logs

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

project_id
string
required

The app's name.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$
start
integer

Start of the range, in Unix seconds. It can't be further back than your bundle plan's log retention. If omitted, the last hour is used.

end
integer

End of the range, in Unix seconds. Defaults to now. Must be after start.

direction
enum<string>
default:backward

backward returns the newest entries first, forward the oldest first.

Available options:
backward,
forward
appletId
string

Only include one instance of the app (an appletId from a previous response). Can't be combined with releaseId.

releaseId
string

Only include one release. Can't be combined with appletId.

Only return lines containing this text. At least 3 characters.

Minimum string length: 3
last_lines
boolean
default:false

Send true to get the newest lines from your whole retention period, ignoring start and direction.

Response

Log lines, grouped by instance and release.

data
object[]