List Eval Agent Templates
curl --request GET \
--url https://api.bland.ai/v1/evals/agent-templates \
--header 'authorization: <authorization>'{
"data": {
"object": "list",
"data": [
{
"key": "hallucination_detection",
"name": "Hallucination Detection",
"description": "Detects factual inaccuracies or fabricated information in agent responses.",
"category": "quality",
"modality": "text",
"system_prompt_md": "You are an expert evaluator assessing whether an AI agent fabricated information.",
"prompt_md": "Review the conversation and determine whether the agent stated anything that was factually incorrect or unsupported.",
"levels": [
{
"level_key": "no_hallucination",
"label": "No Hallucination",
"prompt_md": "The agent made no factually incorrect or unsupported claims.",
"color": "emerald"
},
{
"level_key": "minor_hallucination",
"label": "Minor Hallucination",
"prompt_md": "The agent made one or more small inaccuracies that did not materially mislead the user.",
"color": "amber"
}
],
"target_level_keys": ["no_hallucination"]
},
{
"key": "call_resolution",
"name": "Call Resolution",
"description": "Assesses whether the agent successfully resolved the caller's issue.",
"category": "support",
"modality": "audio",
"system_prompt_md": "You are an expert evaluator assessing call resolution quality.",
"prompt_md": "Did the agent fully resolve the caller's stated issue before ending the call?",
"levels": [
{
"level_key": "resolved",
"label": "Resolved",
"prompt_md": "The caller's issue was fully addressed.",
"color": "emerald"
},
{
"level_key": "unresolved",
"label": "Unresolved",
"prompt_md": "The caller's issue was not addressed or was left open.",
"color": "rose"
}
],
"target_level_keys": ["resolved"]
}
],
"has_more": false,
"next_cursor": null
},
"errors": null
}
Templates
List Eval Agent Templates
List the read-only library of shipped eval agent templates.
GET
/
v1
/
evals
/
agent-templates
List Eval Agent Templates
curl --request GET \
--url https://api.bland.ai/v1/evals/agent-templates \
--header 'authorization: <authorization>'{
"data": {
"object": "list",
"data": [
{
"key": "hallucination_detection",
"name": "Hallucination Detection",
"description": "Detects factual inaccuracies or fabricated information in agent responses.",
"category": "quality",
"modality": "text",
"system_prompt_md": "You are an expert evaluator assessing whether an AI agent fabricated information.",
"prompt_md": "Review the conversation and determine whether the agent stated anything that was factually incorrect or unsupported.",
"levels": [
{
"level_key": "no_hallucination",
"label": "No Hallucination",
"prompt_md": "The agent made no factually incorrect or unsupported claims.",
"color": "emerald"
},
{
"level_key": "minor_hallucination",
"label": "Minor Hallucination",
"prompt_md": "The agent made one or more small inaccuracies that did not materially mislead the user.",
"color": "amber"
}
],
"target_level_keys": ["no_hallucination"]
},
{
"key": "call_resolution",
"name": "Call Resolution",
"description": "Assesses whether the agent successfully resolved the caller's issue.",
"category": "support",
"modality": "audio",
"system_prompt_md": "You are an expert evaluator assessing call resolution quality.",
"prompt_md": "Did the agent fully resolve the caller's stated issue before ending the call?",
"levels": [
{
"level_key": "resolved",
"label": "Resolved",
"prompt_md": "The caller's issue was fully addressed.",
"color": "emerald"
},
{
"level_key": "unresolved",
"label": "Unresolved",
"prompt_md": "The caller's issue was not addressed or was left open.",
"color": "rose"
}
],
"target_level_keys": ["resolved"]
}
],
"has_more": false,
"next_cursor": null
},
"errors": null
}
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Response
Always
list.Array of eval agent template objects.
Show template object
Show template object
Unique identifier key for the template, for example
hallucination_detection.Human-readable display name.
Brief description of what the template evaluates.
Template category. One of
voice, sales, support, scheduling, compliance, or quality.Evaluation modality. Either
text or audio.The system prompt used for this eval agent, in Markdown.
The evaluation prompt, in Markdown.
Ordered scoring levels for this template.
Show level object
Show level object
Array of
level_key strings that represent the passing threshold for this template.Always
false. This endpoint returns the full library in a single page.Always
null for this endpoint.{
"data": {
"object": "list",
"data": [
{
"key": "hallucination_detection",
"name": "Hallucination Detection",
"description": "Detects factual inaccuracies or fabricated information in agent responses.",
"category": "quality",
"modality": "text",
"system_prompt_md": "You are an expert evaluator assessing whether an AI agent fabricated information.",
"prompt_md": "Review the conversation and determine whether the agent stated anything that was factually incorrect or unsupported.",
"levels": [
{
"level_key": "no_hallucination",
"label": "No Hallucination",
"prompt_md": "The agent made no factually incorrect or unsupported claims.",
"color": "emerald"
},
{
"level_key": "minor_hallucination",
"label": "Minor Hallucination",
"prompt_md": "The agent made one or more small inaccuracies that did not materially mislead the user.",
"color": "amber"
}
],
"target_level_keys": ["no_hallucination"]
},
{
"key": "call_resolution",
"name": "Call Resolution",
"description": "Assesses whether the agent successfully resolved the caller's issue.",
"category": "support",
"modality": "audio",
"system_prompt_md": "You are an expert evaluator assessing call resolution quality.",
"prompt_md": "Did the agent fully resolve the caller's stated issue before ending the call?",
"levels": [
{
"level_key": "resolved",
"label": "Resolved",
"prompt_md": "The caller's issue was fully addressed.",
"color": "emerald"
},
{
"level_key": "unresolved",
"label": "Unresolved",
"prompt_md": "The caller's issue was not addressed or was left open.",
"color": "rose"
}
],
"target_level_keys": ["resolved"]
}
],
"has_more": false,
"next_cursor": null
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I