Audit logs
List all API logs
This endpoint retrieves all existing api logs that represent requests performed to Lago’s API.
GET
List all api logs
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Page number.
Example:
1
Number of records per page.
Example:
20
Filter api logs from a specific date.
Example:
"2022-08-09"
Filter api logs up to a specific date.
Example:
"2022-08-09"
Filter results by HTTP methods
Example:
["post", "put"]
Filter results by HTTP status or by generic request status
Example:
["failed", "succeeded", 404]
Filter results by API version
Example:
["v1"]
Filter results by the path of the request
Example:
"/billable_metrics/"
Response
200
application/json
List of api logs
The response is of type object
.
List all api logs