---
title: "Batch get runtime metrics for api key rows"
method: POST
path: "/api/monitor/batch_group_token_metrics"
tags: ["monitor"]
---

# Batch get runtime metrics for api key rows

`POST /api/monitor/batch_group_token_metrics`

Returns runtime rpm/tpm summary metrics for explicit group and token-name pairs

## Response `200`

OK

- object
  - `data` ControllerBatchGroupTokenMetricsResponse
    - `items` ControllerBatchGroupTokenMetricsItem[]
      - `group` string
      - `rpm` integer
      - `rps` integer
      - `token_name` string
      - `tpm` integer
      - `tps` integer
  - `message` string
  - `success` boolean

## Changes

> 52 revisions in range; 50 could not be searched.

- **2025-05-23** `544096a3f194` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/monitor/batch_group_token_metrics/post.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)
