Documentation Index
Fetch the complete documentation index at: https://mintlify.com/useautumn/autumn/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The List Events endpoint allows you to retrieve usage events for your organization. Events represent trackable actions or usage metrics tied to specific features and customers.Use Cases
- Audit trails: Review historical usage events for compliance or debugging
- Customer analytics: Analyze individual customer behavior and feature usage
- Usage reporting: Generate detailed reports of feature consumption
- Debugging: Investigate specific events by timestamp or customer
Filtering Options
By Customer
Filter events for a specific customer using thecustomer_id parameter:
By Feature
Filter events for one or more features using thefeature_id parameter:
Single Feature
Multiple Features
By Time Range
Filter events within a custom date range using thecustom_range parameter with epoch milliseconds:
Combined Filters
You can combine multiple filters for precise queries:Pagination
The endpoint supports offset-based pagination:- limit: Number of events to return (default: 100)
- offset: Number of events to skip (default: 0)
- has_more: Boolean indicating if more events are available
- total: Total count of events matching the filters
Example: Paginating Through Results
Response Structure
Each event in the response includes:- id: Unique event identifier (KSUID format)
- timestamp: When the event occurred (epoch milliseconds)
- feature_id: The feature this event belongs to
- customer_id: The customer who triggered the event
- value: Numeric value or count for the event
- properties: Additional event metadata (JSONB object)
Example Response
Common Queries
Get Recent Events for a Customer
Get All Events for a Feature This Month
Get Events with Properties
properties can include custom metadata like:
Best Practices
Use Pagination
Always paginate when retrieving large event sets to avoid timeouts and reduce memory usage.
Filter by Time Range
Use
custom_range to limit results to relevant time periods, improving query performance.Combine Filters
Combine
customer_id, feature_id, and custom_range for precise queries.Monitor Total Count
Use the
total field to understand the full dataset size before paginating.