You need to enable JavaScript to run this app.
文档中心
AgentKit

AgentKit

复制全文
下载 pdf
Runtime
UpdateRuntimeRelease - 更新运行时发布
复制全文
下载 pdf
UpdateRuntimeRelease - 更新运行时发布
更新运行时发布(更新发布流量占比)。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:UpdateRuntimeRelease​
要执行的操作,取值:UpdateRuntimeRelease。​
​
Version string 必选 示例值:2025-10-30​
API的版本,取值:2025-10-30。​
​
RuntimeId string 必选 示例值:r-ye7agye1a8cr38iu****​
运行时ID。​
​
TargetTrafficWeight integer 必选 示例值:100​
目标发布流量百分比。​
  • 取值范围1-100。​
  • 取值为100:全量发布。​
  • 取值小于100:灰度发布。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RuntimeId string 示例值:r-ye7agye1a8cr38iu****​
运行时ID。​
​
​
​
请求示例​
​
POST https://agentkit.cn-beijing.volcengineapi.com?Action=UpdateRuntimeRelease&Version=2025-10-30 HTTP/1.1​
Content-Type: application/json​
{​
"RuntimeId": "r-ye7agye1a8cr38iu****",​
"TargetTrafficWeight": 100​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202106111445100102252431000052****",​
"Action": "UpdateRuntimeRelease",​
"Version": "2025-10-30",​
"Service": "agentkit",​
"Region": "cn-beijing"​
},​
"Result": {​
"Id": "r-ye7agye1a8cr38iu****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.RuntimeId​
The required parameter RuntimeId is not supplied.​
runtime id不能为空。​
400​
MissingParameter.TargetTrafficWeight​
The required parameter TargetTrafficWeight is not supplied.​
参数TargetTrafficWeight不能为空。​
​
​
最近更新时间:2026.02.14 11:21:12
这个页面对您有帮助吗?
有用
有用
无用
无用