This API is used to list all the metrics associated with an agent or a project or both.
Filtering behavior:
API Key Authentication. It should be included in the header of each request.
Filter by agent ID
Example: 123
Filter by project ID
Example: 456
Filter by assistant ID
Example: asst_1234567890
Include Overall and Total scores in Metric List
Example: true or false
Name of the metric.
Example: "Customer Satisfaction" or "Appointment Booking"
255Description of what the metric measures.
Example: "Measures how satisfied customers are with the service provided"
Predefined function name
Example: "get_latency" or "check_critical_deviations"
255basic - Basiccustom_prompt - Custom Promptcustom_code - Custom Codebasic, custom_prompt, custom_code binary_workflow_adherence - Binary Workflow Adherencebinary_qualitative - Binary Qualitativecontinuous_qualitative - Continuous Qualitativenumeric - Numericenum - Enumbinary_workflow_adherence, binary_qualitative, continuous_qualitative, numeric, enum List of possible enum values for enum type metrics.
Example: ["satisfied", "unsatisfied"]
Whether this metric requires audio analysis.
Example: true or false
Enable this metric for observability.
Example: true or false
Enable this metric for simulations.
Example: true or false
Evaluation prompt for the metric.
Example: "Evaluate customer satisfaction based on conversation"
Display order for the metric.
Example: 1
-2147483648 <= x <= 2147483647always - Alwaysautomatic - Automaticcustom - Customalways, automatic, custom Evaluation trigger prompt for the metric.
Example: "Evaluate metric only if call ended reason is main-agent-ended-call"
Priority assignment prompt for the metric.
Vocera defined metric code for the metric.
Example: "7fd534f5"
255Custom configuration parameters for specific metrics if metric supports it. Example:
{
"infra_issues_timeout": 10
}List of knowledge base file IDs for the metric.
Example: [123, 456]
Metric Cost
Example: 0.10
disabled - Alerts Disablednormal - Normal Alertssignificant_change - Significant Change Alertsdisabled, normal, significant_change Alert status: enabled or disabled.
enabled - Enableddisabled - Disabledenabled, disabled Alert direction: increase only, decrease only, or both (empty = both).
Example: "increase", "decrease", or "both"
increase - Increase Onlydecrease - Decrease Only, increase, decrease