Skip to main content
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

authorization
string
required
Your API key for authentication.

Response

object
string
Always list.
data
array
Array of eval agent template objects.
has_more
boolean
Always false. This endpoint returns the full library in a single page.
next_cursor
string
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