Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Path Parameters

id
string
required

The ID of the app, which will look like app_*************.

Query Parameters

app_build_id
string

Only return logs from this build.

level
enum<string>

Only return console lines of this level.

Available options:
log,
debug,
info,
warn,
error
query
string

Only return logs whose message contains this text (case-insensitive).

created_after
string<date-time>

Start of the time window as an ISO 8601 timestamp. Defaults to 7 days before created_before.

created_before
string<date-time>

End of the time window as an ISO 8601 timestamp. Defaults to now.

first
integer

The number of log lines to return (max 500).

after
string

A cursor for fetching logs after a previous page.

before
string

A cursor for fetching logs before a later page.

Response

logs listed

data
object[]
required
page_info
object
required