/internal/session/{session_id}/usage
内部端点:获取指定会话的每日使用情况统计。
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|---|---|
X-API-Key |
header |
string |
是 | 内部 API 密钥 | |||
session_id |
path |
string |
是 | 会话ID |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 使用统计 | service-core/base/dto.SimpleResponse |
| 400 | 请求参数错误 | service-core/base/dto.SimpleResponse |
| 401 | 未授权 | service-core/base/dto.SimpleResponse |
| 500 | 服务内部错误 | service-core/base/dto.SimpleResponse |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |