---
title: "Get dashboard data for a specific group"
method: GET
path: "/api/dashboard/{group}"
tags: ["dashboard"]
---

# Get dashboard data for a specific group

`GET /api/dashboard/{group}`

Returns dashboard data and metrics specific to the given group

## Path parameters

- `group` string, required

## Query parameters

- `token_name` string
- `model` string
- `start_timestamp` integer
- `end_timestamp` integer
- `timezone` string
- `timespan` string
- `fields` string

## Response `200`

OK

- object
  - `data` ModelGroupDashboardResponse
    - `audio_input_amount` number
    - `audio_input_tokens` integer
    - `audio_output_amount` number
    - `audio_output_tokens` integer
    - `cache_creation_amount` number
    - `cache_creation_count` integer
    - `cache_creation_tokens` integer
    - `cache_hit_count` integer
    - `cached_amount` number
    - `cached_tokens` integer
    - `channels` integer[]
    - `chart_data` ModelChartData[]
      - `audio_input_amount` number
      - `audio_input_tokens` integer
      - `audio_output_amount` number
      - `audio_output_tokens` integer
      - `cache_creation_amount` number
      - `cache_creation_count` integer
      - `cache_creation_tokens` integer
      - `cache_hit_count` integer
      - `cached_amount` number
      - `cached_tokens` integer
      - `claude_long_context` ModelSummaryDataSet
        - `audio_input_amount` number
        - `audio_input_tokens` integer
        - `audio_output_amount` number
        - `audio_output_tokens` integer
        - `cache_creation_amount` number
        - `cache_creation_count` integer
        - `cache_creation_tokens` integer
        - `cache_hit_count` integer
        - `cached_amount` number
        - `cached_tokens` integer
        - `exception_count` integer
        - `image_input_amount` number
        - `image_input_tokens` integer
        - `image_output_amount` number
        - `image_output_tokens` integer
        - `input_amount` number
        - `input_tokens` integer
        - `output_amount` number
        - `output_tokens` integer
        - `reasoning_tokens` integer
        - `request_count` integer
        - `retry_count` integer
        - `status_2xx_count` integer
        - `status_400_count` integer
        - `status_429_count` integer
        - `status_4xx_count` integer
        - `status_500_count` integer
        - `status_5xx_count` integer
        - `status_other_count` integer
        - `total_time_milliseconds` integer
        - `total_tokens` integer
        - `total_ttfb_milliseconds` integer
        - `used_amount` number
        - `video_input_amount` number
        - `video_input_tokens` integer
        - `web_search_amount` number
        - `web_search_count` integer
      - `exception_count` integer
      - `image_input_amount` number
      - `image_input_tokens` integer
      - `image_output_amount` number
      - `image_output_tokens` integer
      - `input_amount` number
      - `input_tokens` integer
      - `output_amount` number
      - `output_tokens` integer
      - `reasoning_tokens` integer
      - `request_count` integer
      - `retry_count` integer
      - `service_tier_flex` ModelSummaryDataSet
        - `audio_input_amount` number
        - `audio_input_tokens` integer
        - `audio_output_amount` number
        - `audio_output_tokens` integer
        - `cache_creation_amount` number
        - `cache_creation_count` integer
        - `cache_creation_tokens` integer
        - `cache_hit_count` integer
        - `cached_amount` number
        - `cached_tokens` integer
        - `exception_count` integer
        - `image_input_amount` number
        - `image_input_tokens` integer
        - `image_output_amount` number
        - `image_output_tokens` integer
        - `input_amount` number
        - `input_tokens` integer
        - `output_amount` number
        - `output_tokens` integer
        - `reasoning_tokens` integer
        - `request_count` integer
        - `retry_count` integer
        - `status_2xx_count` integer
        - `status_400_count` integer
        - `status_429_count` integer
        - `status_4xx_count` integer
        - `status_500_count` integer
        - `status_5xx_count` integer
        - `status_other_count` integer
        - `total_time_milliseconds` integer
        - `total_tokens` integer
        - `total_ttfb_milliseconds` integer
        - `used_amount` number
        - `video_input_amount` number
        - `video_input_tokens` integer
        - `web_search_amount` number
        - `web_search_count` integer
      - `service_tier_priority` ModelSummaryDataSet
        - `audio_input_amount` number
        - `audio_input_tokens` integer
        - `audio_output_amount` number
        - `audio_output_tokens` integer
        - `cache_creation_amount` number
        - `cache_creation_count` integer
        - `cache_creation_tokens` integer
        - `cache_hit_count` integer
        - `cached_amount` number
        - `cached_tokens` integer
        - `exception_count` integer
        - `image_input_amount` number
        - `image_input_tokens` integer
        - `image_output_amount` number
        - `image_output_tokens` integer
        - `input_amount` number
        - `input_tokens` integer
        - `output_amount` number
        - `output_tokens` integer
        - `reasoning_tokens` integer
        - `request_count` integer
        - `retry_count` integer
        - `status_2xx_count` integer
        - `status_400_count` integer
        - `status_429_count` integer
        - `status_4xx_count` integer
        - `status_500_count` integer
        - `status_5xx_count` integer
        - `status_other_count` integer
        - `total_time_milliseconds` integer
        - `total_tokens` integer
        - `total_ttfb_milliseconds` integer
        - `used_amount` number
        - `video_input_amount` number
        - `video_input_tokens` integer
        - `web_search_amount` number
        - `web_search_count` integer
      - `status_2xx_count` integer
      - `status_400_count` integer
      - `status_429_count` integer
      - `status_4xx_count` integer
      - `status_500_count` integer
      - `status_5xx_count` integer
      - `status_other_count` integer
      - `timestamp` integer
      - `total_time_milliseconds` integer
      - `total_tokens` integer
      - `total_ttfb_milliseconds` integer
      - `used_amount` number
      - `video_input_amount` number
      - `video_input_tokens` integer
      - `web_search_amount` number
      - `web_search_count` integer
    - `claude_long_context` ModelSummaryDataSet
      - `audio_input_amount` number
      - `audio_input_tokens` integer
      - `audio_output_amount` number
      - `audio_output_tokens` integer
      - `cache_creation_amount` number
      - `cache_creation_count` integer
      - `cache_creation_tokens` integer
      - `cache_hit_count` integer
      - `cached_amount` number
      - `cached_tokens` integer
      - `exception_count` integer
      - `image_input_amount` number
      - `image_input_tokens` integer
      - `image_output_amount` number
      - `image_output_tokens` integer
      - `input_amount` number
      - `input_tokens` integer
      - `output_amount` number
      - `output_tokens` integer
      - `reasoning_tokens` integer
      - `request_count` integer
      - `retry_count` integer
      - `status_2xx_count` integer
      - `status_400_count` integer
      - `status_429_count` integer
      - `status_4xx_count` integer
      - `status_500_count` integer
      - `status_5xx_count` integer
      - `status_other_count` integer
      - `total_time_milliseconds` integer
      - `total_tokens` integer
      - `total_ttfb_milliseconds` integer
      - `used_amount` number
      - `video_input_amount` number
      - `video_input_tokens` integer
      - `web_search_amount` number
      - `web_search_count` integer
    - `exception_count` integer
    - `image_input_amount` number
    - `image_input_tokens` integer
    - `image_output_amount` number
    - `image_output_tokens` integer
    - `input_amount` number
    - `input_tokens` integer
    - `max_rpm` integer
    - `max_tpm` integer
    - `models` string[]
    - `output_amount` number
    - `output_tokens` integer
    - `reasoning_tokens` integer
    - `request_count` integer
    - `retry_count` integer
    - `rpm` integer
    - `service_tier_flex` ModelSummaryDataSet
      - `audio_input_amount` number
      - `audio_input_tokens` integer
      - `audio_output_amount` number
      - `audio_output_tokens` integer
      - `cache_creation_amount` number
      - `cache_creation_count` integer
      - `cache_creation_tokens` integer
      - `cache_hit_count` integer
      - `cached_amount` number
      - `cached_tokens` integer
      - `exception_count` integer
      - `image_input_amount` number
      - `image_input_tokens` integer
      - `image_output_amount` number
      - `image_output_tokens` integer
      - `input_amount` number
      - `input_tokens` integer
      - `output_amount` number
      - `output_tokens` integer
      - `reasoning_tokens` integer
      - `request_count` integer
      - `retry_count` integer
      - `status_2xx_count` integer
      - `status_400_count` integer
      - `status_429_count` integer
      - `status_4xx_count` integer
      - `status_500_count` integer
      - `status_5xx_count` integer
      - `status_other_count` integer
      - `total_time_milliseconds` integer
      - `total_tokens` integer
      - `total_ttfb_milliseconds` integer
      - `used_amount` number
      - `video_input_amount` number
      - `video_input_tokens` integer
      - `web_search_amount` number
      - `web_search_count` integer
    - `service_tier_priority` ModelSummaryDataSet
      - `audio_input_amount` number
      - `audio_input_tokens` integer
      - `audio_output_amount` number
      - `audio_output_tokens` integer
      - `cache_creation_amount` number
      - `cache_creation_count` integer
      - `cache_creation_tokens` integer
      - `cache_hit_count` integer
      - `cached_amount` number
      - `cached_tokens` integer
      - `exception_count` integer
      - `image_input_amount` number
      - `image_input_tokens` integer
      - `image_output_amount` number
      - `image_output_tokens` integer
      - `input_amount` number
      - `input_tokens` integer
      - `output_amount` number
      - `output_tokens` integer
      - `reasoning_tokens` integer
      - `request_count` integer
      - `retry_count` integer
      - `status_2xx_count` integer
      - `status_400_count` integer
      - `status_429_count` integer
      - `status_4xx_count` integer
      - `status_500_count` integer
      - `status_5xx_count` integer
      - `status_other_count` integer
      - `total_time_milliseconds` integer
      - `total_tokens` integer
      - `total_ttfb_milliseconds` integer
      - `used_amount` number
      - `video_input_amount` number
      - `video_input_tokens` integer
      - `web_search_amount` number
      - `web_search_count` integer
    - `status_2xx_count` integer
    - `status_400_count` integer
    - `status_429_count` integer
    - `status_4xx_count` integer
    - `status_500_count` integer
    - `status_5xx_count` integer
    - `status_other_count` integer
    - `token_names` string[]
    - `total_count` integer — use Count.RequestCount instead
    - `total_time_milliseconds` integer
    - `total_tokens` integer
    - `total_ttfb_milliseconds` integer
    - `tpm` integer
    - `used_amount` number
    - `video_input_amount` number
    - `video_input_tokens` integer
    - `web_search_amount` number
    - `web_search_count` integer
  - `message` string
  - `success` boolean

## Changes

- **2026-01-06** `b90f811ac521` — 1 info
  - added the new optional `query` request parameter `fields`
- **2025-06-06** `dc8ce2631711` — 1 warning
  - deleted the `query` request parameter `type`
- **2025-05-27** `00ce1af47eeb` — 1 info
  - added the new optional `query` request parameter `timespan`
- **2025-05-23** `544096a3f194` — 2 warning, 1 info
  - deleted the `query` request parameter `fields`
  - deleted the `query` request parameter `timespan`
  - added the new optional `query` request parameter `type`

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/dashboard/:group/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/696faf563b42/schema)
