Skip to main content
GET
List api logs
API v2 is in beta. Endpoints return the X-Lago-Endpoint-Status: beta header.

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:20

Maximum number of records per page. Values outside the supported range return 400.

Required range: 1 <= x <= 100
Example:

20

after
string

Opaque next_cursor from a previous response. Returns the next page. Cannot be combined with before or include_total_count=true. Keep the same filters when paging.

Example:

"eyJ2IjoxLCJvIjp7InQiOiJ0YXhlcyIsInMiOiJjcmVhdGVkX2F0OmRlc2MsaWQ6ZGVzYyJ9LCJrIjpbIjIwMjItMDQtMjlUMDg6NTk6NTEuMDAwMDAwWiIsIjFhOTAxYTkwLTFhOTAtMWE5MC0xYTkwLTFhOTAxYTkwMWE5MCJdfQ"

before
string

Opaque prev_cursor from a previous response. Returns the previous page in the same list order. Cannot be combined with after or include_total_count=true. Keep the same filters when paging.

Example:

"eyJ2IjoxLCJvIjp7InQiOiJ0YXhlcyIsInMiOiJjcmVhdGVkX2F0OmRlc2MsaWQ6ZGVzYyJ9LCJrIjpbIjIwMjItMDQtMjlUMDg6NTk6NTEuMDAwMDAwWiIsIjFhOTAxYTkwLTFhOTAtMWE5MC0xYTkwLTFhOTAxYTkwMWE5MCJdfQ"

include_total_count
boolean
default:false

Requests the total number of matching records. Supported only on the first page, without after or before. The count can be estimated; total_count_estimated is then present and true.

Example:

true

from_date
string

Inclusive lower log-time bound as an ISO 8601 date or timestamp. A date is interpreted as midnight UTC.

Example:

"2022-04-29T08:59:51.123456Z"

to_date
string

Inclusive upper log-time bound as an ISO 8601 date or timestamp. A date is interpreted as midnight UTC.

Example:

"2022-04-29T08:59:51.123456Z"

http_methods[]
string[]

Http methods[]. Http methods.

Http methods.

http_statuses[]
(integer | enum<string>)[]

HTTP status codes or status groups. succeeded selects codes up to 399; failed selects codes above 399. Groups take precedence over numeric codes. Selecting both groups returns no matches. Http statuses.

HTTP status code.

Example:

200

request_paths[]
string[]

Request paths[]. Request paths.

Request paths.

clients[]
string[]

Clients[]. Clients.

Clients.

api_version
string

Api version.

Example:

"example"

Response

Successful response

api logs list.

api_logs
object[]
required

Records in this response.

meta
object
required