REST schemas
Every request and response type in the Hypercolor REST API, generated from the daemon's OpenAPI document.
Every type the REST reference links to, generated from the daemon’s OpenAPI document. Types are grouped by the resource whose operations use them. Types used by several resources sit under Shared, and the response envelope’s own types sit under Envelope.
#System
#AudioDeviceInfo
One selectable audio input source.
| Field | Type | Required |
|---|---|---|
description | string | yes |
id | string | yes |
name | string | yes |
#AudioDevicesResponse
The audio input inventory plus the configured selection.
| Field | Type | Required |
|---|---|---|
current | string | yes |
devices | array of AudioDeviceInfo | yes |
Used by GET /api/v1/system/audio-devices response.
#AuditEntry
One state-changing request, as the daemon recorded it.
Entries never carry request bodies, query strings, headers other than the user agent, or tool arguments.
| Field | Type | Required | Description |
|---|---|---|---|
forwarded_for | string or null | no | What the client claimed through X-Forwarded-For or X-Real-IP, verbatim and capped at 256 characters. Only as trustworthy as the process that sent it. |
latency_ms | number (double) | yes | Handling time in milliseconds. |
method | string | yes | HTTP method, or tools/call for MCP. |
path | string | yes | Request path without its query string, or the MCP mount path. |
remote | string | yes | The socket peer’s address, in-process for trusted in-process calls, or unknown when the transport has none. Never read from a header. |
status | integer (int32) | yes | Response status. MCP tool calls report 200 for success and the closest HTTP status for a tool error (400, 404, 409, or 500). A request dropped before its response, as when the client disconnects, reports 499. |
stores | array of string | no | Durable stores whose bytes this request changed, by inventory name. |
timestamp | string | yes | When the request finished, RFC 3339 UTC with milliseconds. |
tool | string or null | no | MCP tool name. |
transport | AuditTransport | yes | |
user_agent | string | yes | Client User-Agent, capped at 256 characters, empty when absent. |
#AuditEntryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of AuditEntry | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/system/audit response.
#AuditTransport
Transport a state-changing request arrived on.
One of http, websocket, mcp.
#DaemonStartupPhase
Coarse daemon startup phases, in the order the daemon enters them.
One of initializing, probing_gpu, resolving_identity, opening_asset_library, scanning_effects, loading_stores, registering_backends, starting_inputs, starting_render_thread, starting_services, preparing_api, unknown.
#DaemonStartupProgress
How far a starting daemon has come, reported by /health before the full API is served.
| Field | Type | Required | Description |
|---|---|---|---|
detail | string or null | no | The step inside the phase that is running right now, when startup reports one. It names the work that has not finished yet, so a startup that stops advancing points at the step it is stuck in. |
phase | DaemonStartupPhase | yes | The phase startup is currently in. |
sequence | integer (int64) | yes | Monotonic counter that advances every time startup completes a unit of work: entering a phase, or finishing a step inside one (such as compiling one compositor pipeline). A client compares successive values to tell a slow startup from a stuck one. |
#EffectHealthStatus
| Field | Type | Required |
|---|---|---|
errors_total | integer (int64) | yes |
fallbacks_applied_total | integer (int64) | yes |
gpu_pass_timings | GpuPassTimingsStatus | no |
gpu_transfers | GpuTransferStatus | no |
producer_cpu_frames_total | integer (int64) | yes |
producer_gpu_cpu_materialization_blocked_total | integer (int64) | yes |
producer_gpu_frames_total | integer (int64) | yes |
producer_gpu_readback_failures_total | integer (int64) | yes |
servo_breaker_opens_total | integer (int64) | yes |
servo_detached_destroy_failures_total | integer (int64) | yes |
servo_detached_destroys_total | integer (int64) | yes |
servo_gpu_import_adapter_mismatch_total | integer (int64) | yes |
servo_gpu_import_available_slots | integer (int64) | yes |
servo_gpu_import_available_slots_min | integer (int64) | yes |
servo_gpu_import_blit_max_ms | number (double) | yes |
servo_gpu_import_blit_total_ms | number (double) | yes |
servo_gpu_import_completed_slots | integer (int64) | yes |
servo_gpu_import_failures_total | integer (int64) | yes |
servo_gpu_import_fallback_reason | string or null | no |
servo_gpu_import_fallbacks_total | integer (int64) | yes |
servo_gpu_import_max_ms | number (double) | yes |
servo_gpu_import_oldest_pending_age_max_ms | number (double) | yes |
servo_gpu_import_pending_slots | integer (int64) | yes |
servo_gpu_import_pending_slots_max | integer (int64) | yes |
servo_gpu_import_slot_count | integer (int64) | yes |
servo_gpu_import_stale_frame_total | integer (int64) | yes |
servo_gpu_import_sync_max_ms | number (double) | yes |
servo_gpu_import_sync_total_ms | number (double) | yes |
servo_gpu_import_total_ms | number (double) | yes |
servo_gpu_import_windows_sync_mode | string or null | no |
servo_page_load_failures_total | integer (int64) | yes |
servo_page_load_wait_max_ms | number (double) | yes |
servo_page_load_wait_total_ms | number (double) | yes |
servo_page_loads_total | integer (int64) | yes |
servo_render_cached_frames_total | integer (int64) | yes |
servo_render_cpu_frames_total | integer (int64) | yes |
servo_render_display_queue_wait_max_ms | number (double) | yes |
servo_render_display_queue_wait_total_ms | number (double) | yes |
servo_render_display_requests_total | integer (int64) | yes |
servo_render_evaluate_scripts_max_ms | number (double) | yes |
servo_render_evaluate_scripts_total_ms | number (double) | yes |
servo_render_event_loop_max_ms | number (double) | yes |
servo_render_event_loop_total_ms | number (double) | yes |
servo_render_frame_max_ms | number (double) | yes |
servo_render_frame_total_ms | number (double) | yes |
servo_render_gpu_frames_total | integer (int64) | yes |
servo_render_paint_max_ms | number (double) | yes |
servo_render_paint_total_ms | number (double) | yes |
servo_render_queue_wait_max_ms | number (double) | yes |
servo_render_queue_wait_total_ms | number (double) | yes |
servo_render_readback_max_ms | number (double) | yes |
servo_render_readback_total_ms | number (double) | yes |
servo_render_requests_total | integer (int64) | yes |
servo_render_scene_queue_wait_max_ms | number (double) | yes |
servo_render_scene_queue_wait_total_ms | number (double) | yes |
servo_render_scene_requests_total | integer (int64) | yes |
servo_session_create_failures_total | integer (int64) | yes |
servo_session_create_wait_max_ms | number (double) | yes |
servo_session_create_wait_total_ms | number (double) | yes |
servo_session_creates_total | integer (int64) | yes |
servo_soft_stalls_total | integer (int64) | yes |
sparkleflinger_display_finalize_blocking_wait_max_ms | number (double) | yes |
sparkleflinger_display_finalize_blocking_wait_total_ms | number (double) | yes |
sparkleflinger_display_finalize_latches_total | integer (int64) | yes |
sparkleflinger_display_finalize_misses_total | integer (int64) | yes |
sparkleflinger_display_finalize_rgba_attempts_total | integer (int64) | yes |
sparkleflinger_display_finalize_successes_total | integer (int64) | yes |
sparkleflinger_display_finalize_surface_reallocs_total | integer (int64) | yes |
sparkleflinger_display_finalize_yuv_attempts_total | integer (int64) | yes |
sparkleflinger_gpu_source_upload_skipped_total | integer (int64) | yes |
sparkleflinger_media_texture_allocations_total | integer (int64) | yes |
sparkleflinger_media_texture_upload_bytes_total | integer (int64) | yes |
#FullFrameCopySessionStatus
| Field | Type | Required |
|---|---|---|
bytes | integer (int64) | yes |
count | integer (int64) | yes |
frames | integer (int64) | yes |
#GpuCompositorProbeStatus
| Field | Type | Required |
|---|---|---|
adapter_device_type | string | yes |
adapter_name | string | yes |
backend | string | yes |
linux_servo_gpu_import_backend_compatible | boolean | yes |
linux_servo_gpu_import_backend_reason | string or null | no |
max_storage_textures_per_shader_stage | integer (int32) | yes |
max_texture_dimension_2d | integer (int32) | yes |
servo_gpu_import_backend_compatible | boolean | yes |
servo_gpu_import_backend_reason | string or null | no |
software_adapter_reason | string or null | no |
texture_format | string | yes |
#GpuPassTimingStatus
Cumulative GPU execution time for one class of compute passes.
Pending passes are attempts minus completed, skipped, failed, and cancelled passes. No duration is fabricated for passes without a completed timestamp.
| Field | Type | Required |
|---|---|---|
attempts | integer (int64) | yes |
cancelled | integer (int64) | yes |
completed | integer (int64) | yes |
failed | integer (int64) | yes |
last_ns | integer (int64) | yes |
max_ns | integer (int64) | yes |
skipped | integer (int64) | yes |
stage | string | yes |
total_ns | integer (int64) | yes |
#GpuPassTimingsStatus
GPU timestamp coverage for SparkleFlinger’s compute passes.
Durations exclude Servo’s separate GPU context, uploads, transfer commands, and queue latency. Counters belong to the current compositor instance.
| Field | Type | Required | Description |
|---|---|---|---|
enabled | boolean | yes | |
instance_id | integer (int64) | no | Changes when the compositor is recreated; zero means no compositor. |
stages | array of GpuPassTimingStatus | yes | |
supported | boolean | yes | |
unavailable_reason | string or null | no |
#GpuTransferStatus
Successful GPU mappings consumed by CPU publications or LED decoding. Bytes count the mapped payload consumed, excluding RGBA row padding. Counters are process totals and reset when the daemon restarts.
| Field | Type | Required | Description |
|---|---|---|---|
display_readback_bytes | integer (int64) | yes | |
display_readback_count | integer (int64) | yes | |
led_readback_bytes | integer (int64) | yes | |
led_readback_count | integer (int64) | yes | Packed LED colors decoded on the CPU, four bytes per LED. |
preview_readback_bytes | integer (int64) | yes | |
preview_readback_count | integer (int64) | yes | |
sampling_canvas_readback_bytes | integer (int64) | yes | |
sampling_canvas_readback_count | integer (int64) | yes | Full RGBA canvases consumed by CPU sampling or scene/display assembly. |
#HealthChecks
| Field | Type | Required |
|---|---|---|
device_backends | string | yes |
event_bus | string | yes |
render_loop | string | yes |
#HealthResponse
| Field | Type | Required |
|---|---|---|
checks | HealthChecks | yes |
startup | DaemonStartupProgress or null | no |
status | string | yes |
uptime_seconds | integer (int64) | yes |
version | string | yes |
Used by GET /health response.
#LatencyHistogramBucketStatus
| Field | Type | Required |
|---|---|---|
bucket_index | integer (int32) | yes |
count | integer (int64) | yes |
#LatencyHistogramStatus
| Field | Type | Required |
|---|---|---|
bucket_width_us | integer (int32) | yes |
buckets | array of LatencyHistogramBucketStatus | yes |
overflow_bucket_index | integer (int32) | yes |
snapshot_frame_token | integer (int64) or null | no |
#LatencyPercentilesStatus
| Field | Type | Required |
|---|---|---|
avg_ms | number (double) | yes |
cumulative_histogram | LatencyHistogramStatus or null | no |
max_ms | number (double) | yes |
p95_ms | number (double) | yes |
p99_ms | number (double) | yes |
sample_count | integer (int64) | yes |
#LatestFrameStatus
| Field | Type | Required | Description |
|---|---|---|---|
composition_ms | number (double) | yes | |
compositor_backend | string | yes | |
coordination_overhead_ms | number (double) | yes | |
cpu_readback_skipped | boolean | yes | |
cpu_sampled_zone_count | integer (int32) | no | Scene zones whose LEDs sampled a CPU-backed zone frame on the CPU. Zero when the frame sampled no per-zone set. Absent from older daemons. |
device_output_ms | number (double) | yes | |
devices_written | integer (int32) | yes | |
effect_rendering_ms | number (double) | yes | |
event_bus_ms | number (double) | yes | |
frame_age_ms | number (double) | yes | |
frame_token | integer (int64) | yes | |
full_frame_copy_count | integer (int32) | yes | |
full_frame_copy_kb | number (double) | yes | |
gpu_readback_failed | boolean | yes | |
gpu_sample_cpu_fallback | boolean | yes | |
gpu_sample_deferred | boolean | yes | |
gpu_sample_queue_saturated | boolean | yes | |
gpu_sample_retry_hit | boolean | yes | |
gpu_sample_stale | boolean | yes | |
gpu_sample_wait_blocked | boolean | yes | |
gpu_sampled_zone_count | integer (int32) | no | Scene zones whose LEDs sample their own zone texture on the GPU; the gpu_sample_* flags say whether this frame’s sample landed. Zero when the frame sampled no per-zone set (a single-zone scene, or the CPU backend). Absent from older daemons. |
gpu_sampling_passes | integer (int32) | no | Texture passes the GPU sampler encoded for the frame’s LEDs: one per sampled zone texture, plus one when unassigned fallback outputs ride along. Zero when the sample cache answered or nothing dispatched. Absent from older daemons. |
gpu_zone_sampling | boolean | yes | |
held_zone_count | integer (int32) | no | Scene zones with no frame to sample, whose LEDs held their published colors or went black. Zero when the frame sampled no per-zone set. Absent from older daemons. |
input_sampling_ms | number (double) | yes | |
jitter_ms | number (double) | yes | |
logical_layer_count | integer (int32) | yes | |
output_brightness_bits | integer (int32) | yes | |
output_brightness_generation | integer (int64) | yes | |
output_errors | integer (int32) | yes | |
output_frame_source | string | yes | |
output_reuses_published_frame | boolean | yes | |
output_routing_signature | integer (int64) | yes | |
output_unassigned_behavior_generation | integer (int64) | yes | |
output_zone_shape_signature | integer (int64) | yes | |
preview_postprocess_ms | number (double) | yes | |
preview_surface | boolean | yes | |
producer_full_frame_copy_count | integer (int32) | yes | |
producer_full_frame_copy_kb | number (double) | yes | |
producer_full_frame_copy_reason | string or null | no | |
producer_ms | number (double) | yes | |
producer_preview_compose_ms | number (double) | yes | |
producer_render_ms | number (double) | yes | |
publication_full_frame_copy_count | integer (int32) | yes | |
publication_full_frame_copy_kb | number (double) | yes | |
publication_full_frame_copy_reason | string or null | no | |
publish_events_ms | number (double) | yes | |
publish_frame_data_ms | number (double) | yes | |
publish_preview_ms | number (double) | yes | |
publish_zone_canvas_ms | number (double) | yes | |
render_surfaces | RenderSurfaceStatus | yes | |
render_zone_count | integer (int32) | yes | |
scene_canvas_forced_surface | boolean | yes | |
spatial_sampling_ms | number (double) | yes | |
total_leds | integer (int32) | yes | |
total_ms | number (double) | yes | |
wake_late_ms | number (double) | yes | |
zone_composition_skips | integer (int32) | no | Scene zones whose layers matched their held frame, so they skipped composing this frame. Absent from older daemons. |
#MacosCapabilityOwner
One of app_sidecar, app, launchd_service, homebrew_service, broker, standalone.
#MacosDaemonHandoverPhase
One of prepared, autostarts_configured, stop_requested, outgoing_owner_stopped, awaiting_guard_release, guard_released, start_requested, requested_owner_started, commit_pending, committed, rollback_pending, rollback_autostarts_restored, rollback_stop_requested, rollback_owner_stopped, rollback_awaiting_guard_release, rollback_guard_released, rollback_start_requested, prior_owner_started, rollback_commit_pending, rolled_back.
#MacosDaemonOwnerConflictStatus
| Field | Type | Required |
|---|---|---|
active | MacosCapabilityOwner | yes |
contender | MacosCapabilityOwner | yes |
observed_at_ms | integer (int64) | yes |
#MacosDaemonOwnerRecoveryRequiredStatus
| Field | Type | Required |
|---|---|---|
phase | MacosDaemonHandoverPhase | yes |
prior_owner | MacosCapabilityOwner | yes |
requested_owner | MacosCapabilityOwner | yes |
#MacosDaemonOwnershipStatus
| Field | Type | Required |
|---|---|---|
active_owner | MacosCapabilityOwner | yes |
conflict | MacosDaemonOwnerConflictStatus or null | no |
owner_epoch | integer (int64) | yes |
recovery_required | MacosDaemonOwnerRecoveryRequiredStatus or null | no |
#OpenRgbEndpointStatus
SDK handshake result for one configured endpoint.
| Field | Type | Required |
|---|---|---|
controller_count | integer (int32) or null | no |
endpoint | string | yes |
error | string or null | no |
protocol_version | integer (int32) or null | no |
reachable | boolean | yes |
#OpenRgbInstallHint
Installation command and platform guidance suitable for display.
| Field | Type | Required |
|---|---|---|
command | string | yes |
note | string | yes |
#OpenRgbPermissionStatus
A host prerequisite and its actionable remedy.
| Field | Type | Required |
|---|---|---|
detail | string | yes |
id | string | yes |
ok | boolean | yes |
remedy | string or null | no |
#OpenRgbStatus
Host and bridge state for guided setup.
| Field | Type | Required |
|---|---|---|
binary_path | string or null | no |
binary_version | string or null | no |
bridge_config | DriverConfigEntry | yes |
compiled | boolean | yes |
coverage | array of DeviceCoverageRow | yes |
enabled | boolean | yes |
install_hints | array of OpenRgbInstallHint | yes |
output_disabled_count | integer | yes |
permission_checks | array of OpenRgbPermissionStatus | yes |
platform | string | yes |
probes | array of OpenRgbEndpointStatus | yes |
Used by GET /api/v1/system/openrgb response.
#PreviewDemandStatus
| Field | Type | Required |
|---|---|---|
any_full_resolution | boolean | yes |
any_jpeg | boolean | yes |
any_rgb | boolean | yes |
any_rgba | boolean | yes |
max_fps | integer (int32) | yes |
max_height | integer (int32) | yes |
max_width | integer (int32) | yes |
subscribers | integer (int32) | yes |
#PreviewRuntimeStatus
| Field | Type | Required |
|---|---|---|
canvas_demand | PreviewDemandStatus | yes |
canvas_frames_published | integer (int64) | yes |
canvas_receivers | integer (int32) | yes |
latest_canvas_frame_number | integer (int32) | yes |
latest_scene_canvas_frame_number | integer (int32) | yes |
latest_screen_canvas_frame_number | integer (int32) | yes |
latest_zone_preview_frame_number | integer (int32) | yes |
scene_canvas_demand | PreviewDemandStatus | yes |
scene_canvas_frames_published | integer (int64) | yes |
scene_canvas_receivers | integer (int32) | yes |
screen_canvas_demand | PreviewDemandStatus | yes |
screen_canvas_frames_published | integer (int64) | yes |
screen_canvas_receivers | integer (int32) | yes |
zone_preview_demand | PreviewDemandStatus | yes |
zone_preview_frames_published | integer (int64) | yes |
zone_preview_receivers | integer (int32) | yes |
#RenderAccelerationStatus
| Field | Type | Required |
|---|---|---|
effective_mode | string | yes |
fallback_reason | string or null | no |
gpu_probe | GpuCompositorProbeStatus or null | no |
requested_mode | string | yes |
servo_gpu_import_attempting | boolean | yes |
servo_gpu_import_mode | string | yes |
#RenderLoopStatus
| Field | Type | Required | Description |
|---|---|---|---|
actual_fps | number (double) | yes | |
capacity_fps | number (double) | yes | |
ceiling_fps | integer (int32) | yes | |
consecutive_misses | integer (int32) | yes | |
delivered_fps | number (double) | yes | |
fps_tier | string | yes | |
output_demand | RenderOutputDemandStatus | no | Whether anything consumes rendered frames, and why the loop parked when nothing does. Absent from older daemons. |
state | string | yes | |
target_fps | integer (int32) | yes | |
total_frames | integer (int64) | yes |
#RenderSurfaceStatus
| Field | Type | Required |
|---|---|---|
canvas_receivers | integer (int32) | yes |
compositor_pool_dequeued_slots | integer (int32) | yes |
compositor_pool_free_slots | integer (int32) | yes |
compositor_pool_published_slots | integer (int32) | yes |
compositor_pool_slot_count | integer (int32) | yes |
direct_pool_dequeued_slots | integer (int32) | yes |
direct_pool_free_slots | integer (int32) | yes |
direct_pool_published_slots | integer (int32) | yes |
direct_pool_slot_count | integer (int32) | yes |
preview_pool_dequeued_slots | integer (int32) | yes |
preview_pool_free_slots | integer (int32) | yes |
preview_pool_published_slots | integer (int32) | yes |
preview_pool_slot_count | integer (int32) | yes |
scene_pool_dequeued_slots | integer (int32) | yes |
scene_pool_free_slots | integer (int32) | yes |
scene_pool_published_slots | integer (int32) | yes |
scene_pool_slot_count | integer (int32) | yes |
#ScreenCaptureCapacityStatus
Installed byte fences for transactional screen publication admission.
| Field | Type | Required |
|---|---|---|
admission_enforced | boolean | yes |
analysis_height | integer (int32) or null | no |
analysis_parallel_capacity_per_second | integer (int64) or null | no |
analysis_peak_bytes | integer (int64) or null | no |
analysis_retained_bytes | integer (int64) or null | no |
analysis_serial_capacity_per_second | integer (int64) or null | no |
analysis_weighted_work_units_per_frame | integer (int64) or null | no |
analysis_weighted_work_units_per_second | integer (int64) or null | no |
analysis_width | integer (int32) or null | no |
analysis_worker_count | integer (int64) or null | no |
physical_available_bytes | integer (int64) or null | no |
physical_reserved_bytes | integer (int64) or null | no |
physical_transition_backend_capacity | integer (int64) or null | no |
physical_transition_byte_capacity | integer (int64) or null | no |
steady_publication_byte_budget | integer (int64) or null | no |
steady_total_backend_capacity | integer (int64) or null | no |
steady_total_byte_budget | integer (int64) or null | no |
transition_publication_backend_capacity | integer (int64) or null | no |
#SensorReading
A single host sensor reading.
| Field | Type | Required | Description |
|---|---|---|---|
critical | number (float) or null | no | Critical threshold, if known. |
label | string | yes | Stable sensor label. |
max | number (float) or null | no | Expected maximum value, if known. |
min | number (float) or null | no | Expected minimum value, if known. |
unit | SensorUnit | yes | Sensor unit. |
value | number (float) | yes | Current sensor value. |
#SensorUnit
Units exposed by system sensors.
One of celsius, percent, megabytes, rpm, watts, mhz.
#ServerInfo
| Field | Type | Required |
|---|---|---|
auth_required | boolean | yes |
device_count | integer | yes |
instance_id | string | yes |
instance_name | string | yes |
server_session_id | string or null | no |
version | string | yes |
#SessionPerformanceStatus
| Field | Type | Required |
|---|---|---|
full_frame_cpu_copies | FullFrameCopySessionStatus | yes |
input_stage | LatencyPercentilesStatus | yes |
#SoftwareConflict
RGB software running on the host that competes with Hypercolor for devices.
| Field | Type | Required | Description |
|---|---|---|---|
all_drivers | boolean | yes | Whether it competes with every driver, as whole-system RGB suites do. |
driver_ids | array of string | yes | Hypercolor driver ids whose devices this software holds or fights over. Empty when Self::all_drivers is set. |
id | string | yes | Stable catalog id (signalrgb, lian_li_l_connect). |
matched | array of string | yes | Process and service names that matched, as the host reported them. |
name | string | yes | Product name for display. |
remedy | string | yes | What the user should do about it. |
smbus | boolean | yes | Whether it drives SMBus lighting (motherboard, RAM, GPU). |
#SoftwareConflictsStatus
What the latest conflict scan found.
| Field | Type | Required | Description |
|---|---|---|---|
conflicts | array of SoftwareConflict | yes | Competing software that is running now, in catalog order. |
scan_failed | boolean | no | Whether the latest scan failed. conflicts then still holds the last successful scan’s result rather than claiming nothing runs. |
scanned | boolean | yes | Whether a scan has finished since the daemon started. |
supported | boolean | yes | Whether this host can list running software. When false, conflicts is always empty and proves nothing. |
Used by GET /api/v1/system/conflicts response, POST /api/v1/system/conflicts/scan response.
#SystemResource
| Field | Type | Required |
|---|---|---|
identity | ServerInfo | yes |
status | SystemStatus or null | no |
Used by GET /api/v1/system response.
#SystemSnapshot
Published system snapshot shared across render, API, and overlays.
| Field | Type | Required | Description |
|---|---|---|---|
components | array of SensorReading | yes | Raw component readings collected from the host. |
cpu_load_percent | number (float) | yes | Aggregate CPU load across all cores (0.0–100.0). |
cpu_loads | array of number (float) | yes | Per-core CPU load percentages. |
cpu_temp_celsius | number (float) or null | no | CPU package temperature, if available. |
gpu_load_percent | number (float) or null | no | GPU load percentage, if available. |
gpu_temp_celsius | number (float) or null | no | GPU temperature, if available. |
gpu_vram_used_mb | number (float) or null | no | GPU VRAM used in megabytes, if available. |
polled_at_ms | integer (int64) | yes | Unix timestamp in milliseconds when the snapshot was polled. |
ram_total_mb | number (double) | yes | RAM total in megabytes. |
ram_used_mb | number (double) | yes | RAM used in megabytes. |
ram_used_percent | number (float) | yes | RAM usage percentage (0.0–100.0). |
Used by GET /api/v1/system/sensors response.
#SystemStatus
| Field | Type | Required | Description |
|---|---|---|---|
active_effect | string or null | no | |
active_scene | string or null | no | |
active_scene_snapshot_locked | boolean | yes | |
audio_available | boolean | yes | |
cache_dir | string | yes | |
capabilities | array of string | yes | |
capture_available | boolean | yes | |
compositor_acceleration | RenderAccelerationStatus | yes | |
config_path | string | yes | |
data_dir | string | yes | |
device_count | integer | yes | |
effect_count | integer | yes | |
effect_health | EffectHealthStatus | yes | |
event_bus_subscribers | integer | yes | |
global_brightness | integer (int32) | yes | |
input | InputStatus | yes | |
latest_frame | LatestFrameStatus or null | no | |
macos_daemon_ownership | MacosDaemonOwnershipStatus or null | no | |
preview_runtime | PreviewRuntimeStatus | yes | |
render_loop | RenderLoopStatus | yes | |
render_supervision | RenderSupervisionStatus | no | Supervised render thread health. Absent from older daemons. |
running | boolean | yes | |
scene_count | integer | yes | |
screen_capture_capacity | ScreenCaptureCapacityStatus | yes | |
session_performance | SessionPerformanceStatus | yes | |
uptime_seconds | integer (int64) | yes | |
version | string | yes |
#Drivers
#DriverCapabilitySet
Capability flags exposed by a driver module.
| Field | Type | Required | Description |
|---|---|---|---|
config | boolean | yes | Exposes driver-scoped configuration. |
controls | boolean | yes | Exposes typed dynamic control surfaces. |
credentials | boolean | yes | Stores credentials or authorization material. |
discovery | boolean | yes | Discovers devices. |
output_backend | boolean | yes | Builds an output backend. |
pairing | boolean | yes | Supports pairing or authorization flows. |
presentation | boolean | yes | Provides presentation metadata. |
protocol_catalog | boolean | yes | Contributes protocols to a shared backend. |
runtime_cache | boolean | yes | Keeps runtime cache state. |
#DriverConfigResponse
Response for GET /api/v1/drivers/{id}/config.
| Field | Type | Required |
|---|---|---|
config_key | string | yes |
configurable | boolean | yes |
current | DriverConfigEntry | yes |
default | DriverConfigEntry or null | no |
driver_id | string | yes |
Used by GET /api/v1/drivers/{id}/config response.
#DriverModuleDescriptor
Stable module descriptor for native and future Wasm driver registries.
| Field | Type | Required | Description |
|---|---|---|---|
api_schema_version | integer (int32) | yes | Version of the driver-facing API schema. |
capabilities | DriverCapabilitySet | yes | Driver capabilities. |
config_version | integer (int32) | yes | Version of this driver’s config schema. |
default_enabled | boolean | yes | Whether this driver should be enabled by default. |
display_name | string | yes | Human-readable driver name. |
id | string | yes | Stable driver identifier. |
module_kind | DriverModuleKind | yes | High-level module category. |
stability | DriverStability | no | Release label of the module as a whole (Spec 89). Omitted when stable. |
transports | array of DriverTransportDescriptor | yes | Transport categories used by this driver and their platform support. |
vendor_name | string or null | no | Optional vendor or organization name. |
#DriverModuleKind
High-level module category used for driver registry introspection.
One of network, hal, bridge, host, virtual.
#DriverProtocolDescriptor
Protocol descriptor contributed by a driver module.
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | yes | Human-readable protocol or device label. |
driver_id | string | yes | Driver module that owns this protocol. |
family_id | string | yes | Stable device family identifier. |
model_id | string or null | no | Optional model identifier exposed by a driver-specific catalog. |
presentation | DriverPresentation or null | no | |
product_id | integer (int32) or null | no | USB product ID when the protocol maps to a concrete USB device. |
protocol_id | string | yes | Stable protocol implementation identifier. |
route_backend_id | string | yes | Output backend ID that should route devices using this protocol. |
stability | DriverStability | no | Release label of this protocol (Spec 89). A stable module can carry experimental protocols. Omitted when stable. |
transport | DriverTransportKind | yes | Transport category used by this protocol. |
vendor_id | integer (int32) or null | no | USB vendor ID when the protocol maps to a concrete USB device. |
#DriverStability
Release label of a driver module or of one protocol it contributes.
A label, not a gate: experimental drivers are enabled and claim devices exactly like stable ones. It records that nobody has run the code on real hardware yet. A protocol with a known safety hazard is not registered at all until it is safe. See Spec 89.
One of stable, experimental.
#DriverSummary
One registered driver module.
| Field | Type | Required |
|---|---|---|
config_key | string | yes |
control_surface_id | string or null | no |
control_surface_path | string or null | no |
descriptor | DriverModuleDescriptor | yes |
enabled | boolean | yes |
presentation | DriverPresentation | yes |
protocols | array of DriverProtocolDescriptor | no |
#DriverSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of DriverSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/drivers response.
#DriverTransportAvailability
Whether a driver transport can run on the current platform.
One of these variants, told apart by status:
status: "available": A runtime backend exists on the current platform.
status: "unsupported_platform": No runtime backend exists on the current platform.
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | yes | Human-readable operating-system name. |
#DriverTransportDescriptor
One transport category advertised by a driver module.
| Field | Type | Required | Description |
|---|---|---|---|
availability | DriverTransportAvailability | yes | Runtime availability on the current platform. |
kind | DriverTransportKind | yes | Transport category used for routing and presentation. |
#Devices
#BridgeDeviceSummary
How an out-of-process bridge (OpenRGB) reaches one device.
Filled from the bridge driver’s discovery metadata. output_enabled is the effective value: a route the daemon’s conflict guard has output-disabled reports false here with the guard’s reason, even when the bridge itself still advertises the controller as writable.
| Field | Type | Required | Description |
|---|---|---|---|
controller_index | integer (int32) or null | no | Controller index on that server. |
detector_class | string or null | no | The bridge-side detector that produced the controller. |
disabled_reason | string or null | no | Why output is disabled, when it is. |
endpoint | string or null | no | Bridge server endpoint (host:port). |
fingerprint | string or null | no | The bridge’s stable route fingerprint (bridge:openrgb:<endpoint>:serial:<SERIAL> or ...:location:<LOCATION>), the key drivers.openrgb.zone_sizes entries use. |
identity_confidence | string or null | no | How confident the bridge is that this route maps to one physical device across restarts (stable, heuristic, …). |
output_enabled | boolean | yes | Whether frames may be written through this route. |
protocol_version | integer (int32) or null | no | Negotiated bridge protocol version. |
#ComponentBinding
Binding from a controller slot to a chosen attachment template.
| Field | Type | Required | Description |
|---|---|---|---|
enabled | boolean | no | Whether the binding is active. |
instances | integer (int32) | no | Number of chained template instances bound to the slot. |
led_offset | integer (int32) | no | LED offset within the slot where the binding begins. |
name | string or null | no | Optional user-facing override for the attachment name. |
slot_id | string | yes | Slot receiving the attachment. |
template_id | string | yes | Template identifier selected for this slot. |
#ComponentBindingSummary
One resolved attachment binding, with the template it instantiates and the LED range it occupies on the controller.
| Field | Type | Required |
|---|---|---|
effective_led_count | integer (int32) | yes |
enabled | boolean | yes |
instances | integer (int32) | yes |
led_offset | integer (int32) | yes |
name | string or null | no |
slot_id | string | yes |
template_id | string | yes |
template_name | string | yes |
#ComponentSlot
One physical controller attachment point.
| Field | Type | Required | Description |
|---|---|---|---|
allow_custom | boolean | no | Whether user-authored templates may be bound here. |
allowed_templates | array of string | no | Explicit template IDs that should be offered regardless of category. |
id | string | yes | Stable slot identifier. |
led_count | integer (int32) | yes | Number of LEDs available to the slot. |
led_start | integer (int32) | yes | Inclusive LED start index on the physical controller. |
name | string | yes | User-facing port/channel name. |
suggested_categories | array of ComponentCategory | no | Template categories that make sense here. |
#ComponentSuggestedZone
Attachment-derived zone suggestion for layout import and preview flows.
| Field | Type | Required | Description |
|---|---|---|---|
category | ComponentCategory | yes | Attachment category for UI grouping and shape defaults. |
default_size | ComponentCanvasSize | yes | Suggested default layout footprint. |
instance | integer (int32) | yes | Zero-based attachment instance index within the binding. |
led_count | integer (int32) | yes | Number of LEDs consumed by this instance. |
led_mapping | array of integer (int32) or null | no | Optional spatial-order -> physical-order LED remapping. |
led_start | integer (int32) | yes | Inclusive LED start index on the physical controller. |
name | string | yes | Final user-facing zone name for this attachment instance. |
slot_id | string | yes | Source slot ID on the physical controller. |
template_id | string | yes | Bound attachment template identifier. |
template_name | string | yes | Bound attachment template display name. |
topology | LedTopology | yes | Imported topology for spatial sampling. |
#DeleteAttachmentsResponse
Response for DELETE /api/v1/devices/{id}/attachments.
deleted is false when the device had no stored profile to remove, which is a success rather than a 404.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
device_id | string | yes |
Used by DELETE /api/v1/devices/{id}/attachments response.
#DeleteDeviceResponse
Response for DELETE /api/v1/devices/{id}.
id echoes the resolved device id, which may differ from the name or prefix the caller addressed the device by.
| Field | Type | Required |
|---|---|---|
id | string | yes |
removed | boolean | yes |
Used by POST /api/v1/devices/forget response, DELETE /api/v1/devices/{id} response.
#DeletePairingResponse
Response for DELETE /api/v1/devices/{id}/pair.
| Field | Type | Required | Description |
|---|---|---|---|
device | DeviceSummary or null | no | |
disconnected | boolean | no | Whether forgetting the credentials also dropped a live connection. |
message | string | yes | |
status | string | no |
Used by DELETE /api/v1/devices/{id}/pair response.
#DeviceAuthState
Summary of whether a device needs authentication before it can be used.
One of open, required, configured, error.
#DeviceAuthSummary
Driver-owned authentication summary for one tracked device.
| Field | Type | Required |
|---|---|---|
can_pair | boolean | yes |
descriptor | PairingDescriptor or null | no |
last_error | string or null | no |
state | DeviceAuthState | yes |
#DeviceComponentsResponse
Response for GET /api/v1/devices/{id}/attachments.
slots are the controller’s physical attachment points, bindings what is attached to them, and suggested_zones the layout zones the attachments imply.
| Field | Type | Required |
|---|---|---|
bindings | array of ComponentBindingSummary | no |
device_id | string | yes |
device_name | string | yes |
slots | array of ComponentSlot | no |
suggested_zones | array of ComponentSuggestedZone | no |
Used by GET /api/v1/devices/{id}/attachments response.
#DeviceComponentsUpdateResponse
Response for PUT /api/v1/devices/{id}/attachments.
Same body as the GET plus needs_layout_update, which reports that the active layout targets this device and no longer matches the LED ranges the new bindings describe.
| Field | Type | Required |
|---|---|---|
bindings | array of ComponentBindingSummary | no |
device_id | string | yes |
device_name | string | yes |
needs_layout_update | boolean | yes |
slots | array of ComponentSlot | no |
suggested_zones | array of ComponentSuggestedZone | no |
Used by PUT /api/v1/devices/{id}/attachments response.
#DeviceConnectionSummary
Transport details for one device.
| Field | Type | Required |
|---|---|---|
endpoint | string or null | no |
hostname | string or null | no |
ip | string or null | no |
label | string or null | no |
transport | string | no |
#DeviceCoverageRowListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of DeviceCoverageRow | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/devices/coverage response.
#DeviceOrigin
Origin metadata that separates device ownership from output routing.
| Field | Type | Required | Description |
|---|---|---|---|
backend_id | string | yes | Output backend responsible for writing frames. |
driver_id | string | yes | Driver module that owns discovery, semantics, and presentation. |
protocol_id | string or null | no | Optional protocol implementation selected by the driver/backend. |
transport | DriverTransportKind | yes | Transport category used by this device. |
#DeviceRef
Lightweight reference to a discovered device.
| Field | Type | Required |
|---|---|---|
id | string | yes |
led_count | integer (int32) | yes |
name | string | yes |
origin | DeviceOrigin | yes |
#DeviceSummary
One device in the list/detail responses.
| Field | Type | Required | Description |
|---|---|---|---|
attachments | DeviceComponentsResponse or null | no | |
auth | DeviceAuthSummary or null | no | |
bridge | BridgeDeviceSummary or null | no | |
brightness | integer (int32) | yes | |
connection | DeviceConnectionSummary | no | |
display_rotation | DisplayRotation or null | no | |
experimental | boolean | no | Whether the driver module or protocol driving this device is labeled experimental: nobody has run it on real hardware yet (Spec 89). Omitted when false. |
firmware_version | string or null | no | |
id | string | yes | |
layout_device_id | string | yes | |
name | string | yes | |
origin | DeviceOrigin | yes | |
presentation | DriverPresentation | yes | |
segments | array of SegmentSummary | no | |
status | string | yes | |
total_leds | integer (int32) | yes |
Used by GET /api/v1/devices/{id} response, PUT /api/v1/devices/{id} response.
#DeviceSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of DeviceSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/devices response.
#DiscoverRequest
Optional body for POST /api/v1/devices/discover.
| Field | Type | Required | Description |
|---|---|---|---|
targets | array of string or null | no | Discovery targets to scan; omitted scans every enabled target. |
timeout_ms | integer (int64) or null | no | |
wait | boolean or null | no | Block until the scan finishes instead of returning a scan id. |
Used by POST /api/v1/devices/discover request.
#DiscoverResponse
Response from POST /api/v1/devices/discover.
One of these variants, told apart by status:
status | Fields | Description |
|---|---|---|
"scanning" | scan_id: stringtargets: array of stringtimeout_ms: integer (int64) | Immediate acknowledgement for an asynchronous discovery scan. |
"completed" | result: DiscoveryScanResultscan_id: string | Completed response for a synchronous discovery scan. |
Used by POST /api/v1/devices/discover response.
#DiscoveryScanResult
Detailed result from a completed discovery scan.
| Field | Type | Required |
|---|---|---|
duration_ms | integer (int64) | yes |
new_devices | array of DeviceRef | yes |
reappeared_devices | array of DeviceRef | yes |
scanners | array of DiscoveryScannerResult | yes |
targets | array of string | yes |
timeout_ms | integer (int64) | yes |
total_known | integer | yes |
vanished_devices | array of string | yes |
#DiscoveryScannerResult
Per-scanner diagnostics from a completed discovery scan.
| Field | Type | Required | Description |
|---|---|---|---|
discovered | integer | yes | |
duration_ms | integer (int64) | yes | |
error | string or null | no | |
gaps | array of string | no | What a partial scan may have missed. Its devices stay tracked. |
scanner | string | yes | |
status | string | yes | ok, partial when the scan may have missed devices, or error. |
#ForgetDeviceRequest
Forget saved controller content by its stable layout binding, even offline.
| Field | Type | Required |
|---|---|---|
layout_device_id | string | yes |
Used by POST /api/v1/devices/forget request.
#IdentifyAttachmentRequest
Request body for POST /api/v1/devices/{id}/attachments/{slot}/identify.
Carries the base identify parameters plus the selectors that narrow the blink to one attached component instance.
Every field of IdentifyRequest, plus:
| Field | Type | Required |
|---|---|---|
binding_index | integer or null | no |
instance | integer (int32) or null | no |
Used by POST /api/v1/devices/{id}/attachments/{slot}/identify request.
#IdentifyAttachmentResponse
Response for POST /api/v1/devices/{id}/attachments/{slot}/identify.
instance is null when the request blinked every instance of the binding rather than one of them.
| Field | Type | Required |
|---|---|---|
binding_index | integer | yes |
color | string or null | no |
device_id | string | yes |
duration_ms | integer (int64) | yes |
identifying | boolean | yes |
instance | integer (int32) or null | no |
slot_id | string | yes |
Used by POST /api/v1/devices/{id}/attachments/{slot}/identify response.
#IdentifyDeviceResponse
Response for POST /api/v1/devices/{id}/identify.
The blink runs in the background, so the response only acknowledges that it started and echoes the parameters actually used. color is null when the caller sent no color and the daemon used its default.
| Field | Type | Required |
|---|---|---|
color | string or null | no |
device_id | string | yes |
duration_ms | integer (int64) | yes |
identifying | boolean | yes |
Used by POST /api/v1/devices/{id}/identify response.
#IdentifyRequest
Request body for POST /api/v1/devices/{id}/identify.
| Field | Type | Required |
|---|---|---|
color | string or null | no |
duration_ms | integer (int64) or null | no |
Used by POST /api/v1/devices/{id}/identify request, POST /api/v1/devices/{id}/segments/{segment}/identify request.
#IdentifySegmentResponse
Response for POST /api/v1/devices/{id}/segments/{segment}/identify.
| Field | Type | Required |
|---|---|---|
color | string or null | no |
device_id | string | yes |
duration_ms | integer (int64) | yes |
identifying | boolean | yes |
segment | string | yes |
segment_name | string | yes |
Used by POST /api/v1/devices/{id}/segments/{segment}/identify response.
#PairDeviceResponse
Response for POST /api/v1/devices/{id}/pair.
device carries the device’s refreshed summary when pairing changed its state enough to be worth re-rendering, and is omitted otherwise.
| Field | Type | Required | Description |
|---|---|---|---|
activated | boolean | no | Whether the device was connected and started rendering as part of the pairing. |
device | DeviceSummary or null | no | |
message | string | yes | |
status | string | yes |
Used by POST /api/v1/devices/{id}/pair response.
#PairingDescriptor
Backend-provided pairing UI/CLI descriptor.
| Field | Type | Required |
|---|---|---|
action_label | string | yes |
fields | array of PairingFieldDescriptor | no |
instructions | array of string | yes |
kind | PairingFlowKind | yes |
title | string | yes |
#PairingFieldDescriptor
Descriptor for one pairing form field.
| Field | Type | Required |
|---|---|---|
key | string | yes |
label | string | yes |
optional | boolean | yes |
placeholder | string or null | no |
secret | boolean | yes |
#PairingFlowKind
How the UI or CLI should present a pairing flow.
One of physical_action, credentials_form.
#SegmentLayoutHint
Device-declared spatial hint used when auto-generating or repairing layouts.
| Field | Type | Required | Description |
|---|---|---|---|
co_located | boolean | no | Place this segment at the same center as sibling segments. |
placement | SegmentPlacement or null | no | |
shape | ZoneShape or null | no | |
size | NormalizedPosition or null | no | |
topology | LedTopology or null | no |
#SegmentPlacement
A segment’s bounding box in the device’s physical coordinate system.
Coordinates use one isotropic unit across every sibling, with x pointing right and y pointing down. The position is the box center, not necessarily the lighting centroid; custom topology carries the actual sample position.
| Field | Type | Required | Description |
|---|---|---|---|
position | NormalizedPosition | yes | |
rotation | number (float) | yes | Rotation in radians about the bounding-box center, matching Output. |
size | NormalizedPosition | yes |
#SegmentSummary
One LED segment of a device (hardware topology, not scene render zones).
| Field | Type | Required |
|---|---|---|
id | string | yes |
layout_hint | SegmentLayoutHint or null | no |
led_count | integer (int32) | yes |
name | string | yes |
topology | string | yes |
topology_hint | SegmentTopologySummary or null | no |
#SegmentTopologySummary
Structured topology hint for a device segment.
One of these variants, told apart by type:
type | Fields |
|---|---|
"strip" | none |
"matrix" | cols: integer (int32)rows: integer (int32) |
"ring" | count: integer (int32) |
"point" | none |
"display" | circular: booleanheight: integer (int32)width: integer (int32) |
"custom" | none |
#UnclaimedDevice
A USB device the host can see that no enabled native driver claims.
claimable_by names the native driver whose protocol database matches the device when that driver is disabled by config; None means no native protocol exists for the vendor/product pair at all. Hubs and audio-only functions without a matching protocol are left out, since nothing on them can carry lighting.
| Field | Type | Required | Description |
|---|---|---|---|
bus_path | string or null | no | Host bus path (<bus>-<port chain>), when the platform reports one. |
claimable_by | string or null | no | |
experimental | boolean | no | Whether the descriptor claimable_by refers to is labeled experimental: nobody has run it on real hardware yet (Spec 89). |
interface_classes | array of integer (int32) | no | USB interface class codes of the active configuration, sorted and deduplicated; empty where the platform does not expose them. |
manufacturer | string or null | no | Who made the device: its manufacturer string when the host reports a non-blank one, otherwise the company that owns vendor_id in the curated vendor table. Absent when neither is known, which is the usual case on Windows for vendors outside that table. |
product | string or null | no | |
product_id | integer (int32) | yes | |
serial | string or null | no | |
vendor_id | integer (int32) | yes |
#UnclaimedDeviceListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of UnclaimedDevice | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/devices/unclaimed response.
#UpdateAttachmentsRequest
Request body for PUT /api/v1/devices/{id}/attachments.
The binding list replaces the device’s attachments wholesale.
| Field | Type | Required | Description |
|---|---|---|---|
bindings | array of ComponentBinding | no | |
validate_only | boolean | no | Validate and resolve the profile without applying any side effects. |
Used by PUT /api/v1/devices/{id}/attachments request.
#UpdateDeviceRequest
Request body for PUT /api/v1/devices/{id}.
| Field | Type | Required |
|---|---|---|
brightness | integer (int32) or null | no |
display_rotation | DisplayRotation or null | no |
enabled | boolean or null | no |
name | string or null | no |
Used by PUT /api/v1/devices/{id} request.
#Control surfaces
#ActionConfirmation
Action confirmation metadata.
| Field | Type | Required | Description |
|---|---|---|---|
level | ActionConfirmationLevel | yes | Confirmation severity. |
message | string | yes | Human-readable message. |
#ActionConfirmationLevel
Confirmation severity for actions.
One of normal, destructive, hardware_persistent.
#AppliedControlChange
Accepted field change.
| Field | Type | Required | Description |
|---|---|---|---|
field_id | String | yes | Field that changed. |
value | object | yes | Applied value. |
#ApplyControlChangesResponse
Response from applying control changes.
| Field | Type | Required | Description |
|---|---|---|---|
accepted | array of AppliedControlChange | yes | Accepted changes after driver normalization. |
impacts | array of ApplyImpact | yes | Dynamic impacts produced by the transaction. |
previous_revision | u64 | yes | Previous revision. |
rejected | array of RejectedControlChange | yes | Rejected changes. |
revision | u64 | yes | New revision. |
surface_id | String | yes | Target surface. |
values | object | yes | Current values after the transaction. |
Used by PATCH /api/v1/control-surfaces/{id}/values response.
#ApplyImpact
Dynamic impact required to apply a control change.
One of these variants:
| Variant | Fields | Description |
|---|---|---|
"none" | No operational impact. | |
"live" | Apply directly to live runtime state. | |
"discovery_rescan" | Trigger a discovery rescan. | |
"device_reconnect" | Reconnect the affected device. | |
"backend_rebind" | Rebind the affected output backend. | |
"topology_rebuild" | Rebuild topology for affected devices. | |
"hardware_persist" | Persist state into physical hardware. | |
{ "custom": … } | custom: string | Driver-defined dynamic impact. |
#BTreeMap
Type: map of object.
#ControlAccess
Field access mode.
One of read_only, read_write, write_only.
#ControlActionDescriptor
Action descriptor for one-shot commands.
| Field | Type | Required | Description |
|---|---|---|---|
apply_impact | ApplyImpact | yes | Dynamic impact required by this action. |
availability | object | yes | Availability expression before daemon resolution. |
confirmation | ActionConfirmation or null | no | |
description | string or null | no | Optional help text. |
group_id | String or null | no | |
id | String | yes | Stable action identifier within the surface. |
input_fields | array of ControlObjectField | yes | Typed input fields. |
label | string | yes | Human-readable label. |
ordering | integer (int32) | yes | Stable ordering hint. |
owner | ControlOwner | yes | Action owner. |
result_type | object or null | no | Optional typed result. |
#ControlActionResult
Result from invoking an action.
| Field | Type | Required | Description |
|---|---|---|---|
action_id | String | yes | Action that ran. |
result | object or null | no | Optional typed result. |
revision | u64 | yes | Resulting surface revision. |
status | ControlActionStatus | yes | Action status. |
surface_id | String | yes | Target surface. |
Used by POST /api/v1/control-surfaces/{id}/actions/{action} response.
#ControlActionStatus
Action execution status.
One of accepted, running, completed, failed.
#ControlApplyError
Typed control apply error.
One of these variants, told apart by kind:
kind: "unknown_field": Field does not exist.
kind: "type_mismatch": Value has the wrong type.
| Field | Type | Required | Description |
|---|---|---|---|
expected | object | yes | Expected type. |
kind: "out_of_range": Value is outside the allowed range.
kind: "invalid_value": Value is semantically invalid.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | Human-readable validation message. |
kind: "unavailable": Control is unavailable.
| Field | Type | Required | Description |
|---|---|---|---|
reason | string | yes | Human-readable reason. |
kind: "conflict": Surface revision conflict.
| Field | Type | Required | Description |
|---|---|---|---|
current_revision | u64 | yes | Current server-side revision. |
kind: "unauthorized": Caller is not authorized.
kind: "device_offline": Device is offline.
kind: "unsupported_dynamic_apply": Driver has not implemented dynamic apply for this control yet.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | Human-readable detail. |
kind: "driver_error": Driver-specific error.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | Human-readable detail. |
#ControlFieldDescriptor
Field descriptor for one typed control.
| Field | Type | Required | Description |
|---|---|---|---|
access | ControlAccess | yes | Read/write behavior. |
apply_impact | ApplyImpact | yes | Dynamic impact required when this field changes. |
availability | object | yes | Availability expression before daemon resolution. |
default_value | object or null | no | Optional default value. |
description | string or null | no | Optional help text. |
group_id | String or null | no | |
id | String | yes | Stable field identifier within the surface. |
label | string | yes | Human-readable label. |
ordering | integer (int32) | yes | Stable ordering hint. |
owner | ControlOwner | yes | Field owner. |
persistence | ControlPersistence | yes | Persistence target. |
value_type | object | yes | Expected value type. |
visibility | ControlVisibility | yes | Visibility tier. |
#ControlGroupDescriptor
Semantic group descriptor.
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | no | Optional help text. |
id | String | yes | Stable group identifier. |
kind | ControlGroupKind | yes | Semantic group kind. |
label | string | yes | Human-readable label. |
ordering | integer (int32) | yes | Stable ordering hint. |
#ControlGroupKind
Semantic group kind.
One of general, connection, output, color, topology, performance, diagnostics, advanced, danger, custom.
#ControlObjectField
Field inside an object control value.
| Field | Type | Required | Description |
|---|---|---|---|
default_value | object or null | no | Optional default value. |
id | string | yes | Stable field identifier. |
label | string | yes | Human-readable label. |
required | boolean | yes | Whether this field is required. |
value_type | object | yes | Expected value type. |
#ControlOwner
Field, action, or group owner.
One of these variants:
"host": Host-owned common behavior.
{ "driver": … }: Driver-owned behavior.
| Field | Type | Required | Description |
|---|---|---|---|
driver | object | yes | Driver-owned behavior. |
driver.driver_id | string | yes | Stable driver module identifier. |
#ControlPersistence
Persistence target for a control field.
One of driver_config, device_config, runtime_only, hardware_stored.
#ControlSurfaceDocument
Complete API document for a driver or device control surface.
| Field | Type | Required | Description |
|---|---|---|---|
action_availability | BTreeMap | yes | Resolved availability keyed by action ID. |
actions | array of ControlActionDescriptor | yes | Action descriptors. |
availability | BTreeMap | yes | Resolved availability keyed by field ID. |
fields | array of ControlFieldDescriptor | yes | Field descriptors. |
groups | array of ControlGroupDescriptor | yes | Semantic groups for fields and actions. |
revision | u64 | yes | Current descriptor/value revision. |
schema_version | integer (int32) | yes | Control-surface schema version. |
scope | ControlSurfaceScope | yes | Scope represented by this document. |
surface_id | String | yes | Stable surface identifier. |
values | object | yes | Current field values keyed by field ID. |
Used by GET /api/v1/control-surfaces/{id} response, GET /api/v1/devices/{id}/controls response, GET /api/v1/drivers/{id}/controls response.
#ControlSurfaceDocumentListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of ControlSurfaceDocument | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/control-surfaces response.
#ControlSurfaceScope
Scope owned by a control surface.
One of these variants:
{ "driver": … }: Driver-module level controls.
| Field | Type | Required | Description |
|---|---|---|---|
driver | object | yes | Driver-module level controls. |
driver.driver_id | string | yes | Stable driver module identifier. |
{ "device": … }: Controls for one physical or virtual device.
| Field | Type | Required | Description |
|---|---|---|---|
device | object | yes | Controls for one physical or virtual device. |
device.device_id | DeviceId | yes | Stable device identifier. |
device.driver_id | string | yes | Driver module that owns the device semantics. |
#ControlVisibility
Field visibility tier.
One of standard, advanced, diagnostics, hidden.
#InvokeControlActionRequest
Request body for POST /api/v1/control-surfaces/{id}/actions/{action}.
| Field | Type | Required |
|---|---|---|
input | BTreeMap | no |
Used by POST /api/v1/control-surfaces/{id}/actions/{action} request.
#RejectedControlChange
Rejected field change.
| Field | Type | Required | Description |
|---|---|---|---|
attempted_value | object | yes | Attempted value. |
error | ControlApplyError | yes | Typed error. |
field_id | String | yes | Field that failed validation or apply. |
#String
Type: string.
#u64
Type: integer (int64).
#Effects
#ApplyEffectRequest
POST /effects/{id}/apply — the sugar request (Spec 78 §2.3).
Replaces the target zone’s layer stack with a single new layer running this effect; a projection of the same SceneMutation a layer-stack replacement performs, never a second code path.
| Field | Type | Required | Description |
|---|---|---|---|
controls | map of ControlValue or null | no | |
preset_id | PresetId or null | no | |
transition | TransitionType or null | no | |
zone | string or null | no | Target zone; omitted means the primary zone, created if the scene has none. |
Unknown fields are rejected.
Used by POST /api/v1/effects/{id}/apply request, POST /api/v1/effects/{id}/presets/{preset}/apply request.
#ApplyEffectResponse
POST /effects/{id}/apply — the sugar response: the updated zone resource carrying the new layer’s id, and the applied transition.
Post-commit side-effect failures (power wake) are reported inside a 200 per Spec 78 §2.3; repair goes through the side effect’s own route (PATCH /output), never a blind re-apply, because apply mints a fresh layer id and is deliberately not idempotent.
| Field | Type | Required | Description |
|---|---|---|---|
output | SideEffectOutcome | yes | The post-commit power-wake outcome. |
transition | TransitionType | yes | |
zone | ZoneResource | yes |
Used by POST /api/v1/effects/{id}/apply response, POST /api/v1/effects/{id}/presets/{preset}/apply response.
#EffectCapabilitySet
Typed source requirements declared by an effect.
| Field | Type | Required |
|---|---|---|
audio_reactive | boolean | no |
input_reactive | boolean | no |
screen_reactive | boolean | no |
#EffectConsoleEntry
One message an effect page printed, as GET /api/v1/effects/console reports it.
| Field | Type | Required | Description |
|---|---|---|---|
effect_id | string or null | no | Catalog id of that effect, when it is still installed. |
effect_name | string | yes | Display name of the effect that printed it. |
level | string | yes | Raw console level: log, info, warn, error, debug, trace, dir, or table. |
line | integer (int32) or null | no | Line in that file the message points at, when it names one. |
message | string | yes | Message text. File locations in the effect’s own page point at the author’s source file and line, not the engine’s runtime copy. |
seq | integer (int64) | yes | Journal sequence number; strictly increasing within one daemon run. |
source_file | string | yes | File name of the effect’s HTML source. |
timestamp_ms | integer (int64) | yes | Wall-clock time the message was recorded, in Unix milliseconds. |
#EffectConsoleLevel
Severity floor for GET /api/v1/effects/console.
Raw console levels fold onto four floors: trace and debug are debug; log, info, dir, and table are log.
One of debug, log, warn, error.
Used by GET /api/v1/effects/console parameter.
#EffectConsoleResponse
Response for GET /api/v1/effects/console.
A cursor-based window over the effect console journal rather than a paged list: pass next_seq back as after to read only newer output.
| Field | Type | Required | Description |
|---|---|---|---|
entries | array of EffectConsoleEntry | yes | Matching messages after the cursor, oldest first. |
next_seq | integer (int64) | yes | Cursor for the next read. |
truncated | boolean | yes | Whether output after the requested cursor was evicted before this read, so some messages were missed. |
Used by GET /api/v1/effects/console response.
#EffectDetailResponse
Response for GET /api/v1/effects/{id}.
| Field | Type | Required |
|---|---|---|
audio_reactive | boolean | yes |
author | string | yes |
category | EffectCategory | yes |
controls | array of ControlDefinition | no |
cover_image_url | string or null | no |
description | string | yes |
id | string | yes |
name | string | yes |
presets | array of PresetTemplate | no |
runnable | boolean | yes |
source | EffectSourceKind | yes |
tags | array of string | yes |
version | string | yes |
Used by GET /api/v1/effects/{id} response.
#EffectInstallForm
The multipart/form-data field POST /api/v1/effects/install reads.
This documents the wire form for clients and the OpenAPI document; the daemon reads the part directly rather than deserializing this type.
| Field | Type | Required | Description |
|---|---|---|---|
file | binary | yes | The HTML effect document, sent as a file part with a file name. |
Used by POST /api/v1/effects/install request.
#EffectPresetOrigin
Origin of a preset in an effect’s unified preset stack.
One of bundled, saved.
#EffectPresetSummary
One bundled or saved preset projected through an effect-scoped API.
| Field | Type | Required |
|---|---|---|
controls | map of ControlValue | yes |
description | string or null | no |
editable | boolean | yes |
effect_id | string | yes |
id | string | yes |
name | string | yes |
origin | EffectPresetOrigin | yes |
tags | array of string | no |
#EffectPresetSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of EffectPresetSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/effects/{id}/presets response.
#EffectSourceKind
Rendering implementation used by an effect.
The catalog publishes the implementation kind without leaking the source file path carried by the engine’s internal EffectSource.
One of native, html, shader.
Used by GET /api/v1/effects parameter.
#EffectSummary
One effect in the list response.
controls and presets are expansions: they are absent unless the request asked for them via include=controls,presets, so the default list shape is unchanged and a client that ignores the parameter sees exactly the payload it saw before.
| Field | Type | Required |
|---|---|---|
audio_reactive | boolean | no |
author | string | yes |
capabilities | EffectCapabilitySet | no |
category | EffectCategory | yes |
controls | array of ControlDefinition or null | no |
cover_image_url | string or null | no |
description | string | yes |
id | string | yes |
input_reactive | boolean | no |
name | string | yes |
presets | array of PresetTemplate or null | no |
runnable | boolean | yes |
source | EffectSourceKind | yes |
tags | array of string | yes |
version | string | yes |
#EffectSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of EffectSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/effects response.
#InstalledEffectResponse
Response for POST /api/v1/effects/install.
| Field | Type | Required | Description |
|---|---|---|---|
console_after | integer (int64) | no | Effect console cursor taken just before the install. Pass it as after to GET /api/v1/effects/console to read only what the new page prints. |
controls | integer | yes | |
id | string | yes | |
name | string | yes | |
path | string | yes | |
presets | integer | yes |
Used by POST /api/v1/effects/install response.
#RescanResponse
Response for POST /api/v1/effects/rescan.
Counts describe what the rescan changed in the registry, so an all-zero response means the effect directories were already current.
| Field | Type | Required |
|---|---|---|
added | integer | yes |
removed | integer | yes |
updated | integer | yes |
Used by POST /api/v1/effects/rescan response.
#TransitionType
The closed transition vocabulary (Spec 78 §2.3).
Grows when the engine does; the request field does not accept aspirational values.
One of these variants, told apart by type:
type | Fields |
|---|---|
"cut" | none |
#Canvas
#CanvasImageFormat
Image encoding for a canvas capture.
One of jpeg, png.
Used by GET /api/v1/canvas/frame parameter.
#Assets
#AssetScanStatus
Metadata scan state for an asset record.
One of these variants:
| Variant | Fields |
|---|---|
"pending" | |
"ready" | |
{ "unsupported": … } | unsupported: objectunsupported.reason: string |
{ "failed": … } | failed: objectfailed.reason: string |
"unscanned" |
#AssetUpdateRequest
Request body for PUT /api/v1/assets/{id}.
Omitted fields leave the stored metadata untouched.
| Field | Type | Required |
|---|---|---|
name | string or null | no |
tags | array of string or null | no |
Used by PUT /api/v1/assets/{id} request.
#AssetUploadForm
The multipart/form-data fields POST /api/v1/assets reads.
This documents the wire form for clients and the OpenAPI document; the daemon reads the parts one by one rather than deserializing this type. The optional parts are documented as absent-or-string, never null: a multipart part has no null, and a generated client that sent one would send the literal text.
| Field | Type | Required | Description |
|---|---|---|---|
file | binary | yes | The asset bytes, sent as a file part. Required. |
name | string | no | Display name; defaults to the uploaded file name. Omit the part rather than sending an empty or null value. |
tags | string | no | Tags, comma separated or as a JSON array of strings. Omit the part when there are none. |
type | string | no | Asset type hint (lottie or stream), overriding the type query parameter and content sniffing. Omit the part to let the daemon sniff. |
Used by POST /api/v1/assets request.
#AssetUploadResponse
Response from POST /api/v1/assets.
duplicate reports that the bytes already existed in the library, in which case record is the pre-existing asset rather than a new one.
Every field of MediaAssetRecord, plus:
| Field | Type | Required |
|---|---|---|
duplicate | boolean | yes |
Used by POST /api/v1/assets response.
#AssetWarning
Non-fatal policy warnings attached to an accepted asset.
One of these variants, told apart by kind:
kind | Fields |
|---|---|
"per_asset_soft_cap_exceeded" | limit_bytes: integer (int64) |
"library_soft_cap_exceeded" | limit_bytes: integer (int64) |
#DeleteAssetResponse
Response from DELETE /api/v1/assets/{id}.
| Field | Type | Required |
|---|---|---|
removed | AssetId | yes |
Used by DELETE /api/v1/assets/{id} response.
#MediaAssetRecord
Persisted metadata for one user media asset.
| Field | Type | Required |
|---|---|---|
byte_len | integer (int64) | yes |
created_at | string | yes |
duration_us | integer (int64) or null | no |
frame_count | integer (int32) or null | no |
hash_sha256 | string | yes |
id | AssetId | yes |
intrinsic_height | integer (int32) or null | no |
intrinsic_width | integer (int32) or null | no |
mime_type | string | yes |
modified_at | string | yes |
name | string | yes |
scan_status | AssetScanStatus | no |
tags | array of string | no |
warnings | array of AssetWarning | no |
Used by GET /api/v1/assets/{id} response, PUT /api/v1/assets/{id} response.
#MediaAssetRecordListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of MediaAssetRecord | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/assets response.
#Media
#MediaAuthorizationAdapter
One of music, spotify.
#MediaAuthorizationRequest
Explicit media Automation authorization request.
| Field | Type | Required | Description |
|---|---|---|---|
adapter | MediaAuthorizationAdapter | yes | Already-running media application to authorize. |
Used by POST /api/v1/media/authorize request.
#MediaAuthorizationResponse
Result of one explicit media Automation authorization request.
| Field | Type | Required | Description |
|---|---|---|---|
adapter | MediaAuthorizationAdapter | yes | Application whose access was authorized. |
authorized | boolean | yes | Whether Automation access is authorized. |
Used by POST /api/v1/media/authorize response.
#Displays and faces
#CreateSimulatedDisplayRequest
Request body for POST /api/v1/simulators/displays.
| Field | Type | Required |
|---|---|---|
circular | boolean | no |
enabled | boolean or null | no |
height | integer (int32) | yes |
name | string | yes |
width | integer (int32) | yes |
Used by POST /api/v1/simulators/displays request.
#DeleteDisplayFaceResponse
Response from DELETE /api/v1/displays/{id}/face.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
device_id | string | yes |
scene_id | string or null | no |
scope | DisplayFaceScope | yes |
Used by DELETE /api/v1/displays/{id}/face response.
#DeleteSimulatedDisplayResponse
Response from DELETE /api/v1/simulators/displays/{id}.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
id | DeviceId | yes |
Used by DELETE /api/v1/simulators/displays/{id} response.
#DisplayClass
Device family the display belongs to, for layout idiom selection.
One of pump_lcd, strip, panel.
#DisplayDescriptor
Everything a face needs to know about the surface it renders on.
| Field | Type | Required | Description |
|---|---|---|---|
api_version | integer (int32) | yes | Contract version for the injected JS view; additive-only. |
circular | boolean | yes | |
class | DisplayClass | yes | |
height | integer (int32) | yes | |
pixel_format | DisplayPixelFormat | yes | |
safe_area | DisplayRect | yes | Largest rect guaranteed free of physical clipping (the inscribed square on round panels, the full surface otherwise). |
shape | DisplayShape | yes | |
target_fps | integer (int32) | yes | |
width | integer (int32) | yes |
#DisplayFaceRendering
What a display’s panel is showing over its backdrop.
One of scene, default, none.
#DisplayFaceResponse
Response from GET /api/v1/displays/{id}/face and every face mutation route.
| Field | Type | Required | Description |
|---|---|---|---|
default_assigned | boolean | no | Whether a persisted default face exists for this display. |
device_id | string | yes | |
effect | EffectMetadata | yes | |
live_scope | DisplayFaceScope | no | Which layer the returned assignment lives on. |
rendering | DisplayFaceRendering or null | no | |
scene_assigned | boolean | no | Whether the active scene has its own face assignment for this display. |
scene_id | string | yes | |
zone | object | yes |
Used by PUT /api/v1/displays/{id}/face response, PATCH /api/v1/displays/{id}/face/composition response, PATCH /api/v1/displays/{id}/face/controls response.
#DisplayFaceResponseOptional
Either null or the value below.
Response from GET /api/v1/displays/{id}/face and every face mutation route.
| Field | Type | Required | Description |
|---|---|---|---|
default_assigned | boolean | no | Whether a persisted default face exists for this display. |
device_id | string | yes | |
effect | EffectMetadata | yes | |
live_scope | DisplayFaceScope | no | Which layer the returned assignment lives on. |
rendering | DisplayFaceRendering or null | no | |
scene_assigned | boolean | no | Whether the active scene has its own face assignment for this display. |
scene_id | string | yes | |
zone | object | yes |
Used by GET /api/v1/displays/{id}/face response.
#DisplayFaceScope
Which assignment layer a face operation targets (spec 69 §3.6).
default persists across scenes (the display’s own face); scene writes into the active scene’s display zone, which always wins while that scene is active.
One of default, scene.
Used by DELETE /api/v1/displays/{id}/face parameter.
#DisplayPixelFormat
Pixel format the device transport expects.
One of rgb, yuv420.
#DisplayRect
Pixel rectangle within a display surface.
| Field | Type | Required |
|---|---|---|
height | integer (int32) | yes |
width | integer (int32) | yes |
x | integer (int32) | yes |
y | integer (int32) | yes |
#DisplayShape
Broad shape classification a face adapts its layout to.
One of round, square, wide, tall.
#DisplaySummary
Summary row from GET /api/v1/displays.
| Field | Type | Required | Description |
|---|---|---|---|
circular | boolean | yes | |
descriptor | DisplayDescriptor | yes | Full surface description (shape, safe area, fps, pixel format) — the same descriptor injected into face pages. |
family | string | yes | |
height | integer (int32) | yes | |
id | string | yes | |
name | string | yes | |
rotation | DisplayRotation | no | How the panel is mounted; everything drawn on it turns to match. |
vendor | string | yes | |
width | integer (int32) | yes |
#DisplaySummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of DisplaySummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/displays response.
#EffectMetadata
Universal effect descriptor.
Serialized as TOML for native effects and as JSON for the REST API and WebSocket protocol. This is the canonical metadata attached to every effect regardless of rendering path.
| Field | Type | Required | Description |
|---|---|---|---|
audio_reactive | boolean | no | Indicates whether the effect expects audio payload injection. |
author | string | yes | Author or publisher name. |
category | EffectCategory | no | Primary classification categories. |
controls | array of ControlDefinition | no | User-facing controls declared by this effect. |
description | string | yes | Short description (max 200 chars). Shown in the effect browser. |
id | EffectId | yes | Stable unique identifier. |
input_reactive | boolean | no | Indicates whether the effect expects host input payload injection. |
license | string or null | no | SPDX license identifier (e.g. "MIT", "Apache-2.0"). |
name | string | yes | Human-readable display name. |
presets | array of PresetTemplate | no | Effect-defined preset snapshots. Authored by the effect developer, read-only at runtime. Shown alongside user-created presets in the UI. |
screen_reactive | boolean | no | Indicates whether the effect expects screen capture payload injection. |
source | EffectSource | yes | How this effect is rendered. Determines the renderer path. |
tags | array of string | no | Discovery and taxonomy tags. Free-form, lowercase, hyphenated. |
version | string | no | Semantic version string (e.g. "1.2.0"). |
#EffectSource
Identifies the rendering path and source location for an effect.
Determines which renderer handles the effect: a compiled-in CPU builtin or Servo.
One of these variants:
{ "native": … }: Compiled-in native Rust renderer, resolved by name from effect::builtin. The path identifies the builtin, not a shader.
| Field | Type | Required | Description |
|---|---|---|---|
native | object | yes | Compiled-in native Rust renderer, resolved by name from effect::builtin. The path identifies the builtin, not a shader. |
native.path | string | yes | Path to the shader file, relative to the effects root. |
{ "html": … }: HTML/Canvas/WebGL effect rendered by ServoRenderer.
| Field | Type | Required | Description |
|---|---|---|---|
html | object | yes | HTML/Canvas/WebGL effect rendered by ServoRenderer. |
html.path | string | yes | Path to the .html file on disk. |
{ "shader": … }: GPU compute or fragment shader in raw SPIR-V or WGSL.
| Field | Type | Required | Description |
|---|---|---|---|
shader | object | yes | GPU compute or fragment shader in raw SPIR-V or WGSL. |
shader.path | string | yes | Path to the shader source file. |
#SetDisplayFaceRequest
Request body for PUT /api/v1/displays/{id}/face.
| Field | Type | Required |
|---|---|---|
blend_mode | BlendMode or null | no |
controls | map of ControlValue | no |
effect_id | string | yes |
opacity | number (float) or null | no |
scope | DisplayFaceScope | no |
Used by PUT /api/v1/displays/{id}/face request.
#SimulatedDisplay
One simulated display as /api/v1/simulators/displays renders it.
This is both the stored configuration and the resource every route in the family returns.
| Field | Type | Required |
|---|---|---|
circular | boolean | no |
enabled | boolean | no |
height | integer (int32) | yes |
id | DeviceId | yes |
name | string | yes |
width | integer (int32) | yes |
Used by POST /api/v1/simulators/displays response, GET /api/v1/simulators/displays/{id} response, PATCH /api/v1/simulators/displays/{id} response.
#SimulatedDisplayListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of SimulatedDisplay | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/simulators/displays response.
#UpdateDisplayFaceCompositionRequest
Request body for PATCH /api/v1/displays/{id}/face/composition.
| Field | Type | Required |
|---|---|---|
blend_mode | BlendMode or null | no |
opacity | number (float) or null | no |
Used by PATCH /api/v1/displays/{id}/face/composition request.
#UpdateSimulatedDisplayRequest
Request body for PATCH /api/v1/simulators/displays/{id}.
Omitted fields leave the simulated display untouched.
| Field | Type | Required |
|---|---|---|
circular | boolean or null | no |
enabled | boolean or null | no |
height | integer (int32) or null | no |
name | string or null | no |
width | integer (int32) or null | no |
Used by PATCH /api/v1/simulators/displays/{id} request.
#Attachments
#ComponentCompatibility
Controller/slot matcher for a reusable template.
Empty matcher fields are wildcards. If a template has no compatibility entries at all, it is considered globally compatible.
| Field | Type | Required | Description |
|---|---|---|---|
controller_ids | array of string | no | Controller driver or protocol identifiers. |
models | array of string | no | Optional model identifiers, such as prism_s. |
slots | array of string | no | Optional slot identifiers, such as gpu. |
#ComponentOrigin
Where an attachment template came from.
One of built_in, user.
#ComponentTemplate
Reusable attachment layout template.
| Field | Type | Required | Description |
|---|---|---|---|
category | ComponentCategory | yes | UI grouping category. |
compatible_slots | array of ComponentCompatibility | no | Optional controller/slot filters. |
default_size | ComponentCanvasSize | no | Default visual size when dropped into a layout. |
description | string | no | Optional descriptive text. |
id | string | yes | Stable template identifier. |
image_url | string or null | no | Optional product/marketing image URL. |
led_mapping | array of integer (int32) or null | no | Optional spatial-index -> physical-index remapping table. |
led_names | array of string or null | no | Optional user-facing labels for each LED. |
name | string | yes | Human-readable display name. |
origin | ComponentOrigin | no | Built-in or user-authored template. |
physical_size_mm | array of number (float) or null | no | Optional physical dimensions in millimeters. At least 2 items, at most 2 items. |
tags | array of string | no | Search/filter tags. |
topology | LedTopology | yes | Physical LED topology for this attachment. |
vendor | string | no | Accessory vendor or ecosystem (e.g. Lian Li, Corsair). |
Used by POST /api/v1/attachments/templates request.
#TemplateDetail
Response for POST /api/v1/attachments/templates, the created template.
The summary’s fields plus everything needed to place the attachment: led_positions is expanded from the topology at request time, so it is present here but never in the listing.
Creation is the only route that returns this body, so the type is chartered on creation, and the collection listing keeps its own summary shape.
| Field | Type | Required | Description |
|---|---|---|---|
category | ComponentCategory | yes | |
compatible_slots | array of ComponentCompatibility | no | |
default_size | ComponentCanvasSize | yes | |
description | string | yes | |
id | string | yes | |
image_url | string or null | no | |
led_count | integer (int32) | yes | |
led_mapping | array of integer (int32) or null | no | |
led_names | array of string or null | no | |
led_positions | array of NormalizedPosition | no | |
name | string | yes | |
origin | ComponentOrigin | yes | |
physical_size_mm | array of number (float) or null | no | Physical footprint in millimeters, as [width, height]. At least 2 items, at most 2 items. |
tags | array of string | no | |
topology | LedTopology | yes | |
vendor | string | yes |
Used by POST /api/v1/attachments/templates response.
#TemplateSummary
One template in the catalog listing.
led_count is the template’s resolved LED total, derived from its topology rather than stored, so it is always present even for templates whose topology is generated.
| Field | Type | Required |
|---|---|---|
category | ComponentCategory | yes |
description | string | yes |
id | string | yes |
image_url | string or null | no |
led_count | integer (int32) | yes |
name | string | yes |
origin | ComponentOrigin | yes |
tags | array of string | no |
vendor | string | yes |
#TemplateSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of TemplateSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/attachments/templates response.
#Output
#OutputPatchRequest
PATCH /api/v1/output — partial: either or both fields.
The range bound on brightness is a domain rule, not a parse rule: the service rejects an out-of-range value as a validation error so the caller gets a named field back instead of a decoder complaint.
| Field | Type | Required |
|---|---|---|
brightness | number (float) or null | no |
power | OutputPowerMode or null | no |
Unknown fields are rejected.
Used by PATCH /api/v1/output request.
#OutputPowerMode
Global output power state, both requested and observed.
A destructive stop and a session sleep both read as Paused: the resource says whether output is running, and a stop’s extra consequences are observable on the effect surface.
One of running, paused.
#OutputResource
The one output resource — GET /api/v1/output.
| Field | Type | Required | Description |
|---|---|---|---|
brightness | number (float) | yes | Global brightness, 0.0..=1.0. |
power | OutputPowerMode | yes |
Used by GET /api/v1/output response, PATCH /api/v1/output response.
#Scenes
#ActivateSceneRequest
Request for POST /api/v1/scenes/{id}/activate.
| Field | Type | Required | Description |
|---|---|---|---|
transition_ms | integer (int64) or null | no | Override the scene’s authored transition duration. |
Used by POST /api/v1/scenes/{id}/activate request.
#ActivateSceneResponse
Response for POST /api/v1/scenes/{id}/activate.
| Field | Type | Required |
|---|---|---|
activated | boolean | yes |
brightness | SideEffectOutcome | yes |
layout | SceneLayoutActivationOutcome | yes |
scene | ActivatedSceneRef | yes |
Used by POST /api/v1/scenes/{id}/activate response.
#ActivatedSceneRef
The scene an activation resolved to, by id and name.
| Field | Type | Required |
|---|---|---|
id | string | yes |
name | string | yes |
#AssignMembersRequest
POST /scene/zones/{zone}/members — assign device segments.
The request names a device and its segments; the response’s zone resource carries the minted membership ids (Spec 78 §1.2).
| Field | Type | Required | Description |
|---|---|---|---|
device_id | string | yes | |
segments | array of string | no | Segment names to assign; empty assigns the whole device on single-segment hardware. |
Unknown fields are rejected.
Used by POST /api/v1/scene/zones/{zone}/members request.
#ClearSceneRequest
POST /scene/clear — the “stop” gesture (Spec 78 §1.2).
| Field | Type | Required | Description |
|---|---|---|---|
zone | string or null | no | Clear one non-display zone’s stack; omitted clears every non-display zone. |
Unknown fields are rejected.
Used by POST /api/v1/scene/clear request.
#CreateLayerRequest
POST /scene/zones/{zone}/layers: append a layer to the stack.
The server mints the layer id (Spec 78 §1.4); the response’s zone resource carries it.
| Field | Type | Required |
|---|---|---|
adjust | LayerAdjust or null | no |
bindings | array of LayerBinding or null | no |
blend | BlendMode or null | no |
enabled | boolean or null | no |
name | string or null | no |
opacity | number (float) or null | no |
scope | LayerScope or null | no |
source | LayerSource | yes |
transform | LayerTransform or null | no |
Unknown fields are rejected.
Used by POST /api/v1/scene/zones/{zone}/layers request.
#CreateSceneRequest
Request body for POST /api/v1/scenes.
| Field | Type | Required |
|---|---|---|
description | string or null | no |
enabled | boolean or null | no |
mutation_mode | string or null | no |
name | string | yes |
Used by POST /api/v1/scenes request.
#CreateZoneRequest
POST /scene/zones — create a zone.
| Field | Type | Required |
|---|---|---|
color | string or null | no |
name | string | yes |
role | string or null | no |
Unknown fields are rejected.
Used by POST /api/v1/scene/zones request.
#DeleteSceneResponse
Response for DELETE /api/v1/scenes/{id}.
id echoes the identifier the caller sent, which may be a scene name rather than the resolved id.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
id | string | yes |
Used by DELETE /api/v1/scenes/{id} response.
#EditMembersRequest
POST /scene/members/edit: one revision-fenced membership transaction.
| Field | Type | Required | Description |
|---|---|---|---|
assignment | MemberAssignmentTarget or null | no | |
changes | array of MemberEdit | no | |
layer_moves | array of LayerMove or null | no | The scoped layers to move with the outputs, replayed from a receipt’s layer_moves beside its changes. Omitted, the daemon decides which scoped layers follow the moved outputs. Present, exactly these moves are applied and nothing else is carried, so replaying a receipt’s reversed moves restores each layer’s zone, stack position, and scope. Only valid with explicit changes. |
scene_id | string | yes |
Unknown fields are rejected.
Used by POST /api/v1/scene/members/edit request.
#EditMembersResponse
Committed scene and reversible, canonical membership changes.
| Field | Type | Required | Description |
|---|---|---|---|
changes | array of MemberEdit | yes | |
document | SceneDocument | yes | |
layer_moves | array of LayerMove | no | Every scoped layer the edit moved or narrowed, in the order a replay applies them. |
Used by POST /api/v1/scene/members/edit response.
#LayerMove
One scoped layer a membership edit carried with its outputs, or narrowed because some of them left.
from.index is the layer’s position before the edit and to.index its position after it. A layer whose outputs all moved changes zone and keeps its scope; a layer that lost only some of them keeps its zone and loses those ids. Self::reversed is the record that undoes it.
| Field | Type | Required |
|---|---|---|
from | LayerSlot | yes |
layer_id | SceneLayerId | yes |
scope_after | LayerScope | yes |
scope_before | LayerScope | yes |
to | LayerSlot | yes |
Unknown fields are rejected.
#LayerSlot
A layer’s place in a scene: the zone that owns it and its position in that zone’s bottom-to-top stack.
| Field | Type | Required |
|---|---|---|
index | integer | yes |
zone_id | string | yes |
Unknown fields are rejected.
#LayoutId
Spatial layout identifier — "default" or a user slug.
Type: string.
#MemberAssignmentTarget
Device segments to assign using daemon-owned layout construction.
| Field | Type | Required | Description |
|---|---|---|---|
device_id | string | yes | |
placements | array of MemberPlacementHint | no | Optional seeded geometry for newly minted outputs, keyed by segment. |
segments | array of string | no | Empty selects every light segment, including all attachment instances. A screen is placed only by naming its segment. |
zone_id | string | yes |
Unknown fields are rejected.
#MemberEdit
An atomic add, move, placement change, or removal of one output.
Preconditions compare membership identity and public placement fields. The response replaces both sides with complete authoritative snapshots, preserving fields absent from the scene document for later restoration.
| Field | Type | Required |
|---|---|---|
after | MemberState or null | no |
before | MemberState or null | no |
Unknown fields are rejected.
#MemberPlacementHint
Placement-only seed; device binding and topology remain daemon-owned.
| Field | Type | Required |
|---|---|---|
orientation | Orientation or null | no |
position | NormalizedPosition | yes |
rotation | number (float) | no |
scale | number (float) | no |
segment | string or null | no |
size | NormalizedPosition | yes |
Unknown fields are rejected.
#MemberState
One output’s complete authored state for reversible membership edits.
| Field | Type | Required | Description |
|---|---|---|---|
index | integer | yes | Position in the owning zone’s ordered output list. |
output | Output | yes | |
zone_id | string | yes |
Unknown fields are rejected.
#PatchZoneRequest
PATCH /scene/zones/{zone} — name and structural fields.
| Field | Type | Required | Description |
|---|---|---|---|
brightness | number (float) or null | no | |
color | string or null | no | Tri-state: missing leaves the color, null clears it, a value sets it. |
enabled | boolean or null | no | |
index | integer or null | no | Move the zone to this position in the scene’s zone order, clamped to the last slot. Zone order is Studio’s tab order and the paint order of the scene preview projection. |
name | string or null | no |
Unknown fields are rejected.
Used by PATCH /api/v1/scene/zones/{zone} request.
#ReorderLayersRequest
PATCH /scene/zones/{zone}/layers/order — reorder the stack.
order names every layer in the zone exactly once, bottom to top; anything else is a validation error.
| Field | Type | Required |
|---|---|---|
order | array of SceneLayerId | yes |
Unknown fields are rejected.
Used by PATCH /api/v1/scene/zones/{zone}/layers/order request.
#ReplaceLayerRequest
PUT /scene/zones/{zone}/layers/{layer}: whole-layer replace.
Replacement is creation: every successful PUT mints a fresh layer id, same effect or not (Spec 78 §1.4). The request shape is the creation shape, except that an omitted scope keeps the replaced layer’s; the path names the layer being replaced.
| Field | Type | Required |
|---|---|---|
adjust | LayerAdjust or null | no |
bindings | array of LayerBinding or null | no |
blend | BlendMode or null | no |
enabled | boolean or null | no |
name | string or null | no |
opacity | number (float) or null | no |
scope | LayerScope or null | no |
source | LayerSource | yes |
transform | LayerTransform or null | no |
Unknown fields are rejected.
Used by PUT /api/v1/scene/zones/{zone}/layers/{layer} request.
#ReplaceSceneLayerRequest
One layer of a zone in a whole-scene replacement.
A layer that carries an id replaces the stored layer with that id; one without is new. scope has three states: leaving it out keeps the stored layer’s scope, null applies the layer to its whole zone, and a value sets it.
| Field | Type | Required |
|---|---|---|
adjust | LayerAdjust | no |
bindings | array of LayerBinding | no |
blend | BlendMode | no |
enabled | boolean | no |
id | SceneLayerId or null | no |
name | string or null | no |
opacity | number (float) | no |
scope | LayerScope or null | no |
source | LayerSource | yes |
transform | LayerTransform | no |
Unknown fields are rejected.
#ReplaceSceneRequest
Whole-document replacement body for PUT /api/v1/scenes/{id}.
Accepts the SceneDocument a GET returned, edited in place. The server-owned fields it echoes are checked rather than written: id, kind, and is_default must match the stored scene, and revision is an optimistic-concurrency precondition with the same meaning as If-Match.
| Field | Type | Required | Description |
|---|---|---|---|
activation_brightness | number (float) or null | no | |
description | string or null | no | |
enabled | boolean | yes | |
id | string or null | no | |
is_default | boolean or null | no | Echo of the read-only default-scene flag. Must match the stored scene when present; it can never be changed. |
kind | string | yes | |
layout_id | LayoutId or null | no | |
metadata | map of string | no | |
mutation_mode | string | no | |
name | string | yes | |
priority | integer (int32) | yes | |
revision | integer (int64) or null | no | The scene revision this replacement was built from. When present, a stale value is refused with 412 precondition_failed, exactly as a stale If-Match is. |
run_epoch | string or null | no | Echo of the daemon run the read came from. Together with revision it is the body’s fence: a document read in another daemon run is refused with 412 precondition_failed whatever its revision. Without revision it is not checked. |
transition | object | yes | |
unassigned_behavior | string | no | |
zones | array of ReplaceZoneRequest | no |
Unknown fields are rejected.
Used by PUT /api/v1/scenes/{id} request.
#ReplaceZoneRequest
| Field | Type | Required |
|---|---|---|
brightness | number (float) | yes |
color | string or null | no |
description | string or null | no |
display_target | object or null | no |
enabled | boolean | yes |
id | string or null | no |
layers | array of ReplaceSceneLayerRequest | no |
layout | ZoneLayoutResource or null | no |
members | array of ZoneMember | no |
name | string | yes |
role | string | no |
view_of | ZoneViewOf or null | no |
Unknown fields are rejected.
#SceneDocument
The GET /scene document: the full live tree.
Always present — an active scene always exists (Spec 78 §1.1), so there is no idle sentinel and no all-optional shape.
| Field | Type | Required | Description |
|---|---|---|---|
activation_brightness | number (float) or null | no | |
description | string or null | no | |
enabled | boolean | no | |
id | string | yes | |
is_default | boolean | yes | Whether this is the auto-managed default scene, which cannot be renamed or deleted. |
kind | string | yes | |
layout_id | LayoutId or null | no | |
metadata | map of string | no | |
mutation_mode | string | no | |
name | string | yes | |
priority | integer (int32) | no | |
revision | integer (int64) | yes | The commit generation, strictly increasing within a daemon run (Spec 78 §1.6). Served with run_epoch as the epoch-qualified ETag, "<run_epoch>:<revision>"; see SceneFence. |
run_epoch | string | no | Opaque identity of the daemon run revision belongs to, also served on every response as the hypercolor-run-epoch header. Compare by equality only: a change means the daemon restarted. A fence that names another run is always stale. Empty from daemons that predate it. |
transition | object | no | |
unassigned_behavior | string | no | |
zones | array of ZoneResource | yes | Every authored zone with its full stack, declaration order. |
Used by GET /api/v1/scene response, PATCH /api/v1/scene response, POST /api/v1/scene/clear response, POST /api/v1/scene/deactivate response, DELETE /api/v1/scene/zones/{zone} response, GET /api/v1/scenes/{id} response, PUT /api/v1/scenes/{id} response.
#SceneLayerListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of SceneLayer | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/scene/zones/{zone}/layers response.
#SceneLayoutActivationOutcome
Post-commit outcome for a scene’s optional named layout.
| Field | Type | Required |
|---|---|---|
applied | boolean | yes |
layout_id | LayoutId or null | no |
message | string or null | no |
#ScenePatchRequest
PATCH /scene — scene-level fields only (Spec 78 §1.2).
| Field | Type | Required | Description |
|---|---|---|---|
name | string or null | no | Rename; rejected for the default scene. |
unassigned_behavior | string or null | no |
Unknown fields are rejected.
Used by PATCH /api/v1/scene request.
#SceneSummary
One saved scene as listed by GET /api/v1/scenes.
| Field | Type | Required | Description |
|---|---|---|---|
activation_brightness | number (float) or null | no | Brightness applied on activation, when the scene sets one. |
description | string or null | no | |
enabled | boolean | no | Whether the scene participates in activation. Defaults true for daemons that predate the field. |
id | string | yes | |
layout_id | LayoutId or null | no | |
mutation_mode | string | no | Live vs snapshot-locked. Lets scene pickers mark locked scenes without inferring lock state from the live scene kind. |
name | string | yes | |
priority | integer (int32) | no |
Used by POST /api/v1/scenes response, POST /api/v1/scenes/snapshot response.
#SceneSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of SceneSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/scenes response.
#SnapshotSceneRequest
Request body for POST /api/v1/scenes/snapshot.
| Field | Type | Required |
|---|---|---|
description | string or null | no |
name | string | yes |
Unknown fields are rejected.
Used by POST /api/v1/scenes/snapshot request.
#ZoneLayoutRequest
PUT /scene/zones/{zone}/layout — zone-scoped spatial override, in the same compact shape the zone resource reads back.
| Field | Type | Required |
|---|---|---|
placements | array of MemberPlacement | yes |
Unknown fields are rejected.
Used by PUT /api/v1/scene/zones/{zone}/layout request.
#Layouts
#ApplyLayoutResponse
Response from POST /api/v1/layouts/{id}/apply.
| Field | Type | Required |
|---|---|---|
applied | boolean | yes |
layout | SpatialLayout | yes |
persistence_pending | boolean | yes |
Used by POST /api/v1/layouts/{id}/apply response.
#CreateLayoutRequest
Request body for POST /api/v1/layouts.
A layout has no size of its own: every LED layout renders at the configured render resolution (daemon.canvas_width and daemon.canvas_height).
| Field | Type | Required |
|---|---|---|
description | string or null | no |
name | string | yes |
Used by POST /api/v1/layouts request.
#DeleteLayoutResponse
Response from DELETE /api/v1/layouts/{id}.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
id | string | yes |
persistence_pending | boolean | yes |
Used by DELETE /api/v1/layouts/{id} response.
#LayoutSummary
Summary row from GET /api/v1/layouts.
| Field | Type | Required |
|---|---|---|
id | string | yes |
is_active | boolean | no |
name | string | yes |
zone_count | integer | yes |
Used by POST /api/v1/layouts response, PUT /api/v1/layouts/{id} response.
#LayoutSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of LayoutSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/layouts response.
#PreviewLayoutResponse
Response from PUT /api/v1/layouts/active/preview.
| Field | Type | Required |
|---|---|---|
previewing | boolean | yes |
Used by PUT /api/v1/layouts/active/preview response.
#SpatialLayout
Top-level spatial layout container.
Defines the complete mapping from a 2D effect canvas to the physical LED positions of every connected device. All coordinates use normalized [0.0, 1.0] space where (0,0) is top-left and (1,1) is bottom-right.
| Field | Type | Required | Description |
|---|---|---|---|
canvas_height | integer (int32) | no | Canvas height in pixels; see SpatialLayout::canvas_width. Read-only. |
canvas_width | integer (int32) | no | Canvas width in pixels this layout is sampled against. The engine owns it: an LED layout always carries the configured render resolution (daemon.canvas_width), and a display zone carries its face’s size. Nothing a client sends sets it. Read-only. |
default_edge_behavior | EdgeBehavior | no | Default edge behavior for zones that don’t specify one. |
default_sampling_mode | SamplingMode | no | Default sampling mode for zones that don’t specify one. |
description | string or null | no | Optional description for the layout editor UI. |
id | string | yes | Unique layout identifier (UUID or slug). |
name | string | yes | Human-readable name (e.g., “Bliss’s PC Case”, “Full Room”). |
version | integer (int32) | yes | Schema version for forward-compatible migrations. |
zones | array of Output | yes | All device zones in this layout, ordered by rendering priority. |
Used by GET /api/v1/layouts/active response, PUT /api/v1/layouts/active/preview request, GET /api/v1/layouts/{id} response.
#UpdateLayoutRequest
Request body for PUT /api/v1/layouts/{id}.
Omitted fields leave the stored layout untouched; a present zones list replaces the layout’s outputs wholesale.
| Field | Type | Required |
|---|---|---|
description | string or null | no |
name | string or null | no |
zones | array of Output or null | no |
Used by PUT /api/v1/layouts/{id} request.
#Library
#ActivatePlaylistResponse
Response for POST /api/v1/library/playlists/{id}/activate.
| Field | Type | Required |
|---|---|---|
active | boolean | yes |
playlist | ActivePlaylistResponse | yes |
Used by POST /api/v1/library/playlists/{id}/activate response.
#ActivePlaylistResponse
The playlist the daemon is currently cycling through.
This is the live runtime’s view, not the stored playlist: the item list is reduced to item_count, and started_at_ms is when playback began rather than when the playlist was saved.
| Field | Type | Required |
|---|---|---|
id | string | yes |
item_count | integer | yes |
loop_enabled | boolean | yes |
name | string | yes |
started_at_ms | integer (int64) | yes |
#ActivePlaylistStateResponse
Response for GET /api/v1/library/playlists/active.
The route answers 404 when nothing is playing, so state is always "running" on a success.
| Field | Type | Required |
|---|---|---|
playlist | ActivePlaylistResponse | yes |
state | string | no |
Used by GET /api/v1/library/playlists/active response.
#AddFavoriteRequest
Request body for POST /api/v1/library/favorites.
| Field | Type | Required | Description |
|---|---|---|---|
effect | string | yes | Effect id to favorite. |
Used by POST /api/v1/library/favorites request.
#AddFavoriteResponse
Response for POST /api/v1/library/favorites.
created is false when the effect was already favorited, which re-stamps added_at_ms rather than erroring.
| Field | Type | Required |
|---|---|---|
created | boolean | yes |
favorite | FavoriteSummary | yes |
Used by POST /api/v1/library/favorites response.
#DeactivatePlaylistResponse
Response for POST /api/v1/library/playlists/deactivate.
| Field | Type | Required | Description |
|---|---|---|---|
deactivated | boolean | yes | |
playlist | ActivePlaylistResponse | yes | The playlist as it stood when playback was deactivated. |
Used by POST /api/v1/library/playlists/deactivate response.
#DeleteFavoriteResponse
Response for DELETE /api/v1/library/favorites/{effect}.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
effect_id | string | yes |
Used by DELETE /api/v1/library/favorites/{effect} response.
#DeletePlaylistResponse
Response for DELETE /api/v1/library/playlists/{id}.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
id | string | yes |
Used by DELETE /api/v1/library/playlists/{id} response.
#DeletePresetResponse
Response for DELETE /api/v1/library/presets/{id}.
id is the resolved preset id, which differs from the path segment when the caller addressed the preset by name.
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
id | string | yes |
Used by DELETE /api/v1/library/presets/{id} response.
#EffectPlaylist
A user-defined effect sequence.
| Field | Type | Required |
|---|---|---|
created_at_ms | integer (int64) | yes |
description | string or null | no |
id | PlaylistId | yes |
items | array of PlaylistItem | no |
loop_enabled | boolean | yes |
name | string | yes |
updated_at_ms | integer (int64) | yes |
Used by POST /api/v1/library/playlists response, GET /api/v1/library/playlists/{id} response, PUT /api/v1/library/playlists/{id} response.
#EffectPlaylistListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of EffectPlaylist | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/library/playlists response.
#EffectPreset
A saved parameter snapshot for one effect.
| Field | Type | Required |
|---|---|---|
controls | map of ControlValue | no |
created_at_ms | integer (int64) | no |
description | string or null | no |
effect_id | EffectId | yes |
id | PresetId | yes |
name | string | yes |
tags | array of string | no |
updated_at_ms | integer (int64) | no |
Used by POST /api/v1/library/presets response, GET /api/v1/library/presets/{id} response, PUT /api/v1/library/presets/{id} response.
#EffectPresetListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of EffectPreset | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/library/presets response.
#FavoriteSummary
One favorited effect.
effect_name is resolved from the registry at request time and falls back to the id when the effect is no longer installed.
| Field | Type | Required |
|---|---|---|
added_at_ms | integer (int64) | no |
effect_id | string | yes |
effect_name | string | no |
#FavoriteSummaryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of FavoriteSummary | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/library/favorites response.
#PlaylistId
Opaque identifier for a playlist.
Type: string (uuid).
#PlaylistItem
One item in a playlist sequence.
| Field | Type | Required |
|---|---|---|
duration_ms | integer (int64) or null | no |
id | PlaylistItemId | yes |
target | PlaylistItemTarget | yes |
transition_ms | integer (int64) or null | no |
#PlaylistItemId
Opaque identifier for a playlist item.
Type: string (uuid).
#PlaylistItemRequest
One item in a saved playlist.
| Field | Type | Required |
|---|---|---|
duration_ms | integer (int64) or null | no |
target | PlaylistTargetRequest | yes |
transition_ms | integer (int64) or null | no |
#PlaylistItemTarget
Target entity for one playlist slot.
One of these variants, told apart by type:
type | Fields | Description |
|---|---|---|
"effect" | effect_id: EffectId | Run an effect directly. |
"preset" | preset_id: PresetId | Run a saved preset (effect + controls). |
#PlaylistTargetRequest
What one playlist item plays.
One of these variants, told apart by type:
type | Fields |
|---|---|
"effect" | effect: string |
"preset" | preset_id: string |
#SavePlaylistRequest
Request body for POST /api/v1/library/playlists and PUT /api/v1/library/playlists/{id}.
| Field | Type | Required |
|---|---|---|
description | string or null | no |
items | array of PlaylistItemRequest or null | no |
loop_enabled | boolean or null | no |
name | string | yes |
Used by POST /api/v1/library/playlists request, PUT /api/v1/library/playlists/{id} request.
#SavePresetRequest
Request body for POST /api/v1/library/presets and PUT /api/v1/library/presets/{id}.
| Field | Type | Required | Description |
|---|---|---|---|
controls | any | no | |
description | string or null | no | |
effect | string | yes | Effect the preset’s control values belong to. |
name | string | yes | |
tags | array of string or null | no |
Used by POST /api/v1/library/presets request, PUT /api/v1/library/presets/{id} request.
#Capture and input
#CaptureAuthorizationResponse
| Field | Type | Required |
|---|---|---|
authorized | boolean | yes |
grant_owner | ProtectedSourceGrantOwner | yes |
Used by POST /api/v1/capture/authorize response, POST /api/v1/input/authorize response.
#CaptureMonitor
| Field | Type | Required |
|---|---|---|
height | integer (int32) | yes |
id | string | yes |
index | integer | yes |
name | string | yes |
primary | boolean | yes |
value | string | yes |
width | integer (int32) | yes |
#CaptureMonitorListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of CaptureMonitor | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/capture/monitors response.
#CapturePickerResponse
| Field | Type | Required |
|---|---|---|
grant_owner | ProtectedSourceGrantOwner | yes |
picking | boolean | yes |
Used by PUT /api/v1/capture/source response.
#ProtectedSourceGrantOwner
One of app_sidecar, app, launchd_service, homebrew_service, broker, standalone, platform_backend.
#Configuration
#ApplyPolicy
How a change to a key takes effect.
One of these variants, told apart by kind:
kind | Fields | Description |
|---|---|---|
"live" | section: LiveSection | The daemon actively re-applies the change through the named subsystem’s dispatch. |
"live_on_read" | none | Read fresh on every use — takes effect on the next read with no dispatch (session policy, per-scene media admission, driver settings). |
"next_scan" | none | The discovery worker resolves it on its next tick. |
"restart" | none | Frozen at startup; takes effect at the next daemon start. |
"inert" | none | Parsed and persisted, but nothing in the daemon reads it today. |
#ConfigDocument
Effective daemon config returned by GET /api/v1/config.
The key registry defines the individual fields. The document stays open-ended here because extensions can add config sections without changing the base daemon schema.
Type: map of any.
Used by GET /api/v1/config response.
#ConfigKeyResponse
Response from GET /api/v1/config/keys/{key}.
| Field | Type | Required |
|---|---|---|
key | string | yes |
value | any | yes |
Used by GET /api/v1/config/keys/{key} response.
#ConfigKeySchemaEntry
One schema row as served to clients (GET /config/schema, wave 4.3) — the wire projection of a descriptor.
| Field | Type | Required | Description |
|---|---|---|---|
apply | ApplyPolicy | yes | How changes take effect. |
has_validator | boolean | yes | Whether the daemon runs extra validation beyond type checking. |
pattern | string | yes | The pattern text: an exact key, a section root, a namespace root suffixed .*, or * for the extensions catch-all. |
protection | Protection | no | Which writes need a protected-control credential. |
redaction | Redaction | yes | Read-surface rendering. |
#ConfigKeySchemaEntryListResponse
Canonical list payload: honest pagination or none at all.
page: None means the response is complete — no fabricated limit/has_more block pretending a paging contract that doesn’t exist. page: Some means the endpoint genuinely pages.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of ConfigKeySchemaEntry | yes | The items. |
page | PageInfo or null | no | |
total | integer (int64) | yes | Total matching items (across all pages when paged). |
Used by GET /api/v1/config/schema response.
#ConfigMutationResponse
Outcome of a config write, key reset, or whole-config reset.
| Field | Type | Required | Description |
|---|---|---|---|
key | string or null | no | The mutated key, or null for a whole-config reset. |
live | boolean | yes | Whether the daemon re-applied the change to a running subsystem. |
path | string | yes | The config file the write targets. |
pending_restart | array of string | yes | Restart-classified roots whose persisted value now differs from the one the daemon booted with. |
persisted | boolean | no | Whether path holds the live config after this request. False means the change is live in the running daemon but the file write failed: the daemon keeps retrying it, and a restart before a retry lands loads the older file. A response without the field reads as persisted, so treat only an explicit false as unsaved. Default true. |
persistence_error | string or null | no | Why path lags the live config, present only when persisted is false. |
requires_restart | boolean | yes | Whether the registry classifies this key as boot-frozen, so the persisted value only takes effect at the next daemon start. |
value | any | no | The effective value after the write, rendered like any read. Null for a whole-config reset, whose payload spans every key. |
Used by PUT /api/v1/config/keys/{key} response, PATCH /api/v1/config/keys/{key} response, DELETE /api/v1/config/keys/{key} response, POST /api/v1/config/reset response.
#LiveSection
The daemon subsystem a live-applied key re-configures.
One of audio, capture, input, render.
#Protection
Which writes to a row need a protected-control credential.
Protected controls start or retarget a consented capture stream, so they stay behind an API key even on a keyless install; tuning an already-consented stream does not.
One of open, section_root, tree.
#Redaction
How a key’s value renders on read surfaces (config GET, schema, events).
One of plain, secret.
#Value
Any JSON value.
Used by PUT /api/v1/config/keys/{key} request, PATCH /api/v1/config/keys/{key} request.
#Backups
#BackupApplyRequest
| Field | Type | Required |
|---|---|---|
operation_id | string (uuid) | yes |
Unknown fields are rejected.
Used by POST /api/v1/backups/apply request.
#BackupApplyResponse
| Field | Type | Required |
|---|---|---|
missing_resources | MissingSetupResources | no |
operation_id | string (uuid) | yes |
unresolved_devices | array of string | yes |
Used by POST /api/v1/backups/apply response.
#BackupPreview
| Field | Type | Required |
|---|---|---|
effects | integer (int64) | yes |
favorites | integer (int64) | yes |
includes_preferences | boolean | yes |
layouts | integer (int64) | yes |
media | integer (int64) | yes |
missing_resources | MissingSetupResources | no |
name | string | yes |
operation_id | string (uuid) | yes |
scenes | integer (int64) | yes |
unresolved_devices | array of string | yes |
Used by POST /api/v1/backups/import response.
#MissingSetupResources
Referenced content that must be installed or imported on this computer.
| Field | Type | Required |
|---|---|---|
effects | array of EffectId | no |
media | array of AssetId | no |
presets | array of PresetId | no |
#Diagnostics
#DiagnoseCheck
| Field | Type | Required |
|---|---|---|
category | string | yes |
detail | string | yes |
name | string | yes |
status | string | yes |
#DiagnoseDeviceOutputItem
| Field | Type | Required | Description |
|---|---|---|---|
accepted | integer (int64) | yes | |
accepted_fps | number (float) | yes | |
avg_latency_ms | integer (int32) | yes | |
avg_queue_wait_ms | integer (int32) | yes | |
avg_transport_latency_ms | integer (int32) | yes | |
avg_write_ms | integer (int32) | yes | |
backend_id | string | yes | |
coalesced | integer (int64) | yes | |
coalesced_backend_overrun | integer (int64) | yes | |
coalesced_target_cadence | integer (int64) | yes | |
completed_payload_bytes | integer (int64) | yes | |
delivered_fps | number (float) | yes | |
display_queue_generation | integer (int64) or null | no | |
display_transport_completed | integer (int64) | yes | |
display_transport_failed | integer (int64) | yes | |
display_transport_started | integer (int64) | yes | |
errors_total | integer (int64) | yes | |
fps_queued | number (float) | yes | |
fps_sent | number (float) | yes | |
fps_target | integer (int32) | yes | |
frames_dropped | integer (int64) | yes | |
frames_received | integer (int64) | yes | |
frames_sent | integer (int64) | yes | |
id | string | yes | |
last_error | string or null | no | |
last_sent_ago_ms | integer (int64) or null | no | |
last_sequence | integer (int64) | yes | |
last_transport_completed_sequence | integer (int64) | yes | |
last_transport_failed_sequence | integer (int64) | yes | |
last_transport_started_sequence | integer (int64) | yes | |
mapped_layout_ids | array of string | yes | |
queue_generation | integer (int64) | yes | |
transport_completed | integer (int64) | yes | |
transport_declined | integer (int64) | no | Delivery attempts the transport delivered and the device declined. A declined frame counts as neither completed nor failed. Once none is in flight, transport_started equals transport_completed plus transport_declined plus the failed attempts that reached the transport, since transport_failed also counts attempts rejected before any I/O. Daemons older than this field omit it. |
transport_failed | integer (int64) | yes | |
transport_started | integer (int64) | yes | |
uses_frame_sink | boolean | yes | |
worker_finished | boolean | yes |
#DiagnoseDeviceOutputSnapshot
| Field | Type | Required |
|---|---|---|
dropped_frames_total | integer (int64) | yes |
errors_total | integer (int64) | yes |
items | array of DiagnoseDeviceOutputItem | yes |
lagging_queues | integer | yes |
queues | integer | yes |
usb_queues | integer | yes |
worker_finished_queues | integer | yes |
#DiagnoseDisplayOutputSnapshot
| Field | Type | Required |
|---|---|---|
captured_devices | integer | yes |
encode_attempts_total | integer (int64) | yes |
encode_avg_ms | number (double) | yes |
encode_failures_total | integer (int64) | yes |
encode_last_ms | number (double) or null | no |
encode_max_ms | number (double) | yes |
encode_successes_total | integer (int64) | yes |
encoded_bytes_total | integer (int64) | yes |
encoded_last_bytes | integer (int64) | yes |
last_failure_age_ms | integer (int64) or null | no |
preview_subscribers | integer | yes |
retry_attempts_total | integer (int64) | yes |
write_attempts_total | integer (int64) | yes |
write_failures_total | integer (int64) | yes |
write_successes_total | integer (int64) | yes |
#DiagnoseLatestFrameSnapshot
| Field | Type | Required | Description |
|---|---|---|---|
composition_us | integer (int32) | yes | |
compositor_backend | string | yes | |
cpu_readback_skipped | boolean | yes | |
cpu_sampled_zone_count | integer (int32) | no | Scene zones whose LEDs sampled a CPU-backed zone frame on the CPU. Zero when the frame sampled no per-zone set. Absent from older daemons. |
devices_written | integer (int32) | yes | |
frame_age_ms | number (double) | yes | |
frame_token | integer (int64) | yes | |
gpu_readback_failed | boolean | yes | |
gpu_sample_cpu_fallback | boolean | yes | |
gpu_sample_deferred | boolean | yes | |
gpu_sample_queue_saturated | boolean | yes | |
gpu_sample_retry_hit | boolean | yes | |
gpu_sample_stale | boolean | yes | |
gpu_sample_wait_blocked | boolean | yes | |
gpu_sampled_zone_count | integer (int32) | no | Scene zones whose LEDs sample their own zone texture on the GPU; the gpu_sample_* flags say whether this frame’s sample landed. Zero when the frame sampled no per-zone set (a single-zone scene, or the CPU backend). Absent from older daemons. |
gpu_sampling_passes | integer (int32) | no | Texture passes the GPU sampler encoded for the frame’s LEDs: one per sampled zone texture, plus one when unassigned fallback outputs ride along. Zero when the sample cache answered or nothing dispatched. Absent from older daemons. |
gpu_zone_sampling | boolean | yes | |
held_zone_count | integer (int32) | no | Scene zones with no frame to sample, whose LEDs held their published colors or went black. Zero when the frame sampled no per-zone set. Absent from older daemons. |
input_us | integer (int32) | yes | |
output_brightness_bits | integer (int32) | yes | |
output_brightness_generation | integer (int64) | yes | |
output_errors | integer (int32) | yes | |
output_frame_source | string | yes | |
output_reuses_published_frame | boolean | yes | |
output_routing_signature | integer (int64) | yes | |
output_unassigned_behavior_generation | integer (int64) | yes | |
output_zone_shape_signature | integer (int64) | yes | |
overhead_us | integer (int32) | yes | |
producer_us | integer (int32) | yes | |
publish_us | integer (int32) | yes | |
push_us | integer (int32) | yes | |
render_us | integer (int32) | yes | |
sample_us | integer (int32) | yes | |
total_leds | integer (int32) | yes | |
total_us | integer (int32) | yes | |
zone_composition_skips | integer (int32) | no | Scene zones whose layers matched their held frame, so they skipped composing this frame. Absent from older daemons. |
#DiagnoseRenderSnapshot
| Field | Type | Required | Description |
|---|---|---|---|
latest_frame | DiagnoseLatestFrameSnapshot or null | no | |
output_demand | RenderOutputDemandStatus | no | What consumes rendered frames, and whether the loop parked because nothing does. Absent from older daemons. |
recent_window | DiagnoseRenderWindowSnapshot | yes | |
supervision | RenderSupervisionStatus | no | Supervised render thread health, restart counts, and the last failure. Absent from older daemons. |
#DiagnoseRenderWindowSnapshot
| Field | Type | Required |
|---|---|---|
frames | integer (int32) | yes |
gpu_sample_cpu_fallback | integer (int32) | yes |
gpu_sample_deferred | integer (int32) | yes |
gpu_sample_queue_saturated | integer (int32) | yes |
gpu_sample_retry_hit | integer (int32) | yes |
gpu_sample_stale | integer (int32) | yes |
gpu_sample_wait_blocked | integer (int32) | yes |
output_current_frame | integer (int32) | yes |
output_error_frames | integer (int32) | yes |
output_published_frame | integer (int32) | yes |
output_reused_published_frame | integer (int32) | yes |
output_routed_reuse | integer (int32) | yes |
publish_avg_ms | number (double) | yes |
publish_p95_ms | number (double) | yes |
push_avg_ms | number (double) | yes |
push_p95_ms | number (double) | yes |
#DiagnoseRequest
Optional body for POST /api/v1/diagnose.
Omitting checks runs the full check set; system adds the host environment section to the report.
| Field | Type | Required |
|---|---|---|
checks | array of string or null | no |
system | boolean or null | no |
Used by POST /api/v1/diagnose request.
#DiagnoseResponse
| Field | Type | Required |
|---|---|---|
checks | array of DiagnoseCheck | yes |
snapshot | DiagnoseSnapshot | yes |
summary | DiagnoseSummary | yes |
Used by POST /api/v1/diagnose response.
#DiagnoseSnapshot
| Field | Type | Required |
|---|---|---|
device_output | DiagnoseDeviceOutputSnapshot | yes |
display_output | DiagnoseDisplayOutputSnapshot | yes |
input | InputStatus | yes |
macos_screen_parity | any | no |
render | DiagnoseRenderSnapshot | yes |
usb | DiagnoseUsbActorSnapshot | yes |
#DiagnoseSummary
| Field | Type | Required |
|---|---|---|
failed | integer | yes |
passed | integer | yes |
warnings | integer | yes |
#DiagnoseUsbActorSnapshot
| Field | Type | Required |
|---|---|---|
display_frames_delayed_for_led_total | integer (int64) | yes |
display_frames_total | integer (int64) | yes |
display_led_priority_wait_avg_ms | number (double) | yes |
display_led_priority_wait_max_ms | number (double) | yes |
display_led_priority_wait_total_ms | number (double) | yes |
#Shared
#AssetId
Opaque identifier for a user media asset.
Type: string (uuid).
#AudioBand
Coarse audio features exposed to layer bindings.
One of bass, mid, treble, rms, peak, beat_pulse, onset_pulse.
#BindingMap
Linear mapping from source values into target parameter values.
| Field | Type | Required |
|---|---|---|
clamp | boolean | no |
source_max | number (float) | yes |
source_min | number (float) | yes |
target_max | number (float) | yes |
target_min | number (float) | yes |
#BindingSource
Runtime source that drives a layer binding.
One of these variants, told apart by kind:
kind | Fields |
|---|---|
"audio_band" | band: AudioBand |
"sensor" | name: string |
"time" | rate_hz: number (float)wave: TimeWave |
"constant" | value: number (float) |
#BlendMode
Blend mode used by authored layers and display faces.
One of replace, alpha, add, screen, multiply, overlay, soft_light, color_dodge, difference, tint, luma_reveal.
#ComponentCanvasSize
Default visual footprint for placing an attachment in the layout editor.
| Field | Type | Required | Description |
|---|---|---|---|
height | number (float) | yes | Height as a normalized fraction of the canvas. |
width | number (float) | yes | Width as a normalized fraction of the canvas. |
#ComponentCategory
Template category used for filtering and UI grouping.
One of these variants:
| Variant | Fields | Description |
|---|---|---|
"Fan" | Standard fan lighting ring or fan frame. | |
"Strip" | Generic linear strip. | |
"Aio" | AIO pump/block accent or halo. | |
"Strimer" | Lian Li Strimer-style power cable sleeves. | |
"Case" | Case accent lighting. | |
"Heatsink" | CPU tower coolers with integrated lighting. | |
"Radiator" | Radiator, case-edge, or other straight accessory strip. | |
"Matrix" | Generic rectangular matrix or panel. | |
"Ring" | Generic ring or halo. | |
"Bulb" | Single-point bulb or indicator. | |
{ "Other": … } | Other: string | Anything that does not fit a standard preset family. |
#ControlBinding
Live mapping from a system sensor reading into a control value.
| Field | Type | Required | Description |
|---|---|---|---|
deadband | number (float) | no | Minimum source-value delta required before the binding updates. |
sensor | string | yes | Stable sensor label to sample from the current system snapshot. |
sensor_max | number (float) | yes | Upper bound of the source sensor range. |
sensor_min | number (float) | yes | Lower bound of the source sensor range. |
smoothing | number (float) | no | Temporal smoothing factor. 0.0 is immediate, 0.99 is very slow. |
target_max | number (float) | yes | Upper bound of the mapped control range. |
target_min | number (float) | yes | Lower bound of the mapped control range. |
#ControlDefinition
A single user-facing parameter declared by an effect.
The UI generates widgets from these definitions. Admitted control changes enter renderer state at a frame boundary; unchanged values remain in that state without repeated control-plane injection.
| Field | Type | Required | Description |
|---|---|---|---|
aspect_lock | number (float) or null | no | Optional fixed aspect ratio (width / height) for rect controls. |
binding | ControlBinding or null | no | |
control_type | ControlType | yes | Widget kind and constraints. |
default_value | ControlValue | yes | Initial value. Must be compatible with control_type. |
group | string or null | no | Optional grouping for the control panel UI. |
id | string | no | Stable control identifier used in API payloads and renderer globals. |
kind | ControlKind | no | Semantic kind from source metadata (LightScript). |
labels | array of string | no | Labels for Dropdown options. |
max | number (float) or null | no | Maximum numeric bound (applicable to Slider controls). |
min | number (float) or null | no | Minimum numeric bound (applicable to Slider controls). |
name | string | yes | Human-readable label shown in the control panel. |
preview_source | PreviewSource or null | no | |
step | number (float) or null | no | Step increment for numeric controls. None means continuous. |
tooltip | string or null | no | Help text shown on hover/focus. |
#ControlKind
Semantic control kind declared by an effect source.
This keeps LightScript metadata semantics intact even when multiple kinds map to the same UI widget type.
One of these variants:
| Variant | Fields | Description |
|---|---|---|
"number" | Generic numeric value. | |
"boolean" | Boolean on/off value. | |
"color" | Hex or structured color value. | |
"combobox" | Named option from a fixed set. | |
"sensor" | Sensor selector value (for example CPU/GPU metrics). | |
"hue" | Hue wheel numeric value. | |
"area" | Area/region scalar value. | |
"text" | Free-form text value. | |
"rect" | Normalized rectangular viewport value. | |
{ "other": … } | other: string | Unknown/unmapped kind from source metadata. |
#ControlType
Widget kind for a user-facing effect control.
Each variant maps to a specific UI component in the control panel.
One of slider, toggle, color_picker, gradient_editor, dropdown, text_input, asset, rect.
#ControlValue
One of these variants, told apart by kind:
kind | Fields |
|---|---|
"null" | none |
"bool" | value: boolean |
"int" | value: integer (int64) |
"float" | value: number (double) |
"text" | value: string |
"secret_ref" | value: string |
"ip" | value: string |
"mac" | value: string |
"duration" | value: integer (int64) |
"color_rgb" | value: Rgb |
"color_rgba" | value: Rgba |
"color_linear" | value: LinearRgba |
"gradient" | value: array of GradientStop |
"rect" | value: NormalizedRect |
"enum" | value: string |
"flags" | value: array of string |
"list" | value: array of ControlValue |
"map" | value: map of ControlValue |
"unknown" | none |
#Corner
Corner for matrix start position.
One of top_left, top_right, bottom_left, bottom_right.
#CoverageActive
Which stack currently owns the hardware in one coverage row.
One of native, bridge, none, conflict.
#CoverageBridgeDevice
The bridge side of a coverage row.
| Field | Type | Required | Description |
|---|---|---|---|
device_id | string | yes | |
disabled_reason | string or null | no | |
output_enabled | boolean | yes | |
state | string | yes | Lifecycle state name in lowercase. |
#CoverageIdentity
The physical-device identity a coverage row was joined on.
| Field | Type | Required | Description |
|---|---|---|---|
kind | CoverageIdentityKind | yes | |
label | string | yes | Best available human label for the hardware. |
value | string | yes | The normalized key value. |
#CoverageIdentityKind
Which key joined the sources of one coverage row.
One of serial, smbus, usb_path, device.
#CoverageNativeDevice
The native side of a coverage row.
| Field | Type | Required | Description |
|---|---|---|---|
device_id | string | yes | |
driver_id | string | yes | |
state | string | yes | Lifecycle state name in lowercase (connected, known, …). |
#DeviceClassHint
Presentation hint for devices owned by a driver module.
One of keyboard, mouse, hub, controller, light, display, audio, other.
#DeviceCoverageRow
One physical device across the native registry, bridge routes, and the unclaimed inventory.
| Field | Type | Required | Description |
|---|---|---|---|
active | CoverageActive | yes | |
bridge | CoverageBridgeDevice or null | no | |
identity | CoverageIdentity | yes | |
native | CoverageNativeDevice or null | no | |
unclaimed | boolean | yes | Whether the unclaimed USB inventory also lists this hardware. |
#DeviceId
Opaque, globally unique device identifier.
Wraps a UUIDv7 so identifiers are time-ordered and safe to use as database keys, map keys, and log correlation IDs.
Type: string (uuid).
#DisplayRotation
Quarter turns applied to everything drawn on a display. A mounting fact about the panel, stored with the device’s user settings so it holds across scenes, faces, and media layers alike.
One of deg0, deg90, deg180, deg270.
#DriverConfigEntry
Host-owned wrapper around one driver’s settings.
| Field | Type | Required |
|---|---|---|
enabled | boolean | no |
Other keys may hold any JSON value.
#DriverPresentation
API and UI presentation metadata for a driver module.
| Field | Type | Required | Description |
|---|---|---|---|
accent_rgb | array of integer (int32) or null | no | Primary RGB accent color. |
default_device_class | DeviceClassHint or null | no | |
icon | string or null | no | Stable icon identifier. |
label | string | yes | Human-readable driver label. |
secondary_rgb | array of integer (int32) or null | no | Secondary RGB accent color. |
short_label | string or null | no | Compact label for dense UI surfaces. |
#DriverTransportKind
API-facing transport category for a driver module.
One of these variants:
| Variant | Fields | Description |
|---|---|---|
"network" | IP network transport. | |
"usb" | USB HID, bulk, serial-over-USB, or vendor USB transport. | |
"smbus" | Local I2C/SMBus transport. | |
"midi" | MIDI transport. | |
"serial" | Host serial transport. | |
"virtual" | In-process or synthetic transport. | |
"bridge" | Out-of-process bridge transport. | |
{ "custom": … } | custom: string | Driver-defined transport category. |
#EdgeBehavior
Edge behavior for out-of-bounds LED positions.
One of these variants:
"clamp": Clamp coordinates to canvas bounds (default).
"wrap": Wrap around to the opposite edge for seamless loop effects.
{ "fade_to_black": … }: Fade to black outside canvas bounds. falloff controls fade rate.
| Field | Type | Required | Description |
|---|---|---|---|
fade_to_black | object | yes | Fade to black outside canvas bounds. falloff controls fade rate. |
fade_to_black.falloff | number (float) | yes | Higher values produce a sharper cutoff. |
"mirror": Mirror coordinates at canvas edges for symmetric reflections.
#EffectCategory
Primary classification categories for the effect taxonomy.
An effect can belong to multiple categories. Used for discovery and filtering in the effect browser UI.
One of ambient, audio, generative, particle, scenic, interactive, fun, source, utility, display.
Used by GET /api/v1/effects parameter.
#EffectId
Opaque stable identifier for an effect, wrapping a UUID.
The effect source owns its generation policy. Loaders may derive a stable UUID from source identity or accept an explicitly authored UUID; callers must not infer UUID version or creation time from this type.
Type: string (uuid).
#FitMode
How a cropped viewport maps into a destination canvas.
One of contain, cover, stretch, tile, mirror.
#GpuErrorStatus
Uncaptured wgpu errors and device losses since the daemon started.
| Field | Type | Required | Description |
|---|---|---|---|
device_lost | integer (int64) | yes | |
internal_errors | integer (int64) | yes | |
last_error | string or null | no | device: kind: message of the most recent one. Absent when there was none, or when the caller may not read private diagnostics. |
out_of_memory_errors | integer (int64) | yes | |
validation_errors | integer (int64) | yes |
#GradientStop
A single stop in a color gradient.
Position is normalized 0.0..=1.0 along the gradient axis. Color is stored as linear RGBA ([f32; 4]).
| Field | Type | Required | Description |
|---|---|---|---|
color | array of number (float) | yes | Linear RGBA color at this stop. |
position | number (float) | yes | Position along the gradient axis, 0.0 = start, 1.0 = end. At least 0, at most 1. |
#InputSourceIssueStatus
Structured source issue safe for operational status surfaces.
| Field | Type | Required |
|---|---|---|
code | string | yes |
message | string | yes |
remediation | string or null | no |
retryable | boolean | yes |
#InputSourceStatus
Lock-free lifecycle and freshness status for one input source.
| Field | Type | Required |
|---|---|---|
action_issue | InputSourceIssueStatus or null | no |
active_consumer_count | integer | yes |
backend | string | yes |
configured | boolean | yes |
consented | boolean | yes |
demanded | boolean | yes |
denied_resource_count | integer | yes |
diagnostics | SourceDiagnosticsEnvelope or null | no |
freshness | string | yes |
freshness_issue | InputSourceIssueStatus or null | no |
freshness_remaining_ms | integer (int64) or null | no |
issue | InputSourceIssueStatus or null | no |
kind | string | yes |
last_sample_age_ms | integer (int64) or null | no |
lifecycle_issue | InputSourceIssueStatus or null | no |
resource_count | integer | yes |
retired | boolean | yes |
session_generation | integer (int64) | yes |
source_graph_generation | integer (int64) | yes |
source_id | string | yes |
state | string | yes |
#InputStatus
Host keyboard/mouse capture health, for consent and remediation UX.
enabled is the consent config gate. host_capturing is true when a host backend is actively reading device nodes. devices_denied counts input nodes present but unreadable (udev rules missing), the signal that distinguishes “input is off” from “input is on but blocked”.
degraded carries the failures the counters cannot express. Windows has no per-device denial to count: either the process has a visible window station and sees input, or it does not, and that is a session-level fact rather than a per-node one.
| Field | Type | Required |
|---|---|---|
backends | array of string | yes |
degraded | string or null | no |
devices_denied | integer | yes |
devices_opened | integer | yes |
enabled | boolean | yes |
host_capture_registered | boolean | yes |
host_capturing | boolean | yes |
source_graph_generation | integer (int64) | yes |
sources | array of InputSourceStatus | yes |
#LayerAdjust
Per-layer color adjustment settings.
| Field | Type | Required |
|---|---|---|
brightness | number (float) | yes |
contrast | number (float) | yes |
hue_shift | number (float) | yes |
saturation | number (float) | yes |
tint | array of number (float) | yes |
tint_strength | number (float) | yes |
#LayerBinding
Live mapping from runtime data to a scalar layer parameter.
| Field | Type | Required |
|---|---|---|
map | BindingMap | yes |
source | BindingSource | yes |
target | LayerParameter | yes |
#LayerParameter
Bindable scalar layer parameters.
One of opacity, brightness, saturation, hue_shift, tint_strength, contrast, scale_x, scale_y, rotation, playback_speed.
#LayerScope
The outputs one layer is limited to.
| Field | Type | Required | Description |
|---|---|---|---|
outputs | array of string | yes | Output ids of the owning zone: the value Output::id holds in the zone’s layout and ZoneMember::id carries on the wire. Sorted, unique, never empty. |
#LayerSource
Source that feeds one authored layer.
One of these variants, told apart by type:
type: "effect": A Hypercolor effect from the registry.
| Field | Type | Required |
|---|---|---|
control_bindings | map of ControlBinding | no |
controls | map of ControlValue | no |
effect_id | EffectId | yes |
preset_id | PresetId or null | no |
type: "media": A media asset from the asset library.
| Field | Type | Required |
|---|---|---|
asset_id | AssetId | yes |
playback | MediaPlayback | no |
type: "screen_region": Live screen capture, full screen or sub-region.
| Field | Type | Required |
|---|---|---|
viewport | ViewportRect | no |
type: "web_viewport": Arbitrary URL via the web viewport renderer.
| Field | Type | Required |
|---|---|---|
render | WebViewportRender | no |
url | string | yes |
viewport | ViewportRect | no |
type: "color_fill": Constant color fill.
| Field | Type | Required |
|---|---|---|
rgba | array of number (float) | yes |
#LayerTransform
Geometric placement for a layer source.
| Field | Type | Required |
|---|---|---|
anchor | NormalizedPosition | yes |
fit | FitMode | yes |
rotation | number (float) | yes |
scale | array of number (float) | yes |
#LedTopology
LED arrangement within a zone’s bounding rectangle.
Each variant computes zone-local positions in normalized [0.0, 1.0] space. The topology determines how many LEDs exist and where they sit within the zone’s rectangular bounds.
One of these variants, told apart by type:
type: "strip": Linear strip: LEDs in a straight line across the zone. The strip runs along one axis; the perpendicular axis is fixed at 0.5 (the zone midline).
| Field | Type | Required | Description |
|---|---|---|---|
count | integer (int32) | yes | Total number of LEDs. |
direction | StripDirection | yes | Which direction LED index 0 starts from. |
type: "matrix": 2D grid of LEDs (WLED matrix, Strimer, LED panel). Row-major indexing. The serpentine flag affects output buffer ordering only, NOT spatial positions.
| Field | Type | Required | Description |
|---|---|---|---|
height | integer (int32) | yes | Rows in the grid. |
serpentine | boolean | yes | Alternating row direction for serpentine wiring. |
start_corner | Corner | yes | Which corner is LED index 0. |
width | integer (int32) | yes | Columns in the grid. |
type: "ring": LEDs arranged in a circle (fan ring, LED halo). When the zone is non-square, the ring becomes an ellipse.
| Field | Type | Required | Description |
|---|---|---|---|
count | integer (int32) | yes | Number of LEDs on the ring. |
direction | Winding | yes | Clockwise or counter-clockwise winding. |
start_angle | number (float) | yes | Angle of LED 0 in radians. 0 = right (3 o’clock). |
type: "concentric_rings": Concentric rings (dual-ring fans like Corsair QL120). LEDs are emitted ring-by-ring (outermost first).
| Field | Type | Required | Description |
|---|---|---|---|
rings | array of RingDef | yes | Ring definitions from outermost to innermost. |
type: "perimeter_loop": Rectangular perimeter loop (monitor backlight, ambilight-style). LEDs trace the rectangular perimeter of the zone.
| Field | Type | Required | Description |
|---|---|---|---|
bottom | integer (int32) | yes | LED count on bottom edge. |
direction | Winding | yes | Traversal direction. |
left | integer (int32) | yes | LED count on left edge. |
right | integer (int32) | yes | LED count on right edge. |
start_corner | Corner | yes | Which corner begins the LED chain. |
top | integer (int32) | yes | LED count on top edge. |
type: "point": Single point source (smart bulbs, single-LED indicators). Always produces exactly 1 LED at zone center (0.5, 0.5).
type: "custom": Arbitrary LED positions defined manually or imported. Positions are normalized [0.0, 1.0] within the zone bounding box.
| Field | Type | Required | Description |
|---|---|---|---|
positions | array of NormalizedPosition | yes | Directly-stored LED positions. |
#LinearRgba
Linear-light RGBA color with straight alpha, 0.0..=1.0 per channel.
All interpolation, blending, and perceptual conversion happens here. Out-of-range values are legal mid-pipeline (HDR headroom, out-of-gamut Oklab results) and clamp on conversion back to bytes.
| Field | Type | Required | Description |
|---|---|---|---|
a | number (float) | yes | Alpha (0.0 = transparent, 1.0 = opaque; never gamma encoded). |
b | number (float) | yes | Blue channel (linear light). |
g | number (float) | yes | Green channel (linear light). |
r | number (float) | yes | Red channel (linear light). |
#LoopMode
End-of-stream policy for media playback.
One of none, loop, ping_pong.
#MediaPlayback
Media playback settings for media-backed layers.
| Field | Type | Required |
|---|---|---|
auto_play | boolean | no |
loop_mode | LoopMode | no |
speed | number (float) | no |
start_offset_secs | number (float) | no |
#MemberPlacement
One member’s spatial placement inside its zone’s layout.
Deliberately tolerant of unknown fields: this shape is dual-use (request body and zone-resource read-back), and the response-side client-tolerance convention wins for embedded resources. The strict envelope around it still rejects unknown top-level fields.
| Field | Type | Required | Description |
|---|---|---|---|
member | ZoneMemberId | yes | |
orientation | Orientation or null | no | |
position | NormalizedPosition | yes | Center on the canvas, normalized [0.0, 1.0]. |
rotation | number (float) | no | |
scale | number (float) | no | |
shape | ZoneShape or null | no | Read-only. |
size | NormalizedPosition | yes | Dimensions, normalized relative to canvas size. |
topology | LedTopology | yes |
#NormalizedPosition
A position in normalized [0.0, 1.0] canvas space.
(0.0, 0.0)= top-left corner of the canvas(1.0, 1.0)= bottom-right corner of the canvas(0.5, 0.5)= center of the canvas
Values outside [0.0, 1.0] are permitted — they represent positions beyond the canvas bounds and are handled by EdgeBehavior.
Used for zone positions and sizes on the canvas, LED positions within a zone’s bounding box, and space regions in multi-room layouts.
| Field | Type | Required | Description |
|---|---|---|---|
x | number (float) | yes | Horizontal position. 0.0 = left edge, 1.0 = right edge. |
y | number (float) | yes | Vertical position. 0.0 = top edge, 1.0 = bottom edge. |
#NormalizedRect
Normalized rectangle in [0.0, 1.0] canvas space.
Used for space regions in multi-room layouts.
| Field | Type | Required | Description |
|---|---|---|---|
height | number (float) | yes | Height as fraction of canvas. |
width | number (float) | yes | Width as fraction of canvas. |
x | number (float) | yes | Left edge x-coordinate. |
y | number (float) | yes | Top edge y-coordinate. |
#Orientation
Orientation hint for the editor.
One of horizontal, vertical, diagonal, radial.
#Output
A device output: the spatial binding between a physical device and a region of the effect canvas.
The output’s bounding rectangle is defined by position (center) and size (width, height), both in normalized [0.0, 1.0] canvas coordinates. LED positions within the output are computed from the topology and stored in led_positions as output-local normalized coordinates.
| Field | Type | Required | Description |
|---|---|---|---|
attachment | OutputComponent or null | no | |
brightness | number (float) or null | no | Per-zone brightness scalar in [0.0, 1.0]. None means full brightness (1.0). Applied multiplicatively with the device output brightness and global scene brightness during frame routing. Use this to dim a single channel of a multi-zone controller without touching its siblings — e.g. balancing a specific LED strip against the rest of the setup. |
device_id | string | yes | Backend device identifier. Format: "<backend>:<device_id>" (e.g., "usb:controller-1", "network:node-42"). |
display_order | integer (int32) | no | Display stacking order in the layout editor. Higher values render on top. Zones with equal values use vector order. |
edge_behavior | EdgeBehavior or null | no | |
id | string | yes | Unique identifier within the layout. |
led_mapping | array of integer (int32) or null | no | Optional spatial-index -> physical-index remap applied before device writes. Attachment templates use this to preserve non-sequential wiring orders without baking transport details into topology coordinates. |
name | string | yes | Human-readable name (e.g., “ATX Strimer”, “Front Fan 1”). |
orientation | Orientation or null | no | |
position | NormalizedPosition | yes | Center position of the zone on the canvas. Normalized [0.0, 1.0]. |
rotation | number (float) | yes | Rotation in radians around the zone’s center point. Positive = counter-clockwise (standard math convention). |
sampling_mode | SamplingMode or null | no | |
scale | number (float) | no | Scale factor applied uniformly. Default 1.0. |
shape | ZoneShape or null | no | |
shape_preset | string or null | no | Shape preset ID from the device library (e.g., "strimer-atx-24pin"). |
size | NormalizedPosition | yes | Zone dimensions on the canvas. Normalized [0.0, 1.0] relative to canvas size. |
topology | LedTopology | yes | LED arrangement within the zone’s bounding rectangle. |
zone_name | string or null | no | Sub-device channel or segment name (e.g., "ch1", "atx", "segment-0"). None for single-zone devices. |
#OutputComponent
Attachment metadata carried by imported layout outputs.
| Field | Type | Required | Description |
|---|---|---|---|
instance | integer (int32) | no | Zero-based attachment instance index within the binding. |
led_count | integer (int32) or null | no | Physical LED count reserved for this imported attachment. |
led_mapping | array of integer (int32) or null | no | Optional spatial-order -> physical-order LED remapping. |
led_start | integer (int32) or null | no | Inclusive physical LED start index for this imported attachment. |
slot_id | string | yes | Source slot ID on the physical controller. |
template_id | string | yes | Bound attachment template identifier. |
#PageInfo
Paging state for endpoints that genuinely page.
| Field | Type | Required | Description |
|---|---|---|---|
has_more | boolean | yes | Whether more items exist past this page. |
limit | integer (int64) | yes | Requested page size. |
offset | integer (int64) | yes | Offset of the first item in this page. |
#PatchControlsRequest
The one control-patch shape, used verbatim at every scope: layer controls, display face controls, control-surface values (Spec 78 §5.7).
clear_bindings is meaningful only where bindings exist (layers); other scopes reject a non-empty list with a validation error. A patch naming a control key with an active input binding is rejected 409 control_bound unless the same request clears that binding — removal and the accompanying values land in one atomic commit (Spec 78 §1.6).
| Field | Type | Required |
|---|---|---|
clear_bindings | array of string | no |
values | map of ControlValue | no |
Unknown fields are rejected.
Used by PATCH /api/v1/control-surfaces/{id}/values request, PATCH /api/v1/displays/{id}/face/controls request, PATCH /api/v1/scene/zones/{zone}/layers/{layer}/controls request.
#PresetId
Opaque identifier for an effect preset.
Type: string (uuid).
#PresetTemplate
An effect-defined preset — a named snapshot of control values bundled with the effect itself. Unlike user-created EffectPresets, these are authored by the effect developer and are read-only at runtime.
| Field | Type | Required | Description |
|---|---|---|---|
controls | map of ControlValue | no | Control values that define this preset. Keys are control IDs. |
description | string or null | no | Optional short description. |
id | string | yes | Stable identifier authored by the effect or derived from its name. |
name | string | yes | Human-readable preset name (e.g. “Sunset Glow”, “Deep Ocean”). |
#PreviewSource
Live preview stream a control should bind to in the UI.
One of screen_capture, web_viewport, effect_canvas.
#RenderFailureStatus
One render failure, as the supervisor recorded it.
| Field | Type | Required | Description |
|---|---|---|---|
action | string | yes | restart, terminate_process, daemon_stopping, process_abort, or awaiting_supervisor. |
current_process | boolean | yes | Whether this daemon run recorded the failure, as opposed to an earlier run whose record survived in the state directory. |
kind | string | yes | panic, input_pump_terminated, input_pump_restart_failed, pipeline_rebuild_failed, or gpu_device_lost. |
location | string or null | no | |
message | string | yes | The panic message or error chain. Empty when the caller may not read private diagnostics. |
occurred_at | string | yes | RFC 3339 UTC time of the failure. |
restart_attempt | integer (int32) | yes | Restarts counted in the budget window by this failure. |
thread | string or null | no |
#RenderOutputDemandStatus
Output demand: what consumes the render loop’s frames.
The render loop renders only while something consumes its output: a connected device, a display, a preview or canvas stream, a capture, or an explicit demand hold. With none of those it parks, renders nothing, and resumes at its current tier the moment a consumer appears.
| Field | Type | Required | Description |
|---|---|---|---|
demand_holds | integer (int32) | yes | Explicit demand holds, such as display output for previewed simulated displays. |
idle_reason | string or null | no | Why the render loop is producing no frames, when it is parked. no_output_consumers while parked. |
input_event_streams | integer (int32) | yes | Stream and diagnostic consumers of host input events, which the render loop republishes. |
last_wake_reason | string or null | no | What last woke the loop from a park: output_consumer, scene_transaction, producer_state, or render_loop_state. |
output_devices | integer (int32) | yes | Connected devices that receive frames. Simulated displays count only while previewed, through demand_holds. |
parked | boolean | yes | Whether the render loop is parked because nothing consumes its frames. |
parked_ms | integer (int64) or null | no | How long the loop has been parked, in milliseconds. |
parks_total | integer (int64) | yes | How many times the loop has parked since the daemon started. |
stream_receivers | integer (int32) | yes | Live receivers on the frame, canvas, preview, spectrum, and per-zone canvas streams, including in-flight canvas captures. |
#RenderSupervisionStatus
Health and recovery state of the supervised render thread.
The render thread restarts its pipeline in-process after a panic or an error exit, within a bounded budget, and the daemon exits so its service manager restarts it once that budget runs out or the compositor GPU device is lost.
| Field | Type | Required | Description |
|---|---|---|---|
consecutive_failures | integer (int32) | yes | Failures since the pipeline last ran past its stable uptime. |
gpu_errors | GpuErrorStatus | no | Uncaptured wgpu errors and device losses since the daemon started. |
last_failure | RenderFailureStatus or null | no | |
last_frame_age_ms | integer (int64) or null | no | Milliseconds since the render loop last completed a frame. |
max_restarts | integer (int32) | yes | Restarts the budget allows within its window. |
phase | string | yes | not_started, starting, running, restarting, terminating, or stopped. |
restarts_total | integer (int64) | yes | In-process pipeline restarts since the daemon started. |
#Rgb
Encoded sRGB color, no alpha. This is what device backends receive.
| Field | Type | Required | Description |
|---|---|---|---|
b | integer (int32) | yes | Blue channel (0–255, sRGB encoded). |
g | integer (int32) | yes | Green channel (0–255, sRGB encoded). |
r | integer (int32) | yes | Red channel (0–255, sRGB encoded). |
#Rgba
Encoded sRGB color with straight (non-premultiplied) alpha.
| Field | Type | Required | Description |
|---|---|---|---|
a | integer (int32) | yes | Alpha channel (0 = transparent, 255 = opaque). |
b | integer (int32) | yes | Blue channel (0–255, sRGB encoded). |
g | integer (int32) | yes | Green channel (0–255, sRGB encoded). |
r | integer (int32) | yes | Red channel (0–255, sRGB encoded). |
#RingDef
Definition for a single ring within LedTopology::ConcentricRings.
| Field | Type | Required | Description |
|---|---|---|---|
count | integer (int32) | yes | Number of LEDs in this ring. |
direction | Winding | yes | Winding direction. |
radius | number (float) | yes | Radius as a fraction of the zone’s half-size. 0.0 = center, 1.0 = zone edge. |
start_angle | number (float) | yes | Angle of LED 0 in radians. |
#SamplingMode
Sampling algorithm for canvas-to-LED color extraction.
One of these variants, told apart by type:
type: "nearest": Snap to nearest integer pixel. O(1), 1 pixel read.
type: "bilinear": Bilinear interpolation of 4 surrounding pixels. O(1), 4 pixel reads.
type: "area_average": Flat average of a rectangular region. O(1) with summed-area table.
| Field | Type | Required | Description |
|---|---|---|---|
radius_x | number (float) | yes | Half-width of the averaging rectangle in pixels. |
radius_y | number (float) | yes | Half-height of the averaging rectangle in pixels. |
type: "gaussian_area": Gaussian-weighted average for natural ambient falloff.
| Field | Type | Required | Description |
|---|---|---|---|
radius | integer (int32) | yes | Kernel half-size in pixels (full kernel = (2*radius+1)^2). |
sigma | number (float) | yes | Standard deviation of the Gaussian kernel. |
#SceneLayer
Authored layer inside a zone’s bottom-to-top stack.
| Field | Type | Required | Description |
|---|---|---|---|
adjust | LayerAdjust | no | Color adjustments applied after the source produces a frame. |
bindings | array of LayerBinding | no | Live scalar bindings for layer parameters. |
blend | BlendMode | no | How this layer composes with the layer beneath it. |
enabled | boolean | no | Whether this layer is currently active. |
id | SceneLayerId | yes | Stable identifier for this layer. |
name | string or null | no | Display name. Defaults to the source’s intrinsic name in the UI. |
opacity | number (float) | no | Layer opacity. |
scope | LayerScope or null | no | |
source | LayerSource | yes | Content source that feeds this layer. |
transform | LayerTransform | no | Geometric placement of the source within the zone’s canvas. |
#SceneLayerId
Stable identifier for a layer within a zone.
Type: string (uuid).
#SideEffectOutcome
One post-commit side-effect outcome (Spec 78 §2.3, §3.2): the commit stands, the outcome says whether the side effect landed, and a failure carries its reason.
| Field | Type | Required |
|---|---|---|
applied | boolean | yes |
message | string or null | no |
#SourceDiagnosticsDisplayField
One platform-authored, presentation-safe diagnostic value.
| Field | Type | Required | Description |
|---|---|---|---|
key | string | yes | At least 1 characters, at most 64 characters. |
label | string | yes | At least 1 characters, at most 64 characters. |
value | string | yes | At most 256 characters. |
#SourceDiagnosticsEnvelope
A versioned payload whose semantics remain owned by its platform crate.
| Field | Type | Required | Description |
|---|---|---|---|
display | array of SourceDiagnosticsDisplayField | yes | At most 24 items. |
payload | any | yes | Opaque platform JSON bounded to 16384 serialized UTF-8 bytes. |
schema | string | yes | At least 1 characters, at most 64 characters. |
version | integer (int32) | yes | At least 1, at most 255. |
#StripDirection
Direction for strip LED indexing.
One of left_to_right, right_to_left, top_to_bottom, bottom_to_top.
#TimeWave
Time-domain waveform for layer bindings.
One of sine, triangle, saw, square.
#ViewportRect
Normalized viewport rectangle in [0.0, 1.0] source space.
| Field | Type | Required |
|---|---|---|
height | number (float) | yes |
width | number (float) | yes |
x | number (float) | yes |
y | number (float) | yes |
#WebViewportRender
Web viewport render policy.
One of live, snapshot.
#Winding
Winding direction for circular topologies.
One of clockwise, counter_clockwise.
#ZoneLayoutResource
The zone-scoped layout on the wire — the same shape written by PUT .../layout and read back on the zone resource. Compact by design: member placements only, no computed LED data, and no device-internal vocabulary (Spec 78 §5.1). Vec order is z-order.
| Field | Type | Required |
|---|---|---|
placements | array of MemberPlacement | yes |
#ZoneMember
One zone membership: a device segment’s assignment, with its own identity (Spec 78 §1.2).
| Field | Type | Required | Description |
|---|---|---|---|
device_id | string | yes | Backend device identifier ("<backend>:<device_id>"). |
id | ZoneMemberId | yes | The resource identity for DELETE .../members/{member}; unique within the zone. |
name | string | yes | Human-readable name carried from the layout output. |
segment | string or null | no | The device segment this membership assigns. None for single-segment devices. |
#ZoneMemberId
A zone membership’s identity — wire-transparent, unique within its zone, which is all its zone-scoped route needs.
Type: string.
#ZoneResource
One authored zone inside the live document (Spec 78 §1.3).
| Field | Type | Required | Description |
|---|---|---|---|
brightness | number (float) | yes | |
color | string or null | no | |
description | string or null | no | |
display_target | object or null | no | Present on Display-role zones only. |
enabled | boolean | yes | |
id | string | yes | |
layers | array of SceneLayer | yes | The authored bottom-to-top layer stack. Layers are the real, addressable unit: clients patch the layer id they read here. |
layout | ZoneLayoutResource or null | no | |
members | array of ZoneMember | yes | Device segments assigned to this zone, addressed by membership id (Spec 78 §1.2) — never by device-scoped segment name. |
name | string | yes | |
role | string | no | |
view_of | ZoneViewOf or null | no |
Used by POST /api/v1/scene/zones response, GET /api/v1/scene/zones/{zone} response, PATCH /api/v1/scene/zones/{zone} response, POST /api/v1/scene/zones/{zone}/layers response, PATCH /api/v1/scene/zones/{zone}/layers/order response, PUT /api/v1/scene/zones/{zone}/layers/{layer} response, DELETE /api/v1/scene/zones/{zone}/layers/{layer} response, PATCH /api/v1/scene/zones/{zone}/layers/{layer}/controls response, PUT /api/v1/scene/zones/{zone}/layout response, POST /api/v1/scene/zones/{zone}/members response, DELETE /api/v1/scene/zones/{zone}/members/{member} response.
#ZoneShape
Visual shape of the zone in the editor.
One of these variants, told apart by shape_type:
shape_type: "rectangle": Rectangular bounding box (default for strips, matrices).
shape_type: "arc": Circular arc or full circle (fans).
| Field | Type | Required | Description |
|---|---|---|---|
start_angle | number (float) | yes | Start angle in radians. |
sweep_angle | number (float) | yes | Sweep angle in radians. |
shape_type: "ring": Full ring (fan rings).
shape_type: "custom": Arbitrary polygon defined by normalized vertices.
| Field | Type | Required | Description |
|---|---|---|---|
vertices | array of NormalizedPosition | yes | Polygon vertices in normalized coordinates. |
#ZoneViewOf
Where a screen’s view comes from: the zone that places the screen and the screen’s membership in it.
| Field | Type | Required |
|---|---|---|
member | ZoneMemberId | yes |
zone | string | yes |
#Envelope
#ApiErrorBody
Standard error envelope: { error: { code, message, details }, meta }.
| Field | Type | Required | Description |
|---|---|---|---|
error | ApiErrorDetail | yes | The error payload. |
meta | ResponseMeta | yes | Response metadata. |
Unknown fields are rejected.
#ApiErrorDetail
The error payload inside ApiErrorBody.
| Field | Type | Required | Description |
|---|---|---|---|
code | string | yes | Stable machine-readable error code (snake_case). |
details | any | no | Optional structured detail (validation fields, current versions on precondition failures). |
message | string | yes | Human-readable message. |
Unknown fields are rejected.
#ResponseMeta
Response metadata included in every envelope.
| Field | Type | Required | Description |
|---|---|---|---|
api_version | string | yes | API version string. |
request_id | string | yes | Per-request correlation ID, prefixed req_. |
timestamp | string | yes | ISO 8601 UTC timestamp of response generation. |
Unknown fields are rejected.
#Unreferenced
The document declares these types, but no operation references them.
#ControlAvailabilityState
Resolved availability state.
One of available, disabled, read_only, unsupported, hidden.