Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=CreateEndpointRolling&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 '{
"EndpointId": "ep-20260507230659-skvgn",
"ModelReference": {
"CustomModelId": "",
"FoundationModel": {
"Name": "doubao-seed-2-0-pro",
"ModelVersion": "260328"
}
},
"Description": "灰度升级至新版本,观察效果与稳定性",
"TargetRouter": {
"Strategy": "Balanced",
"Mode": "Automatic",
"CandidateModels": []
}
}
'Response
{
"ResponseMetadata": {
"RequestId": "20240514212755F607182F05EF08192A",
"Action": "CreateEndpointRolling",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"Id": "rolling-20240514212750-abc12"
}
}