Devices
The app installs a User signs in on. Tickets go to a User on their own device.
Register a device
POST /v1/devices
- MCP tool
register_devicenot destructive- Auth
- Bearer token (
bearerAuth)
Registers the caller's app install and returns its DEV ID, which the app keeps in its profile and sends as X-Celerbeam-Device. Any signed-in User. Tickets and Uplink sessions name one of the caller's own devices. id is the Device ID the app made for the install before anyone signed in, which it sent its diagnostics under: registering it links those records to the caller (ADR 0020). Registering the caller's own Device again returns it as it is, with no event. An id another User registered is 409 conflict: the app makes a new one. Without id, the Backend makes one. Records one platform-level device.registered audit event.
Request body
RegisterDeviceRequest, as application/json. Required.
Responses
| Status | Description | Body |
|---|---|---|
201 | The device. | Device |
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 |
Schemas
RegisterDeviceRequest
| Field | Type | Required | Description |
|---|---|---|---|
id | DeviceId | no | The Device ID the app made for this install before sign-in (ADR 0020). Registering it links the diagnostics sent under it to the caller. Omit it and the Backend makes one. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
gpu | DeviceGpu | no | The GPU the app found, for support. |
DeviceId
Device ID.
Type: string. Exactly 18 characters. Pattern ^DEV[a-z0-9]{15}$. Example: DEV8hfaw8hfpwhjf94.
DevicePlatform
The operating system family.
Type: string. One of linux, windows.
DeviceOs
The operating system and its version, as the app reports it.
Type: string. 1 to 100 characters. Examples: Ubuntu 24.04, Windows 11 23H2.
AppVersion
The app's version, as in X-Celerbeam-Client.
Type: string. Pattern ^[0-9A-Za-z][0-9A-Za-z.+-]{0,63}$. Example: 0.4.1.
DeviceGpu
The GPU the app found, for support.
Type: string. 1 to 200 characters. Example: Intel Arc A770.
Device
| Field | Type | Required | Description |
|---|---|---|---|
id | DeviceId | yes | Device ID. |
user_id | UserId | yes | The User who registered it. Only they get tickets for it. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
gpu | DeviceGpu | null | yes | The GPU the app found, or null if it reported none. |
created_at | Timestamp | yes | UTC, with milliseconds and a Z suffix. |
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. |