- 文档首页
AgentKit
AgentKit
开发者指南
API参考
Runtime
GetRuntimeInstanceLogs - 查询运行时日志
Runtime
GetRuntimeInstanceLogs - 查询运行时日志
GetRuntimeInstanceLogs - 查询运行时日志
查询运行时日志。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。 Action string 必选 示例值:GetRuntimeInstanceLogs
要执行的操作,取值:GetRuntimeInstanceLogs。
Version string 必选 示例值:2025-10-30
API的版本,取值:2025-10-30。
InstanceName string 必选 示例值:1jsq6bcn-630g8l8****
实例名称。
Limit integer 可选 示例值: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****",
返回示例
"RequestId": "20260113151804CDD****",
"Action": "GetRuntimeInstanceLogs",
"Version": "2025-10-30",
"Logs": "2026-01-13T15:01:07.180067320+08:00 WARNING:(ast) sonic only supports go1.17~1.23, but your environment...."
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
最近更新时间:2026.01.16 10:30:23