Query audit events
GET/v2/events
Query audit events. This is the recommended V2 API.
Important Notes:
- Time range filters are REQUIRED (
occurred_atwithgte/gtandlte/ltoperators). - Maximum time range per request: 30 days.
- Default limit: 10,000 events (maximum: 50,000).
- Rate limit: 1 request per second per tenant.
- Results are ordered by
occurred_atin ascending order.
Filter Syntax: FIELD_NAME[OPERATOR]=VALUE
Operators
Note: The Mambu API V2 interprets URL encoded characters as literal strings. Customers who access the V2 API should use decoded strings directly. For example, request_payload[contains]=%22viewType%22%3A%22CLIENT%22 will return an empty string. Use request_payload[contains]="viewType":"CLIENT" instead.
| Operator | Description | Example |
|---|---|---|
eq | Equals - exact match, applies to any type of fields. | username[eq]=demo@mambu.com |
ne | Not equals, applies to any type of fields. | username[ne]=demo@mambu.com |
gt | Greater than, applies to numeric or date fields. | occurred_at[gt]=2018-05-01 |
gte | Greater than or equal, applies to numeric or date fields. | occurred_at[gte]=2018-05-01 |
lt | Less than, applies to numeric or date fields. | occurred_at[lt]=2018-05-01 |
lte | Less than or equal, applies to numeric or date fields. | occurred_at[lte]=2018-05-01 |
in | Element in list (exact match), applies to any type of fields. | username[in]=user1@mambu.com,user2@mambu.com |
contains | Operator allows searching for specific substrings or variables within a field. It supports partial matches, making it possible to find results even if the exact value isn't provided. However, this operator does not support searching for multiple elements simultaneously. | request_payload[contains]="provisionedThroughFederation" |
Pagination:
When hasMore: true in the response, use the nextStartTime value as occurred_at[gte] for the next request.
Request
Responses
- 200
- 400
- 429
- 500
Successfully retrieved events
Invalid request parameters
Rate limit exceeded (1 request per second per tenant)
Query execution failed