调用日志查询

列出调用日志

GET /admin/v1/logs?from=...&to=...&model=...&status=...&keyId=...&cursor=...

支持的过滤参数:

参数类型说明
from / toISO 8601时间区间,最长 31 天
modelstring精确匹配模型名
statusintHTTP 状态码
keyIdstring网关 Key 标识
cursorstring翻页游标

单条日志详情

GET /admin/v1/logs/{logId}

返回字段:请求摘要(已脱敏 prompt)、token 用量、上游账号 ID、计费金额、错误信息。

详细字段表与导出 (CSV / JSON Lines) 流式接口正在整理中。