Update an evaluation case
curl --request PUT \
--url http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id} \
--header 'Content-Type: application/json' \
--data '
{
"evalId": "case-001"
}
'import requests
url = "http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}"
payload = { "evalId": "case-001" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({evalId: 'case-001'})
};
fetch('http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));null{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Evaluation · development server
Update an evaluation case
Replace the case; evalId in the body must not conflict with the path ID; success returns JSON null
Available only with the development UI enabled, such as veadk web or adk api_server --with_ui; the default adk api_server does not expose this endpoint
PUT
/
dev
/
apps
/
{app_name}
/
eval-sets
/
{eval_set_id}
/
eval-cases
/
{eval_case_id}
Update an evaluation case
curl --request PUT \
--url http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id} \
--header 'Content-Type: application/json' \
--data '
{
"evalId": "case-001"
}
'import requests
url = "http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}"
payload = { "evalId": "case-001" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({evalId: 'case-001'})
};
fetch('http://localhost:8000/dev/apps/{app_name}/eval-sets/{eval_set_id}/eval-cases/{eval_case_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));null{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}This operation replaces an existing evaluation case; it is not a partial update. Retrieve and preserve any content you need before submitting the complete replacement
evalId must match the path eval_case_id. Conflicting IDs return 400, a missing target returns 404, and success returns JSON nullPath Parameters
Body
application/json
Response
Successful response
Last modified on September 19, 2026