Get metric data and aggregations
Custom Metrics
Get Metric Data
Retrieve aggregated data and analytics for a specific metric
GET
Get metric 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 a specific metric within a time range. Returns statistical summaries and optional time-series data points.Numeric Metrics
For number-type metrics, the response includes statistical aggregations:Available Aggregations
- average: Mean value across all data points
- sum: Total sum of all values
- min: Minimum recorded value
- max: Maximum recorded value
Categorical Metrics
For boolean, enum, and string types, the response includes count distributions:Categories are automatically limited to the top 10 most frequent values. Less frequent values are grouped into “other”.
Time-Series Data
ThetimeSeries array provides individual data points with timestamps and conversation IDs:
Time Range Examples
Last 24 Hours
Last 7 Days
Current Month
Use Cases
- Dashboard Analytics: Power real-time metric dashboards
- Trend Analysis: Identify patterns over time
- Performance Reports: Generate periodic performance summaries
- Alerts: Trigger notifications based on metric thresholds
- A/B Testing: Compare metric performance across different periods
Performance Tips
No Data Response
When no data points exist for the time range:Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the agent
The key of the metric to retrieve data for
Query Parameters
Start timestamp (Unix timestamp in seconds)
End timestamp (Unix timestamp in seconds)
