API view set for managing metrics. This view set provides endpoints to create, retrieve, update, and delete metrics associated with AI agents within a specific organization.
API Key Authentication. It should be included in the header of each request.
Name of the metric
Description of what this metric evaluates
Whether this metric evaluates audio content
The evaluation prompt used for this metric
ID of the agent for agent-level metrics. Either agent or project must be provided.
ID of the project for project-level metrics. Either agent or project must be provided.
List of agent IDs to enable this project-level metric for. Only applicable when project is set.
External identifier for the assistant
Type of metric
basic - Basic (Deprecated in favor of LLM Judge)custom_prompt - Custom Prompt ( Deprecated in favor of LLM Judge)custom_code - Custom Codellm_judge - LLM Judgebasic, custom_prompt, custom_code, llm_judge Type of evaluation
binary_workflow_adherence - Binary Workflow Adherencebinary_qualitative - Binary Qualitativecontinuous_qualitative - Continuous Qualitativenumeric - Numericenum - Enumbinary_workflow_adherence, binary_qualitative, continuous_qualitative, numeric, enum Possible values for enum-type metrics
Order in which to display this metric in the UI
Custom configuration parameters for specific metrics.
For pronounciation metric, you can set words as 2-tuple (word, phonemes) list
example:
{
"words": [["hello", "hɛl.loʊ"], ["world", "wɝɚɚɚld"]]
}Name of the metric
Description of what this metric evaluates
Whether this metric evaluates audio content
The evaluation prompt used for this metric
ID of the agent for agent-level metrics. Either agent or project must be provided.
ID of the project for project-level metrics. Either agent or project must be provided.
List of agent IDs to enable this project-level metric for. Only applicable when project is set.
External identifier for the assistant
Type of metric
basic - Basic (Deprecated in favor of LLM Judge)custom_prompt - Custom Prompt ( Deprecated in favor of LLM Judge)custom_code - Custom Codellm_judge - LLM Judgebasic, custom_prompt, custom_code, llm_judge Type of evaluation
binary_workflow_adherence - Binary Workflow Adherencebinary_qualitative - Binary Qualitativecontinuous_qualitative - Continuous Qualitativenumeric - Numericenum - Enumbinary_workflow_adherence, binary_qualitative, continuous_qualitative, numeric, enum Possible values for enum-type metrics
Order in which to display this metric in the UI
Custom configuration parameters for specific metrics.
For pronounciation metric, you can set words as 2-tuple (word, phonemes) list
example:
{
"words": [["hello", "hɛl.loʊ"], ["world", "wɝɚɚɚld"]]
}