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

AgentKit

复制全文
下载 pdf
Runtime
GetRuntimeInstanceLogs - 查询运行时日志
复制全文
下载 pdf
GetRuntimeInstanceLogs - 查询运行时日志
查询运行时日志。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:GetRuntimeInstanceLogs​
要执行的操作,取值:GetRuntimeInstanceLogs。​
​
Version string 必选 示例值:2025-10-30​
API的版本,取值:2025-10-30。​
​
InstanceName string 必选 示例值:1jsq6bcn-630g8l8****​
实例名称。​
​
Limit integer 可选 示例值:1000​
配置待查询日志的最新行数。​
  • 取值:0 ~ 1000。​
  • 不传入则显示最新1000行日志。​
​
RuntimeId string 必选 示例值:r-ye7agye1a8cr38iu****​
运行时ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
Logs string 示例值:2026-01-13T15:01:07.180067320+08:00 WARNING:(ast) sonic only supports go1.17~1.23, but your environment....​
日志文本信息。​
​
​
​
请求示例​
​
POST https://agentkit.cn-beijing.volcengineapi.com?Action=GetRuntimeInstanceLogs&Version=2025-10-30 HTTP/1.1​
Content-Type: application/json​
{​
"InstanceName":"1jsq6bcn-630g8l8****",​
"RuntimeId":"r-ye7agye1a8cr38iu****",​
"Limit":1000​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20260113151804CDD****",​
"Action": "GetRuntimeInstanceLogs",​
"Version": "2025-10-30",​
"Service": "agentkit",​
"Region": "cn-beijing"​
},​
"Result": {​
"Logs": "2026-01-13T15:01:07.180067320+08:00 WARNING:(ast) sonic only supports go1.17~1.23, but your environment...."​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.InstanceName​
The required parameter InstanceName is not supplied.​
参数实例名称不能为空。​
400​
MissingParameter.RuntimeId​
The required parameter RuntimeId is not supplied.​
runtime id不能为空。​
​
​
最近更新时间:2026.01.16 10:30:23
这个页面对您有帮助吗?
有用
有用
无用
无用