# Channels

An Organisation's long-lived, named feeds, e.g. "Drone 1". Each is Offline, Ready or Live.

Part of the [Celerbeam API and MCP reference](https://celerbeam.com/docs/api/index.md). HTML version: https://celerbeam.com/docs/api/channels/

## List Channels

`GET /v1/organisations/{organisation_id}/channels`

The Organisation's Channels, oldest first, by `created_at`. Anyone with a Membership in the Organisation, Viewers included, and the Platform admin.

- MCP tool: `list_channels` (read-only)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |
| `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 Channels. | `ChannelPage` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |

## Create a Channel

`POST /v1/organisations/{organisation_id}/channels`

Creates a Channel, `offline`. Admins only. The name must be unique in the Organisation, ignoring case. There is no limit on how many Channels an Organisation has. Records one `channel.created` audit event, and pushes `channel.changed`.

- MCP tool: `create_channel` (not destructive)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |

### Request body

`CreateChannelRequest`, as `application/json`. Required.

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 201 | The new Channel. | `Channel` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Get a Channel

`GET /v1/organisations/{organisation_id}/channels/{channel_id}`

One Channel. Anyone with a Membership in the Organisation, Viewers included, and the Platform admin.

- MCP tool: `get_channel` (read-only)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |
| `channel_id` | path | `ChannelId` | yes | Channel ID. |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Channel. | `Channel` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |

## Set a Channel's Note

`PUT /v1/organisations/{organisation_id}/channels/{channel_id}/note`

Sets the Channel's Note, replacing any it has. Every Viewer of the Channel sees it above the video until it is removed, whatever the Channel's state and across Broadcasts. Members, Admins and the Platform admin. Text that is blank once trimmed, over 140 characters (code points), on more than one line, or holding control or invisible formatting characters is 400 `note_invalid`. Emoji ZWJ sequences (👨‍👩‍👧, 🏳️‍🌈) are allowed: a zero-width joiner only between two emoji. So are the England, Scotland and Wales flags, and no other tag characters. Records one `channel.note_set` audit event with the text before and after, and pushes `note.set`; setting the same text again changes nothing and records nothing.

- MCP tool: `set_channel_note` (destructive: clients ask before running it)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |
| `channel_id` | path | `ChannelId` | yes | Channel ID. |

### Request body

`SetChannelNoteRequest`, as `application/json`. Required.

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Channel, with its new Note. | `Channel` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Remove a Channel's Note

`DELETE /v1/organisations/{organisation_id}/channels/{channel_id}/note`

Removes the Channel's Note, so Viewers no longer see it. Members, Admins and the Platform admin. Records one `channel.note_cleared` audit event with the text it removed, and pushes `note.cleared`; a Channel with no Note changes nothing and records nothing.

- MCP tool: `clear_channel_note` (destructive: clients ask before running it)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |
| `channel_id` | path | `ChannelId` | yes | Channel ID. |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Channel, with no Note. | `Channel` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Rename a Channel

`POST /v1/organisations/{organisation_id}/channels/{channel_id}/rename`

Gives a Channel a new name, unique in the Organisation, ignoring case. Admins only. Viewers see the new name straight away. Records one `channel.renamed` audit event with the name before and after, and pushes `channel.changed`; renaming to the same name changes nothing and records nothing.

- MCP tool: `rename_channel` (destructive: clients ask before running it)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |
| `channel_id` | path | `ChannelId` | yes | Channel ID. |

### Request body

`RenameChannelRequest`, as `application/json`. Required.

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The renamed Channel. | `Channel` (`application/json`) |
| 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` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Schemas

### OrganisationId

Organisation ID.

Type: `string`. Exactly 18 characters. Pattern `^ORG[a-z0-9]{15}$`. Example: `ORG8hfaw8hfpwhjf94`.

### ChannelPage

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | `array of Channel` | 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. |

### Channel

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `ChannelId` | yes | Channel ID. |
| `organisation_id` | `OrganisationId` | yes | Organisation ID. |
| `name` | `ChannelName` | yes | Unique within the Organisation, compared case-insensitively. Leading and trailing spaces are removed. |
| `state` | `ChannelState` | yes | `offline`: no streaming laptop is connected. `ready`: a laptop is connected and sending, but no Viewer can see it yet. `live`: a Broadcast is on air. |
| `live_broadcast` | `LiveBroadcast \| null` | yes | The Broadcast on air, or `null` unless the Channel is `live`. |
| `up_next_title` | `BroadcastTitle \| null` | yes | The title Viewers see as "Up next" while the Channel is `ready`, or `null` if none is set. |
| `uplink_session` | `ChannelUplinkSession \| null` | yes | The active Uplink session, or `null` while the Channel is `offline`. Always `null` for Viewers, who never see who is streaming. |
| `note` | `ChannelNote \| null` | yes | The Channel's Note, which every Viewer of the Channel sees above the video until a Member or Admin removes it, whatever the Channel's state. `null` if none is set. |
| `created_at` | `Timestamp` | yes | UTC, with milliseconds and a `Z` suffix. |

### ChannelId

Channel ID.

Type: `string`. Exactly 18 characters. Pattern `^CHN[a-z0-9]{15}$`. Example: `CHN8hfaw8hfpwhjf94`.

### ChannelName

Unique within the Organisation, compared case-insensitively. Leading and trailing spaces are removed.

Type: `string`. 1 to 100 characters. Example: `Drone 1`.

### ChannelState

`offline`: no streaming laptop is connected. `ready`: a laptop is connected and sending, but no Viewer can see it yet. `live`: a Broadcast is on air.

Type: `string`. One of `offline`, `ready`, `live`.

### LiveBroadcast

The Broadcast live on a Channel.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `BroadcastId` | yes | Broadcast ID. |
| `title` | `BroadcastTitle` | yes | What Viewers see it called. Leading and trailing spaces are removed. |
| `started_at` | `Timestamp` | yes | UTC, with milliseconds and a `Z` suffix. |

### BroadcastId

Broadcast ID.

Type: `string`. Exactly 18 characters. Pattern `^BRD[a-z0-9]{15}$`. Example: `BRD8hfaw8hfpwhjf94`.

### BroadcastTitle

What Viewers see it called. Leading and trailing spaces are removed.

Type: `string`. 1 to 100 characters. Example: `Kempton · Race 3 · 14:20`.

### 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`.

### ChannelUplinkSession

A Channel's active Uplink session, as Members and Admins see it.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `UplinkSessionId` | yes | Uplink session ID. |
| `started_by` | `UplinkSessionStarter` | yes | Who pressed Start. |
| `started_at` | `Timestamp` | yes | UTC, with milliseconds and a `Z` suffix. |

### UplinkSessionId

Uplink session ID.

Type: `string`. Exactly 18 characters. Pattern `^UPL[a-z0-9]{15}$`. Example: `UPL8hfaw8hfpwhjf94`.

### 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`.

### ChannelNote

A Channel's Note (GLOSSARY "Note"). A Channel has at most one.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | `NoteText` | yes | Plain text, 1–140 characters (Unicode code points) once leading and trailing spaces are removed, on one line, with no control or invisible formatting characters (e.g. zero-width spaces). Emoji are fine, including ZWJ sequences such as 👨‍👩‍👧 and 🏳️‍🌈: a zero-width joiner is allowed only between two emoji, and U+FE0F only straight after one. The England, Scotland and Wales flags are allowed as whole sequences; every other tag character is refused. Text with nothing visible in it is refused. |
| `set_at` | `Timestamp` | yes | When it was last set or edited. |
| `set_by` | `ChannelNoteSetter \| null` | yes | Who last set or edited it. Always `null` for Viewers, who never see who wrote a Note. |

### NoteText

Plain text, 1–140 characters (Unicode code points) once leading and trailing spaces are removed, on one line, with no control or invisible formatting characters (e.g. zero-width spaces). Emoji are fine, including ZWJ sequences such as 👨‍👩‍👧 and 🏳️‍🌈: a zero-width joiner is allowed only between two emoji, and U+FE0F only straight after one. The England, Scotland and Wales flags are allowed as whole sequences; every other tag character is refused. Text with nothing visible in it is refused.

Type: `string`. 1 to 140 characters. Example: `Pilot is changing the battery. Back for Race 5.`.

### ChannelNoteSetter

Who last set or edited a Note, as Members and Admins see it.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | `UserId` | yes | User ID. |
| `name` | `string` | yes | How to show them. Their email, until Users have names. Example: `sarah@northgate.example`. |

### 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. |

### 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. |

### CreateChannelRequest

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `ChannelName` | yes | Unique within the Organisation, compared case-insensitively. Leading and trailing spaces are removed. |

### SetChannelNoteRequest

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | `string` | yes | The Note, which replaces any Note the Channel has. Leading and trailing spaces are removed. What remains must be 1–140 characters, on one line, with no control or invisible formatting characters (e.g. zero-width spaces); otherwise the answer is 400 `note_invalid`. Example: `Back in 2 minutes`. |

### RenameChannelRequest

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `ChannelName` | yes | Unique within the Organisation, compared case-insensitively. Leading and trailing spaces are removed. |
