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

AgentKit

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