Channels API
Register, update, and delete channels.
POST /channels
| Field | Type | Required |
|---|---|---|
name | string | Yes |
type | string | Yes |
subtype | string | No |
tone | object | Yes |
provider | string | Yes |
provider_config | object | No |
limits | object | No |
sensor_capabilities | string[] | No |
semantics | object | No |
casting_config | object | No |
type: direct, ambient, social, proxy, environmental, signal
tone: { register, voice, awareness, deniability }
// 201
{
"channel": { "id": "uuid", "name": "sms-main" }
}GET /channels
| Param | Type |
|---|---|
type | string |
// 200
{
"channels": []
}GET /channels/:id
// 200
{
"channel": {}
}PATCH /channels/:id
All fields except name and type updatable.
// 200
{
"channel": {}
}DELETE /channels/:id
Fails if referenced by active scenes. Returns 204.