Skip to main content
GET
TypeScript

Autorisations

Authorization
string
header
requis

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

developer:logs:read

Paramètres de chemin

id
string
requis

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

Paramètres de requête

app_build_id
string

Only return logs from this build.

level
enum<string>

Only return console lines of this level.

Options disponibles:
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
défaut:100

Number of results to return from the start of the range.

Plage requise: x <= 500
after
string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

before
string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

Réponse

logs listed

data
object[]
requis
page_info
object
requis