Retrieve and filter events
complete
A
Aristóbulo Meneses
Description:
Allow to get a list of all events within a period so one can perform custom aggregations using that data.
Example:
GET /api/v1/events?from=X&to=Y
This would filter and return all events with timestamps between X and Y.
Use case:
- Implement a billing log to show details of the events
- Perform 1d/7d/30d custom aggregations which might include other properties from the event.
M
Mathieu Déjean
complete
Thanks to Preeti for their contribution! 🙏
👉 https://github.com/getlago/lago-api/pull/2601
👉 https://docs.getlago.com/api-reference/events/list-events
Michael Ponrajah
open
Michael Ponrajah
Merged in a post:
Add filter by customer in event log
Igor Y
For debugging it will be very usefull if we can filter events by customerId in "Developers" section.
Michael Ponrajah
Merged in a post:
Generate billing statements
A
Alex B
Ability to generate a file with the list of events included in the calculation of the invoice.
One line per event, including the name of the billable metric associated with the event, the timestamp of the event and all its properties.
This document could be attached to the corresponding invoice or sent separately.
M
Mathieu Déjean
Other possible solutions suggested by users:
- Ability to export the event list from the user interface; and
- API endpoint to retrieve the list of events as a JSON array.