Skip to main content

Dashboard

The ASCEND Dashboard provides a real-time overview of your AI governance operations, displaying key metrics, recent activity, and quick actions.

Overview

The dashboard serves as your central command center for monitoring AI agent activity across your organization. All data is fetched in real-time from backend APIs with multi-tenant isolation.

Source: owkai-pilot-frontend/src/components/Dashboard.jsx

Key Metrics

The dashboard displays four primary metric cards:

MetricDescriptionUpdate Frequency
Total ActionsNumber of agent actions processedReal-time
Pending ApprovalsActions awaiting human reviewReal-time
Risk ScoreAverage risk across all actions30 seconds
Active AgentsCurrently registered and active agentsReal-time

Metric Card Features

Each metric card includes:

  • Current Value: The primary metric number
  • Trend Indicator: Shows increase (↗), decrease (↘), or stable (→)
  • Sparkline Chart: Mini trend visualization for the last 24 hours
  • Color Coding: Blue for info, green for positive, red for alerts

Activity Feed

The Recent Activities panel shows the latest governance events:

┌─────────────────────────────────────────────────────┐
│ 🔍 Recent Activities │
├─────────────────────────────────────────────────────┤
│ ⚠️ High-risk action detected │
│ 5 minutes ago • financial-advisor-001 │
├─────────────────────────────────────────────────────┤
│ ✅ Action approved │
│ 12 minutes ago • data-analyzer-002 │
├─────────────────────────────────────────────────────┤
│ 🔍 New action submitted │
│ 15 minutes ago • customer-service-agent │
└─────────────────────────────────────────────────────┘

Activity Types

IconTypeDescription
⚠️AlertHigh-risk action requiring attention
ApprovalAction was approved
🔍ActionNew action submitted for review

Quick Actions

The dashboard provides quick access to common tasks:

ActionIconDescriptionAccess
Admin Tools🛠️Access enterprise settingsAdmin only
Alerts🚨View active alertsAdmin only
Generate RuleCreate new governance ruleAdmin only
View Reports📊Access analytics and reportsAll users

Charts and Visualizations

Actions by Type

A pie chart showing the distribution of action types:

  • Database operations
  • API calls
  • File operations
  • System commands

Risk Trend

A line chart displaying risk scores over time with:

  • 24-hour view
  • 7-day view
  • 30-day view

Agent Activity

A bar chart comparing activity across registered agents.

Data Refresh

  • Auto-refresh: Every 30 seconds
  • Manual refresh: Click the refresh icon in the header
  • Real-time updates: WebSocket connection for instant alerts

API Endpoints

The dashboard fetches data from these backend endpoints:

EndpointMethodDescriptionSource
/api/analytics/trendsGETAlert trendsanalytics_routes.py:36
/api/analytics/realtime/metricsGETReal-time metricsanalytics_routes.py:209
/api/agent-activityGETRecent actionsagent_routes.py
/api/analytics/executive/dashboardGETExecutive metricsanalytics_routes.py:541

Best Practices

  1. Check daily: Review the dashboard at the start of each day
  2. Monitor trends: Watch for sudden spikes in risk scores
  3. Act on alerts: Address high-priority alerts promptly
  4. Review pending: Clear pending approvals queue regularly

Troubleshooting

Dashboard shows "Loading..."

Cause: API connection issue or authentication expired

Solution:

  1. Check your network connection
  2. Refresh the page
  3. Log out and log back in if the issue persists

Metrics show "N/A"

Cause: No data available for the selected time period

Solution:

  1. Verify agents are registered and active
  2. Check if actions have been submitted
  3. Ensure your organization has activity data

Source: Dashboard.jsx, analytics_routes.py