- 文档首页
AgentKit
AgentKit
开发者指南
API参考
Runtime
GetRuntimeReleaseStatus - 查询运行时发布状态
Runtime
GetRuntimeReleaseStatus - 查询运行时发布状态
GetRuntimeReleaseStatus - 查询运行时发布状态
查询运行时的发布状态。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。 Action string 必选 示例值:GetRuntimeReleaseStatus
要执行的操作,取值:GetRuntimeReleaseStatus。
Version string 必选 示例值:2025-10-30
API的版本,取值:2025-10-30。
RuntimeId string 必选 示例值:r-yefj305tds75z4k3****
运行时ID。
返回参数
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。 CurrentTrafficWeight integer 示例值:60
当前发布流量百分比。表示当前正在发布版本所占的流量比例,仅当status为 inprogress/failed时返回。
ErrorCode string 示例值:function_start_failed
发布失败时的错误码:
- function_start_failed:函数启动失败
- function_start_timeout:函数启动超时
- function_health_check_failed:函数健康检查失败
- system_internal_error:系统内部错误
FailedInstanceLogs string 示例值:https://xx.tos-s3-cn.volces.com/release_failed_instance_logs/******
发布失败的实例日志下载链接。
NewVersionNumber integer 示例值:4
发布的目标版本号。
OldVersionNumber integer 示例值:3
发布的历史版本号。
说明
在status为pending时不返回,为inprogress/failed/done时均返回。
ReleaseRecordId string 示例值:5oivgbdpp4ji****
发布记录ID。
RuntimeId string 示例值:r-ye7agye1a8cr38iu****
运行时ID。
StableVersionNumber integer 示例值:2
当前线上稳定运行的版本号。初次发布成功后生成, 初次发布前 (status=pending) StableVersionNumber为 -1。
StartTime string 示例值:2026-02-10 07:05:12
当前发布开始时间。
说明
在status为pending时不返回,为inprogress/failed/done时均返回。
Status string 示例值:done
运行时发布状态:
StatusMessage string 示例值:Runtime release finished successfully
运行时发布状态详细信息。
TargetTrafficWeight integer 示例值:60
目标发布流量百分比。
请求示例
返回示例
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
最近更新时间:2026.07.21 20:57:35