get_event_logs
Retrieve paginated event logs for user activities like registrations, purchases, logins, and more. Filter by user, activity type, date range, or sort order.
Instructions
🟢 READ-ONLY · Event logs · GET /v2/event-logs
Get event logs
Returns a list with all event logs of the school. The list is paginated, with a limit of 50 event logs per page. To refine the list of event logs, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Filter by the page number. In case page number is higher than the maximum one, the results of last page will be returned | |
| sort | No | Sort by creation timestamp in ascending or descending order. | desc |
| user_id | No | Filter by user id or email (encoded string) | |
| activity | No | Filter by activity name. If no activity is selected all will be applied. | |
| created_after | No | Filter by event log creation after the given datetime (expected in UNIX timestamp format) | |
| created_before | No | Filter by event log creation before the given datetime (expected in UNIX timestamp format) |