List app logs
Lists application logs. The since cursor is inclusive and returns logs ascending when present; clients should dedupe boundary entries by id.
Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.
In: header
Identifier of the site context when authenticating with a personal access token.
In: header
Path Parameters
Application key
Query Parameters
Inclusive lower time bound as float epoch or ISO8601, matching logs with t greater than or equal to since.
Exclusive upper time bound as float epoch or ISO8601, matching logs with t less than before.
Minimum severity to include.
"debug" | "info" | "warn" | "error" | "fatal" | "unknown"Text search query. Supports level:error text syntax. Text search only scans the 24 hours before the before parameter (or now); pass since to search an explicit range.
Background job name; only logs with matching background job context are returned.
Maximum number of logs to return. Values are clamped to 1 through 200.
1001 <= value <= 200Header Parameters
Site identifier
Response Body
application/json
application/json
curl -X GET "https://example.com/apps/string/logs" \ -H "X-Nimbu-Site: string"[
{
"level": "string",
"data": {},
"created_at": "2019-08-24T14:15:22Z",
"id": "string",
"time": 0,
"context": {}
}
]{
"message": "string",
"code": 0,
"errors": [
{
"resource": "string",
"field": "string",
"message": "string",
"code": "string",
"messages": [
"string"
],
"codes": [
"string"
],
"value": null
}
]
}