删除评测用例兼容接口
curl --request DELETE \
--url http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}import requests
url = "http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));null{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}兼容接口
删除评测用例兼容接口
与删除评测用例的连字符路径行为一致
仅在启用开发界面的服务中可用,例如 veadk web 或 adk api_server --with_ui;默认 adk api_server 不提供此接口
DELETE
/
dev
/
apps
/
{app_name}
/
eval_sets
/
{eval_set_id}
/
evals
/
{eval_case_id}
删除评测用例兼容接口
curl --request DELETE \
--url http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}import requests
url = "http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('http://localhost:8000/dev/apps/{app_name}/eval_sets/{eval_set_id}/evals/{eval_case_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));null{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}最后修改于 2026年9月19日