You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
管理推理接入点(Endpoint)
创建推理接入点滚动升级任务
复制全文
下载 pdf
创建推理接入点滚动升级任务
POST https://ark.cn-beijing.volcengineapi.com/?Action=CreateEndpointRolling&Version=2024-01-01​
为指定推理接入点创建模型版本的滚动更新任务,支持灰度切换底层模型而不中断服务。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。​
​​
请求参数​
Body 参数​
EndpointId string 必选 | 接入点 ID​
​
ModelReference object 必选 | 目标模型配置​
​
Description string | 滚动更新描述​
​
TargetRouter object | 目标路由配置​
​
​
响应参数​
Id string | 滚动更新任务 ID​
​
​

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"
    }
}
最近更新时间:2026.09.04 20:24:13
这个页面对您有帮助吗?
有用
有用
无用
无用