---
title: "获取实时QPS数据"
method: GET
path: "/api/v1/stats/realtime-qps"
tags: ["统计信息"]
---

# 获取实时QPS数据

`GET /api/v1/stats/realtime-qps`

获取最近的实时QPS数据点

## Query parameters

- `limit` integer

## Response `200`

获取实时QPS数据成功

- object — 成功的API响应标准格式
  - `code` integer
  - `data` DtoRealtimeQPSResponse — 实时QPS数据响应
    - `data` DtoRealtimeQPSData[] — QPS数据点列表
      - `timestamp` string — 时间戳
      - `value` integer — QPS值
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `400` — 请求参数错误
- `401` — 未授权访问
- `500` — 服务器内部错误

---

[API](https://skmtc.net/labring/apis/ruiqi-waf-api.md) · [All operations](https://skmtc.net/labring/apis/ruiqi-waf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ruiqi-waf-api/revisions/aaacd7e06a88/schema)
