创建评估任务
上传模型答案文件并创建新的评估任务
Query Parameters
max_concurrent_tasks?Max Concurrent Tasks
Default
8simplify_time_limit?Simplify Time Limit
Default
30equals_time_limit?Equals Time Limit
Default
15fileFile
包含模型答案的JSON文件 (最大10MB)
Format
binaryResponse Body
curl -X POST "https://evaluate.phybench.cn/tasks?max_concurrent_tasks=8&simplify_time_limit=30&equals_time_limit=15" \ -F file="string"{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.example",
"created_at": "2024-01-01T12:00:00Z",
"status": "PENDING",
"task_id": "task_12345abcde"
}{
"task_id": "task_12345abcde",
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGci...",
"status": "PENDING",
"created_at": "2024-01-01T12:00:00Z"
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}