---
title: "Get dashboard data"
method: GET
path: "/api/dashboard/"
tags: ["dashboard"]
---

# Get dashboard data

`GET /api/dashboard/`

Returns the general dashboard data including usage statistics and metrics

## Query parameters

- `group` string
- `channel` integer
- `type` string
- `model` string
- `start_timestamp` integer
- `end_timestamp` integer
- `timezone` string

## Response `200`

OK

- object
  - `data` ModelDashboardResponse
    - `cache_creation_tokens` integer
    - `cached_tokens` integer
    - `channels` integer[]
    - `chart_data` ModelChartData[]
      - `cache_creation_tokens` integer
      - `cached_tokens` integer
      - `exception_count` integer
      - `input_tokens` integer
      - `output_tokens` integer
      - `request_count` integer
      - `timestamp` integer
      - `total_tokens` integer
      - `used_amount` number
      - `web_search_count` integer
    - `exception_count` integer
    - `input_tokens` integer
    - `output_tokens` integer
    - `rpm` integer
    - `total_count` integer
    - `total_tokens` integer
    - `tpm` integer
    - `used_amount` number
    - `web_search_count` integer
  - `message` string
  - `success` boolean

## Changes

- **2025-05-23** `eb3d08e71881` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2025-05-23** `544096a3f194` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/dashboard/get.md)

---

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