Create a new custom metric
Custom Metrics
Create Custom Metric
Create a new custom metric for tracking agent-specific data
POST
Create a new custom metric
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
Creates a new custom metric that can be tracked during agent conversations. Metrics enable you to measure and analyze specific data points relevant to your business.Metric Types
Number
For quantifiable metrics like ratings, counts, or durations.Boolean
For yes/no questions or binary states.Enum
For predefined categorical options.String
For open-ended text responses.Key Guidelines
- Metric keys must be unique per agent
- Keys should be descriptive (e.g.,
customer_satisfactionnotcs) - Keys are case-sensitive
- Maximum key length: 100 characters
Common Use Cases
- NPS Score: Track Net Promoter Score
- Resolution Time: Measure average time to resolve issues
- Sentiment Analysis: Categorize conversation sentiment
- Lead Quality: Score lead quality (1-5)
- Product Interest: Track which products customers ask about
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the agent
Body
application/json
