---
title: "Get realtime statistics for a project"
method: GET
path: "/projects/{id}/realtime/stats"
tags: ["Realtime"]
---

# Get realtime statistics for a project

`GET /projects/{id}/realtime/stats`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/realtime/stats`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns realtime usage statistics including connection counts and subscribed tables.

## Path parameters

- `id` string, uuid, required

## Response `200`

Realtime statistics

- RealtimeStats: Realtime usage statistics for a project
  - `num_connections` integer: Current number of active connections
  - `peak_connections` integer: Peak concurrent connections this usage period
  - `last_invoked_at` string, date-time: Most recent realtime activity timestamp across channels
  - `limits` RealtimePlanLimits: Plan-based limits for realtime features
    - `plan` string: Public plan name (HOBBY or SUPERAGENT).
    - `max_connections` integer: Maximum concurrent connections allowed
    - `messages_per_month` integer: Maximum messages per month
    - `message_size_kb` integer: Maximum message size in KB
    - `channels_per_conn` integer: Maximum channels per connection

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 3 breaking, 6 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `401`
  - added the optional property `code` to the response with the `401` status
  - …5 more
- **2026-08-27** `bb44e98aba2e`: 3 breaking, 6 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `401`
  - removed the required property `error` from the response with the `401` status
  - deleted the `path` request parameter `id`
  - …5 more
- **2026-07-27** `bb52784e098a`: 1 info
  - added the optional property `code` to the response with the `401` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/realtime/stats/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
