---
title: "当前用户看板汇总"
method: GET
path: "/v1/console/dashboard/summary"
tags: ["DashboardService"]
---

# 当前用户看板汇总

`GET /v1/console/dashboard/summary`

GetSummary 获取用户仪表盘统计摘要。

## Query parameters

- `range` string

## Response `200`

OK

- DashboardV1GetSummaryReply — GetSummaryReply 获取用户仪表盘统计摘要响应。
  - `items` DashboardV1SummaryItem[] — 统计项列表
    - `bucketAt` string, date-time — 时间桶（UTC 时间戳）
    - `channel` string — 渠道名称
    - `errorCount` string — 错误次数
    - `inputTokens` string — 输入 token 数
    - `model` string — 模型名称
    - `outputTokens` string — 输出 token 数
    - `requestCount` string — 请求次数
    - `totalMicros` string — 总费用（micros CNY）
    - `userId` string — 用户 ID（管理员视图时有值，用户视图时为空）
  - `rangeHours` integer — 实际统计的时间范围（小时数）
  - `stats` DashboardV1DashboardStats — DashboardStats 仪表盘聚合统计
    - `avgLatencyMs` integer
    - `totalCostMicros` string
    - `totalRequests` string
    - `totalTokens` string
  - `timeline` DashboardV1TimelinePoint[] — 时间线数据
    - `costMicros` string
    - `requests` string
    - `timestamp` string, date-time
    - `tokens` string
  - `topModels` DashboardV1TopModel[] — 热门模型
    - `model` string
    - `percentage` number, double
    - `requests` string

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
