- Fetch a single event by its
event_id - List events with flexible filters and pagination
Fetch an Event by event_id
Retrieve a specific event using its unique event_id:
- Returns the event object if found.
- Returns a 404 if the event does not exist.
Example: GET an Event
Sample Request
Sample Response
List Events with Filters
Retrieve a list of events using a POST request with a JSON body. This method supports complex filters, large queries, and avoids URL length limitations.Supported Filters
You can filter events using the following fields in the POST body:customer_id: Filter by customerevent_code: Filter by metric codeevent_type:creditordebitcreated_at_from: Start of time range (RFC 3339/ISO 8601, UTC)created_at_to: End of time range (RFC 3339/ISO 8601, UTC)event_property_filters: Object of event_properties to filter by (e.g.,{ "region": "us-west-1" })
Pagination
limit: Number of events to return (default: 50, max: 100)offset: Number of events to skip (for pagination)
Example: POST Search for Events
Sample Request
Sample Response
If you do not specify a
limit, the API will return up to 50 events by default. The maximum allowed per request is 100 events.
