Radar
Usage analytics
Know exactly how your organization uses AI context. Radar provides real-time analytics on queries, sources, users, and costs—so you can measure ROI and optimize usage.
Query Analytics
See what questions are being asked, how often, and by whom. Identify knowledge gaps.
Source Usage
Track which data sources are most valuable. Measure ROI of your integrations.
User Patterns
Understand how teams use organizational context. Identify power users and adoption blockers.
Cost Attribution
Break down API costs by team, project, or use case. Enable chargebacks and budgeting.
Alerts & Anomalies
Get notified of unusual access patterns. Early warning for potential data misuse.
Executive Dashboards
High-level metrics for leadership. Prove AI adoption ROI with concrete data.
import { Metalogue } from '@metalogue/sdk';
const client = new Metalogue({ apiKey: 'mtlg_...' });
// Get usage analytics
const analytics = await client.radar.getUsage({
timeRange: 'last_30_days',
groupBy: ['team', 'source']
});
console.log(analytics);
// {
// totalQueries: 45_231,
// uniqueUsers: 142,
// topSources: [
// { source: 'slack', queries: 18_450, avgLatency: 120 },
// { source: 'notion', queries: 15_200, avgLatency: 95 },
// { source: 'github', queries: 11_581, avgLatency: 180 }
// ],
// teamBreakdown: [
// { team: 'Engineering', queries: 22_100 },
// { team: 'Product', queries: 12_800 },
// ...
// ]
// }