Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=CreateEvaluationJob&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{
"Name": "测试任务",
"EndpointId": "ep-20240401114848-hzfcz",
"EvaluationDatasets": [
{
"DatasetType": "AdminDataset",
"AdminEvaluationDatasetId": "aed-20240227112053-bt425",
"Method": "BuiltIn",
"EvaluationAbility": "MMLU",
"ScoringWeight": 3107
}
]
}
'Response
{
"ResponseMetadata": {
"RequestId": "202404111449574CC61570F45B511EF0",
"Action": "CreateEvaluationJob",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"Id": "ej-20240411144957-hxj6z"
}
}