Platform admins
Celerbeam staff, who act as an Admin in every Organisation. Only Platform admins grant and revoke it.
List the Platform admins
GET /v1/platform-admins
- MCP tool
list_platform_adminsread-only- Auth
- Bearer token (
bearerAuth)
Every Platform admin, by email, then every pending grant, by email. A pending grant is applied when its email next signs in. The Platform admin only.
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 Platform admins and pending grants. | PlatformAdminPage |
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 |
Grant Platform admin
POST /v1/platform-admins
- MCP tool
grant_platform_adminnot destructive- Auth
- Bearer token (
bearerAuth)
Makes someone a Platform admin: Admin in every Organisation, and able to grant and revoke Platform admin. A User who exists has it at once (active), from their next request. An email with no User gets a pending grant (pending), applied when it first signs in. Someone who already is one, or already has a pending grant, is a conflict. The Platform admin only. Records one platform_admin.granted audit event.
Request body
GrantPlatformAdminRequest, as application/json. Required.
Responses
| Status | Description | Body |
|---|---|---|
201 | The new Platform admin, or the pending grant. | PlatformAdmin |
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 |
409 | The change breaks a uniqueness rule or the resource's current state (conflict). | Problem |
Revoke Platform admin
DELETE /v1/platform-admins/{email}
- MCP tool
revoke_platform_admindestructive: clients ask before running it- Auth
- Bearer token (
bearerAuth)
Stops someone being a Platform admin, or withdraws a pending grant. It takes effect at their next request, whatever token they hold. Emails are compared case-insensitively. Someone who is neither is 404. The Platform admin only. Records one platform_admin.revoked audit event.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
email | path | Email | yes | The Platform admin to revoke. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The Platform admin or pending grant, as it was before it was revoked. | PlatformAdmin |
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 |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
409 | The change breaks a uniqueness rule or the resource's current state (conflict). | Problem |
Schemas
PlatformAdminPage
| Field | Type | Required | Description |
|---|---|---|---|
items | array of PlatformAdmin | 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. |
PlatformAdmin
A Platform admin, or a grant waiting for its first sign-in.
| Field | Type | Required | Description |
|---|---|---|---|
email | Email | yes | An email address. Compared case-insensitively, and returned in lower case. |
user_id | UserId | null | yes | Their User; null for a pending grant to an email with no User yet. |
status | string | yes | active: a Platform admin now. pending: granted, and applied when that email next signs in. One of active, pending. |
granted_at | Timestamp | yes | When they became a Platform admin, or when the pending grant was made. |
granted_by | UserId | string | null | yes | The Platform admin who granted it, or system for the stack's bootstrap. null when it wasn't recorded. |
granted_by_email | Email | null | yes | The email of the User in granted_by; null for system, or when there's none. |
last_signed_in_at | Timestamp | null | yes | When they last signed in, to the app or the Console. null if they never have. |
An email address. Compared case-insensitively, and returned in lower case.
Type: string (email). At most 254 characters. Example: jason@northgate.example.
UserId
User ID.
Type: string. Exactly 18 characters. Pattern ^USR[a-z0-9]{15}$. Example: USR8hfaw8hfpwhjf94.
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.
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. |
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. |
GrantPlatformAdminRequest
| Field | Type | Required | Description |
|---|---|---|---|
email | Email | yes | Who to make a Platform admin. |