Versions
Get Eval Agent Version
Fetch one version of an eval agent.
GET
/
v1
/
evals
/
agents
/
{eval_agent_id}
/
versions
/
{version_id}
Get Eval Agent Version
curl --request GET \
--url https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id} \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"errors": null,
"data": {
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"org_id": "f0e1d2c3-b4a5-9678-fedc-ba9876543210",
"eval_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version_number": 2,
"name": "Empathy Check v2",
"description": "Expanded grading criteria with three verdict levels.",
"state": "archived",
"modality": "audio",
"system_prompt_md": "You are an expert call quality reviewer.",
"prompt_md": "Did the agent express empathy when the caller described their problem?",
"levels": [
{
"level_key": "excellent",
"label": "Excellent",
"prompt_md": "The agent clearly and warmly acknowledged the caller's feelings.",
"color": "emerald"
},
{
"level_key": "adequate",
"label": "Adequate",
"prompt_md": "The agent showed some empathy but could have been warmer.",
"color": "amber"
},
{
"level_key": "poor",
"label": "Poor",
"prompt_md": "The agent ignored or dismissed the caller's feelings.",
"color": "rose"
}
],
"target_level_keys": ["excellent"],
"weight": 10,
"created_from_version_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-10T12:00:00.000Z"
}
}
Headers
Path Parameters
Returns a
404 with error code EVAL_AGENT_VERSION_NOT_FOUND if the version does not exist or does not belong to the specified eval agent.Response
Verdict levels for graded mode. Empty array for pass/fail mode. Each level contains
level_key, label, prompt_md, and optionally color.{
"errors": null,
"data": {
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"org_id": "f0e1d2c3-b4a5-9678-fedc-ba9876543210",
"eval_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version_number": 2,
"name": "Empathy Check v2",
"description": "Expanded grading criteria with three verdict levels.",
"state": "archived",
"modality": "audio",
"system_prompt_md": "You are an expert call quality reviewer.",
"prompt_md": "Did the agent express empathy when the caller described their problem?",
"levels": [
{
"level_key": "excellent",
"label": "Excellent",
"prompt_md": "The agent clearly and warmly acknowledged the caller's feelings.",
"color": "emerald"
},
{
"level_key": "adequate",
"label": "Adequate",
"prompt_md": "The agent showed some empathy but could have been warmer.",
"color": "amber"
},
{
"level_key": "poor",
"label": "Poor",
"prompt_md": "The agent ignored or dismissed the caller's feelings.",
"color": "rose"
}
],
"target_level_keys": ["excellent"],
"weight": 10,
"created_from_version_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-10T12:00:00.000Z"
}
}
Was this page helpful?
⌘I
Get Eval Agent Version
curl --request GET \
--url https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id} \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"errors": null,
"data": {
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"org_id": "f0e1d2c3-b4a5-9678-fedc-ba9876543210",
"eval_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version_number": 2,
"name": "Empathy Check v2",
"description": "Expanded grading criteria with three verdict levels.",
"state": "archived",
"modality": "audio",
"system_prompt_md": "You are an expert call quality reviewer.",
"prompt_md": "Did the agent express empathy when the caller described their problem?",
"levels": [
{
"level_key": "excellent",
"label": "Excellent",
"prompt_md": "The agent clearly and warmly acknowledged the caller's feelings.",
"color": "emerald"
},
{
"level_key": "adequate",
"label": "Adequate",
"prompt_md": "The agent showed some empathy but could have been warmer.",
"color": "amber"
},
{
"level_key": "poor",
"label": "Poor",
"prompt_md": "The agent ignored or dismissed the caller's feelings.",
"color": "rose"
}
],
"target_level_keys": ["excellent"],
"weight": 10,
"created_from_version_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-10T12:00:00.000Z"
}
}