Customers
Browse and inspect your customer data, subscriptions, and usage.Basic Usage
Command Options
Run in headless mode for scripting and automation
Page number for pagination (headless mode)
Search customers by name, email, or ID (headless mode)
Get a specific customer by ID (headless mode)
Number of customers per page (headless mode)
Output format:
text, json, csv (headless mode)Interactive Mode
The interactive interface provides:- Rich Table Display: Sortable columns with customer info, plans, and usage
- Live Search: Filter customers in real-time
- Detailed View: Press Enter to see full customer details
- Pagination: Navigate through large customer lists
- Plan Information: See active subscriptions and add-ons
Headless Mode Examples
Plans/Products
Browse and inspect your pricing plans and product configurations.Basic Usage
Command Options
Run in headless mode for scripting and automation
Page number for pagination (headless mode)
Search plans by name or ID (headless mode)
Get a specific plan by ID (headless mode)
Number of plans per page (headless mode)
Output format:
text, json, csv (headless mode)Include archived plans in the results
Interactive Features
- Plan Overview: See pricing, features, and customer counts
- Feature Breakdown: View included features and pricing rules
- Customer Analytics: See how many customers are on each plan
- Version History: Browse different versions of plans
- Archive Status: Filter between active and archived plans
Headless Examples
Features
Browse and inspect your feature definitions and configurations.Basic Usage
Command Options
Run in headless mode for scripting and automation
Page number for pagination (headless mode)
Search features by name or ID (headless mode)
Get a specific feature by ID (headless mode)
Number of features per page (headless mode)
Output format:
text, json, csv (headless mode)Include archived features in the results
Interactive Features
- Feature Types: See boolean, metered, and credit system features
- Usage Analytics: View usage patterns and limits
- Plan Usage: See which plans include each feature
- Credit Mappings: For credit system features, see cost mappings
- Dependencies: Understand feature relationships
Headless Examples
Events
Browse and analyze usage events from your application.Basic Usage
Command Options
Run in headless mode for scripting and automation
Page number for pagination
Filter events by customer ID
Filter by feature ID (comma-separated for multiple)
Number of events per page
Time range:
24h, 7d, 30d, 90dView mode:
list (individual events) or aggregate (summary stats)Bin size for aggregate mode:
hour, day, monthGroup by property in aggregate mode (e.g.,
customer_id, feature_id)Output format:
text, json, csvInteractive Mode Features
List Mode:- Event Stream: Real-time view of usage events
- Rich Details: Customer, feature, amount, timestamp
- Filtering: Live filters for customer, feature, and time range
- Search: Find specific events or patterns
- Usage Charts: Visual charts of usage patterns
- Time Series: Usage trends over time
- Grouping: Break down usage by customer, feature, or other dimensions
- Statistics: Min, max, average, total usage
Headless Examples
Aggregate Mode Examples
Aggregate mode is powerful for analytics:Data Export Workflows
Customer Analysis
Usage Analytics
Plan Performance
Automation & Scripting
Monitoring Scripts
Create monitoring dashboards with regular data exports:Data Pipeline Integration
Integrate with analytics platforms:Environment-Specific Data
Remember that data is environment-specific:Performance Tips
For large datasets:- Use
--limitto control memory usage - Export in batches using
--pageparameter - Use
--format csvfor better performance with large datasets - Filter early with
--customer,--feature, or--timeflags - Use aggregate mode for summary statistics instead of raw events

