调用日志查询
列出调用日志
GET /admin/v1/logs?from=...&to=...&model=...&status=...&keyId=...&cursor=...支持的过滤参数:
| 参数 | 类型 | 说明 |
|---|---|---|
from / to | ISO 8601 | 时间区间,最长 31 天 |
model | string | 精确匹配模型名 |
status | int | HTTP 状态码 |
keyId | string | 网关 Key 标识 |
cursor | string | 翻页游标 |
单条日志详情
GET /admin/v1/logs/{logId}返回字段:请求摘要(已脱敏 prompt)、token 用量、上游账号 ID、计费金额、错误信息。
详细字段表与导出 (CSV / JSON Lines) 流式接口正在整理中。
