Operations
The relays’ health, from their heartbeats, and the versions running beside the versions available, for the Platform admin.
List relays
GET /v1/relays
- MCP tool
list_relaysread-only- Auth
- Bearer token (
bearerAuth)
Every relay the Backend is configured with, and any other that heartbeated in the last 30 days, by name, each with its health from its last heartbeat: its version, load, drops and any problems, whether it is draining, and how many active Uplink sessions and live Broadcasts run on it. A draining relay with no Uplink session left can be deleted. The Platform admin only. A relay heartbeats every 10 seconds; one with no heartbeat for 30 seconds, or none ever, is missing, and keeps what it last said. Reading it isn't audited; a refusal is, as relays.viewed.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | no | The next_cursor from the previous page. Omit it for the first page. At least 1 character. |
limit | query | integer | no | The most items to return. 1 to 100. Default 50. |
Responses
| Status | Description | Body |
|---|---|---|
200 | One page of relays. | RelayPage |
400 | The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field. | Problem |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
Get the versions table
GET /v1/versions
- MCP tool
get_versionsread-only- Auth
- Bearer token (
bearerAuth)
What runs in this environment beside what release CI last built: the Website (its own /version.json), the Backend, each relay list_relays lists, configured or still heartbeating (its last heartbeat), and the app version the update feed offers. The available versions come from the release manifest release CI publishes. The Platform admin only. A side that can't be read is null, and its row unknown. Reading it isn't audited; a refusal is, as versions.viewed.
Responses
| Status | Description | Body |
|---|---|---|
200 | The versions table. | Versions |
400 | The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field. | Problem |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
Schemas
RelayPage
| Field | Type | Required | Description |
|---|---|---|---|
items | array of Relay | yes | |
next_cursor | string | null | yes | An opaque cursor for the next page, or null on the last page. |
CursorPage
One page of a list. A list response combines this with its own items through allOf. Pass next_cursor back as cursor to get the next page; it is null on the last page.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of any | yes | |
next_cursor | string | null | yes | An opaque cursor for the next page, or null on the last page. |
Relay
A relay, and its health from its last heartbeat. Every field from the heartbeat is null until one arrives, and stays as it last was while the relay is missing.
| Field | Type | Required | Description |
|---|---|---|---|
id | RelayName | yes | A relay, by its name, until relays have RLY IDs. |
configured | boolean | yes | Whether the Backend is configured with it. One that isn’t heartbeated before it was removed, and is listed until its last heartbeat is 30 days old. |
draining | boolean | yes | Whether a relay deploy has marked it draining: it takes no new Uplink sessions, but keeps the ones on it, their Broadcasts and their Viewers, until they end. false for one the Backend isn’t configured with. |
uplink_sessions | integer | yes | How many active Uplink sessions, Ready or live, run on it now. A draining relay with none can be deleted. At least 0. |
live_broadcasts | integer | yes | How many of those sessions have a live Broadcast. At least 0. |
status | RelayStatus | yes | ok: heartbeating and able to admit. degraded: heartbeating, but it says what stops it admitting (problems). missing: no heartbeat for 30 seconds, three missed in a row, or never one. |
problems | array of RelayProblem | yes | What its last heartbeat said is wrong; empty when nothing is. |
last_heartbeat_at | Timestamp | null | yes | When its last heartbeat arrived; null if none ever has. |
booted_at | Timestamp | null | yes | When the process that sent the last heartbeat started. |
boot_id | string | null | yes | The process that sent the last heartbeat: new each time the relay starts. Pattern ^[a-z0-9-]{16,64}$. |
version | string | null | yes | The version it runs, e.g. 1.4.0. |
commit | string | null | yes | The commit it was built from. |
wire_version | integer | null | yes | The wire protocol version it speaks. |
load | RelayLoad | null | yes | How busy it was. |
drops | RelayDrops | null | yes | What it dropped. |
RelayName
A relay, by its name, until relays have RLY IDs.
Type: string. Pattern ^[a-z0-9][a-z0-9-]{0,63}$. Example: gb-lon-1.
RelayStatus
ok: heartbeating and able to admit. degraded: heartbeating, but it says what stops it admitting (problems). missing: no heartbeat for 30 seconds, three missed in a row, or never one.
Type: string. One of ok, degraded, missing.
RelayProblem
What a relay says is wrong: no_ticket_keys (it can admit no one), boot_replay_pending (the Backend hasn’t finished replaying its controls since it started, so admission is closed).
Type: string. Pattern ^[a-z][a-z0-9_]{0,63}$. Example: boot_replay_pending.
Timestamp
UTC, with milliseconds and a Z suffix.
Type: string (date-time). Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$. Example: 2026-11-28T14:27:03.412Z.
RelayLoad
How busy a relay was, as its last heartbeat said.
| Field | Type | Required | Description |
|---|---|---|---|
senders | integer | yes | Senders admitted now. At least 0. |
viewers | integer | yes | Viewers admitted now. At least 0. |
streams | integer | yes | Streams with a sender or a Viewer. At least 0. |
fragments_in_per_s | integer | yes | Media fragments in from senders, a second, over the last interval. At least 0. |
datagrams_out_per_s | integer | yes | Datagrams out to Viewers, a second, over the last interval. At least 0. |
cpu_percent | number | string | yes | CPU the relay used over the last interval, as a percentage of one core. |
RelayDrops
What a relay dropped, as its last heartbeat said.
| Field | Type | Required | Description |
|---|---|---|---|
per_s | integer | yes | Everything it dropped, a second, over the last interval. At least 0. |
total | integer | yes | Everything it dropped since it started: the sum of the rest. At least 0. |
bad_version | integer | yes | Datagrams of a wire version it doesn’t accept, since it started. At least 0. |
invalid | integer | yes | Datagrams that didn’t decode, since it started. At least 0. |
unadmitted | integer | yes | Fragments from a sender with no admission, since it started. At least 0. |
plaintext | integer | yes | Unencrypted fragments, which it never forwards, since it started. At least 0. |
late | integer | yes | Fragments that waited too long to be read, since it started. At least 0. |
send_errors | integer | yes | Datagrams a full socket buffer refused, since it started. At least 0. |
admits | integer | yes | Admit requests its admission queue had no room for, since it started. At least 0. |
Problem
An RFC 9457 problem details object, sent as application/problem+json.
| Field | Type | Required | Description |
|---|---|---|---|
type | string (uri-reference) | yes | A URI identifying the problem type. about:blank when code says enough. Example: about:blank. |
title | string | yes | A short, human-readable summary of the problem type. Example: Not found. |
status | integer | yes | The HTTP status code. 400 to 599. Example: 404. |
code | string | yes | A stable, snake_case machine code. Clients branch on this, never on title. Pattern ^[a-z][a-z0-9]*(_[a-z0-9]+)*$. Examples: not_found, invalid_id. |
detail | string | no | A human-readable explanation of this occurrence. |
instance | string (uri-reference) | no | The request path that produced the problem. |
request_id | string | yes | Links the problem to the request logs and any audit event. |
started_by | UplinkSessionStarter | no | channel_in_use only: who started the Channel's active Uplink session. |
reason | string | no | session_ended only: idle (unused past its window) or signed_out (by another session, e.g. after a password change). One of idle, signed_out. |
errors | array of ProblemFieldError | no | One entry per invalid field, for invalid_request and invalid_id. |
retry_after_seconds | integer | no | rate_limited only: how long to wait before trying again, in seconds. At least 0. |
UplinkSessionStarter
Who pressed Start.
| Field | Type | Required | Description |
|---|---|---|---|
user_id | UserId | yes | User ID. |
name | string | yes | How to show them. Their email, until Users have names. Example: mike@northgate.example. |
UserId
User ID.
Type: string. Exactly 18 characters. Pattern ^USR[a-z0-9]{15}$. Example: USR8hfaw8hfpwhjf94.
ProblemFieldError
| Field | Type | Required | Description |
|---|---|---|---|
pointer | string | no | A JSON Pointer into the request body, e.g. /first_admin_email. |
parameter | string | no | The name of the path, query or header parameter, e.g. organisation_id. |
detail | string | yes | What is wrong with the field. |
Versions
The versions table: what is deployed in this environment, and what is available.
| Field | Type | Required | Description |
|---|---|---|---|
checked_at | Timestamp | yes | When these were read. |
manifest_created_at | Timestamp | null | yes | When release CI made the release manifest; null when there is none. |
components | array of ComponentVersion | yes | The Website, the Backend, each relay by name, then the app. |
ComponentVersion
One row of the versions table.
| Field | Type | Required | Description |
|---|---|---|---|
component | string | yes | Which part of Celerbeam. Each relay has its own row. One of website, backend, relay, app. |
relay | RelayName | null | yes | The relay, on a relay’s row; null on the others. |
deployed | BuildVersion | null | yes | What runs: the Website’s and the Backend’s own report, a relay’s last heartbeat. For the app, the version the update feed offers, null until there is one. |
available | BuildVersion | null | yes | What release CI last built, from its release manifest; null when there is no manifest. |
status | VersionStatus | yes | current: what runs is what release CI last built. differs: it isn’t. unknown: one side can’t be read. missing: a relay with no heartbeat for 30 seconds. |
BuildVersion
A build of one component.
| Field | Type | Required | Description |
|---|---|---|---|
version | string | yes | The semantic version, e.g. 1.4.0, or 0.0.0-dev+<commit> before releases. 1 to 100 characters. |
commit | string | null | yes | The commit it was built from, when known. 1 to 64 characters. |
VersionStatus
current: what runs is what release CI last built. differs: it isn’t. unknown: one side can’t be read. missing: a relay with no heartbeat for 30 seconds.
Type: string. One of current, differs, unknown, missing.