Analytics & Monitoring
Track your bot's performance, understand user behavior, and continuously improve response quality.
Dashboard Analytics
Access analytics from your bot's Analytics tab in the dashboard.
Overview Metrics
Total QueriescountTotal number of queries in the selected period
Average LatencymsMean response time across all queries
Success RatepercentageQueries that received successful responses
Unique UserscountDistinct users who interacted with the bot
Query Volume
Track query patterns over time:
- Daily/hourly breakdown: Identify peak usage times
- Trends: Week-over-week growth or decline
- Anomalies: Unexpected spikes or drops
Top Queries
See the most frequently asked questions. Use this to:
- Ensure content covers common questions
- Identify gaps in documentation
- Optimize responses for popular queries
- Inform content strategy
Performance Monitoring
Latency Breakdown
Understand where time is spent in each query:
Retrieval TimemsTime to search and retrieve relevant chunks
Reranking TimemsTime for Cohere reranking (if enabled)
Generation TimemsTime for LLM to generate response
Total LatencymsEnd-to-end response time
Latency Percentiles
Beyond averages, track percentiles for real user experience:
- P50 (median): Half of queries are faster than this
- P90: 90% of queries are faster
- P99: 99% of queries are faster (worst case)
Performance Targets
- P50: Under 1 second
- P90: Under 2 seconds
- P99: Under 5 seconds
Quality Metrics
Success Rate
Percentage of queries that:
- Found relevant context
- Generated a response (no errors)
- Completed within timeout
Target: Above 95%
Context Relevance
Average similarity score of retrieved chunks. Low scores may indicate:
- Content gaps in knowledge base
- Threshold set too low
- Queries outside your content scope
API Analytics
Access analytics programmatically via the Analytics API:
GET /api/analytics/bots/{agentId}/?period=week
Response:
{
"totalQueries": 1250,
"averageLatencyMs": 890,
"successRate": 0.98,
"topQueries": [...],
"queriesPerDay": [...]
}Alerting
Set up alerts for important metrics (Enterprise feature):
- Latency alert: P90 latency exceeds threshold
- Error rate alert: Success rate drops below threshold
- Volume alert: Unusual query volume (spike or drop)
- Quota alert: Approaching monthly query limit
Continuous Improvement
Weekly Review Process
- Check top queries: Are common questions being answered well?
- Review failed queries: Why did some queries fail?
- Monitor latency trends: Is performance stable?
- Identify content gaps: What questions aren't covered?
- Update knowledge base: Add missing content
A/B Testing (Enterprise)
Test configuration changes with a subset of traffic:
- Compare different models
- Test RAG setting variations
- Evaluate system prompt changes
- Measure impact before full rollout
Exporting Data
Export analytics data for external analysis:
- CSV export: Download from dashboard
- API: Programmatic access to all metrics
- Webhooks: Real-time event streaming (Enterprise)
Privacy & Data Retention
Query logs30 daysIndividual query records with full text
Aggregate metrics1 yearAggregated statistics (counts, averages)
Conversation historyConfigurableCan be disabled or limited by retention policy
GDPR Compliance
Query logs can be anonymized or deleted on request. Contact support for data deletion requests.

