Metrics
Getting Metrics
Learn how to retrieve a specific metric for your agents
Get Metric API
Retrieve details for a specific metric by its ID.
API Endpoint
Method | Endpoint |
---|---|
GET | https://new-prod.vocera.ai/test_framework/v1/metrics-external/:metric_id/ |
URL Parameters
Parameter | Type | Required | Description |
---|---|---|---|
metric_id | string | Yes | The ID of metric to retrieve |
Authentication
Include your API key in the request headers:
Header | Description |
---|---|
X-VOCERA-API-KEY | Your API key obtained from the dashboard |
Response
Response Fields
Field | Type | Description |
---|---|---|
id | integer | Unique identifier for the metric |
agent | integer | ID of the associated agent |
name | string | Name of the metric |
description | string | Description of the metric |
eval_type | string | Type of metric |
enum_values | array | List of possible enum values |
audio_enabled | boolean | Whether audio analysis is enabled |
prompt_enabled | boolean | Whether custom prompt is enabled |
prompt | string | Custom evaluation prompt template |
display_order | integer | Order for displaying the metric |
overall_score | number | Total testsets passed |
total_score | number | Reviewed in total testsets |