What is Unkey Analytics?
Unkey Analytics provides a powerful SQL interface to query your API key verification data. Instead of building your own analytics pipeline, you can leverage Unkey’s built-in data warehouse to:- Build custom dashboards for internal teams or end-users
- Power usage-based billing by querying verification counts per user/organization
- Generate reports on API usage patterns, top users, and performance metrics
- Monitor and alert on verification outcomes, rate limits, and errors
Automatic filtering: All queries are scoped to your workspace automatically. If your root key is scoped to a specific API (
api.<api_id>.read_analytics), queries are also filtered to that API’s key_space_id.How it Works
Every key verification request is automatically stored and aggregated across multiple time-series tables: You can query these tables using standard SQL to:- Aggregate verification counts by time period
- Group by keyspace, user, or outcome
- Filter by region, tags, or custom criteria
- Calculate metrics for billing or monitoring
Available Data
Every verification event contains:Use Cases
Billing Teams
Usage-based billing and credit tracking
Monitoring
API health and performance monitoring
Product Teams
User behavior and engagement insights