Get all metrics data and aggregations
Custom Metrics
Get All Metrics Data
Retrieve aggregated data for all custom metrics in a single request
GET
Get all metrics data and aggregations
Documentation Index
Fetch the complete documentation index at: https://docs.convocore.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Fetches aggregated analytics data for all metrics of an agent within a specified time range. This endpoint is ideal for dashboard overviews and comprehensive reporting.Bulk Analytics
Instead of making individual requests for each metric, get all metric data at once:Response Format
Returns an array with aggregated data for each metric:Time-Series Control
By default, time-series data is not included to keep responses lightweight. Enable it when needed:Setting
includeTimeSeries: true significantly increases response size. Only enable when you need individual data points for each metric.Use Cases
Dashboard Overview
Perfect for displaying all KPIs in a single dashboard view:Weekly Reports
Generate comprehensive weekly performance reports:Comparative Analysis
Compare multiple metrics side-by-side:Performance Considerations
Response Size
Response size varies based on:- Number of configured metrics
- Time range (more data points = larger response)
includeTimeSeriessetting- Complexity of categorical distributions
- 10 metrics, 24 hours, no time-series: ~5-10 KB
- 20 metrics, 7 days, no time-series: ~15-30 KB
- 20 metrics, 7 days, with time-series: ~500 KB - 2 MB
Empty Results
When no data exists for any metrics in the time range:Integration Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the agent
Query Parameters
Start timestamp (Unix timestamp in seconds)
End timestamp (Unix timestamp in seconds)
