/console displays real-time statistics about your projects, API keys, end users, and system status. These metrics help you monitor platform usage and growth at a glance.
(((REPLACE_THIS_WITH_IMAGE: console-dashboard-stats-overview.png: Screenshot of console dashboard showing stats cards)))
Statistics Overview
The dashboard displays four primary statistics cards:Projects Count
Shows the total number of projects you’ve created. This includes both active and inactive projects.- Icon: Folder icon
- Data Source: Fetched from
/api/v1/projectsendpoint - Updates: Real-time on every page load
- Calculation: Count of all projects owned by your developer account
API Keys Count
Displays the total number of API keys across all your projects. This helps you track credential distribution.- Icon: Key icon
- Data Source: Aggregated from project API key endpoints
- Updates: Real-time on every page load
- Calculation: Sum of API keys from all projects via
/api/v1/projects/{project_id}/api-keys
End Users Count
Shows the total number of end users who have registered through your project applications.- Icon: Users icon
- Data Source: Fetched from
/api/v1/usersendpoint - Updates: Real-time on every page load
- Calculation: Count of all users associated with your projects
Status Indicator
Displays the operational status of your account and projects.- Icon: Activity icon
- Values: “Active”, “Warning”, “Error”
- Indication: Overall health of your developer account and projects
Stats Card Components
Each statistics card follows a consistent design pattern:StatsCard component displays:
- Large numeric value (primary metric)
- Descriptive title
- Icon visual indicator
- Supporting description text
Data Fetching
Statistics are fetched using server actions on every console page load:API Endpoints
Projects Endpoint:Real-Time Updates
Statistics update on every page load. No caching is currently implemented, ensuring you always see the latest data.
- Executes server actions on every request
- No client-side caching layer
- No streaming updates or WebSocket connections
- Refresh the page to see updated statistics
- Automatic refresh intervals
- Real-time streaming updates via Server-Sent Events
- Historical trend graphs
- Time-range filtering
Understanding Your Metrics
Projects Growth
Track how many projects you’ve created over time. A growing project count indicates:- Active development of new applications
- Testing and experimentation
- Multiple product initiatives
API Keys Distribution
Monitor API key count to understand:- How many unique credentials are in circulation
- Potential security exposure surface
- Need for key rotation or consolidation
User Adoption
End user count reflects:- Registration rate through your applications
- Product adoption and growth
- Marketing campaign effectiveness
Additional Dashboard Sections
Beyond statistics cards, the console dashboard includes:Getting Started Section
Displays setup guidance for new developers. Automatically hides once you’ve:- Created your first project
- Generated an API key
- Deployed a project application
Quick Actions Section
Provides one-click access to common tasks:- Create new project
- Generate API key
- View all users
- Access documentation
Recent Activity
Recent activity feed is planned for a future release. It will show recent project updates, API key generation, and user registrations.
Design System Consistency
Statistics cards use the shared design system from the Starter Kit:- Typography: Consistent font sizes and weights
- Icons: Lucide icon library
- Colors: Tailwind utility classes with dark mode support
- Spacing: Standardized padding and margins
- Responsive: Mobile-first design that adapts to screen size
Troubleshooting
Statistics Show Zero
If all statistics show zero values:- Verify your developer key is correctly configured
- Check that you’re logged in with the correct account
- Ensure projects have been created successfully
- Review browser console for API errors
Incorrect Counts
If statistics don’t match expectations:- Refresh the page to fetch latest data
- Verify RBAC permissions are correctly configured
- Check that project associations are properly recorded
- Review backend logs for projection errors

