Realtime

Get realtime statistics for a project

Changed on

Returns realtime usage statistics including connection counts and subscribed tables.

get/projects/{id}/realtime/stats

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Response

Realtime statistics

RealtimeStats required

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

Example response

{
  "limits": {
    "plan": "HOBBY",
    "max_connections": 100,
    "messages_per_month": 1000000,
    "message_size_kb": 32,
    "channels_per_conn": 100
  }
}

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter id

    • breaking

      the response's body type changed from no type to object for status

    7 more changes in this revision