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.

FieldTypeRequired
descriptionstringyes
idstringyes
namestringyes

#AudioDevicesResponse

The audio input inventory plus the configured selection.

FieldTypeRequired
currentstringyes
devicesarray of AudioDeviceInfoyes

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.

FieldTypeRequiredDescription
forwarded_forstring or nullnoWhat 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_msnumber (double)yesHandling time in milliseconds.
methodstringyesHTTP method, or tools/call for MCP.
pathstringyesRequest path without its query string, or the MCP mount path.
remotestringyesThe socket peer’s address, in-process for trusted in-process calls, or unknown when the transport has none. Never read from a header.
statusinteger (int32)yesResponse 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.
storesarray of stringnoDurable stores whose bytes this request changed, by inventory name.
timestampstringyesWhen the request finished, RFC 3339 UTC with milliseconds.
toolstring or nullnoMCP tool name.
transportAuditTransportyes
user_agentstringyesClient 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.

FieldTypeRequiredDescription
itemsarray of AuditEntryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
detailstring or nullnoThe 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.
phaseDaemonStartupPhaseyesThe phase startup is currently in.
sequenceinteger (int64)yesMonotonic 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

FieldTypeRequired
errors_totalinteger (int64)yes
fallbacks_applied_totalinteger (int64)yes
gpu_pass_timingsGpuPassTimingsStatusno
gpu_transfersGpuTransferStatusno
producer_cpu_frames_totalinteger (int64)yes
producer_gpu_cpu_materialization_blocked_totalinteger (int64)yes
producer_gpu_frames_totalinteger (int64)yes
producer_gpu_readback_failures_totalinteger (int64)yes
servo_breaker_opens_totalinteger (int64)yes
servo_detached_destroy_failures_totalinteger (int64)yes
servo_detached_destroys_totalinteger (int64)yes
servo_gpu_import_adapter_mismatch_totalinteger (int64)yes
servo_gpu_import_available_slotsinteger (int64)yes
servo_gpu_import_available_slots_mininteger (int64)yes
servo_gpu_import_blit_max_msnumber (double)yes
servo_gpu_import_blit_total_msnumber (double)yes
servo_gpu_import_completed_slotsinteger (int64)yes
servo_gpu_import_failures_totalinteger (int64)yes
servo_gpu_import_fallback_reasonstring or nullno
servo_gpu_import_fallbacks_totalinteger (int64)yes
servo_gpu_import_max_msnumber (double)yes
servo_gpu_import_oldest_pending_age_max_msnumber (double)yes
servo_gpu_import_pending_slotsinteger (int64)yes
servo_gpu_import_pending_slots_maxinteger (int64)yes
servo_gpu_import_slot_countinteger (int64)yes
servo_gpu_import_stale_frame_totalinteger (int64)yes
servo_gpu_import_sync_max_msnumber (double)yes
servo_gpu_import_sync_total_msnumber (double)yes
servo_gpu_import_total_msnumber (double)yes
servo_gpu_import_windows_sync_modestring or nullno
servo_page_load_failures_totalinteger (int64)yes
servo_page_load_wait_max_msnumber (double)yes
servo_page_load_wait_total_msnumber (double)yes
servo_page_loads_totalinteger (int64)yes
servo_render_cached_frames_totalinteger (int64)yes
servo_render_cpu_frames_totalinteger (int64)yes
servo_render_display_queue_wait_max_msnumber (double)yes
servo_render_display_queue_wait_total_msnumber (double)yes
servo_render_display_requests_totalinteger (int64)yes
servo_render_evaluate_scripts_max_msnumber (double)yes
servo_render_evaluate_scripts_total_msnumber (double)yes
servo_render_event_loop_max_msnumber (double)yes
servo_render_event_loop_total_msnumber (double)yes
servo_render_frame_max_msnumber (double)yes
servo_render_frame_total_msnumber (double)yes
servo_render_gpu_frames_totalinteger (int64)yes
servo_render_paint_max_msnumber (double)yes
servo_render_paint_total_msnumber (double)yes
servo_render_queue_wait_max_msnumber (double)yes
servo_render_queue_wait_total_msnumber (double)yes
servo_render_readback_max_msnumber (double)yes
servo_render_readback_total_msnumber (double)yes
servo_render_requests_totalinteger (int64)yes
servo_render_scene_queue_wait_max_msnumber (double)yes
servo_render_scene_queue_wait_total_msnumber (double)yes
servo_render_scene_requests_totalinteger (int64)yes
servo_session_create_failures_totalinteger (int64)yes
servo_session_create_wait_max_msnumber (double)yes
servo_session_create_wait_total_msnumber (double)yes
servo_session_creates_totalinteger (int64)yes
servo_soft_stalls_totalinteger (int64)yes
sparkleflinger_display_finalize_blocking_wait_max_msnumber (double)yes
sparkleflinger_display_finalize_blocking_wait_total_msnumber (double)yes
sparkleflinger_display_finalize_latches_totalinteger (int64)yes
sparkleflinger_display_finalize_misses_totalinteger (int64)yes
sparkleflinger_display_finalize_rgba_attempts_totalinteger (int64)yes
sparkleflinger_display_finalize_successes_totalinteger (int64)yes
sparkleflinger_display_finalize_surface_reallocs_totalinteger (int64)yes
sparkleflinger_display_finalize_yuv_attempts_totalinteger (int64)yes
sparkleflinger_gpu_source_upload_skipped_totalinteger (int64)yes
sparkleflinger_media_texture_allocations_totalinteger (int64)yes
sparkleflinger_media_texture_upload_bytes_totalinteger (int64)yes

#FullFrameCopySessionStatus

FieldTypeRequired
bytesinteger (int64)yes
countinteger (int64)yes
framesinteger (int64)yes

#GpuCompositorProbeStatus

FieldTypeRequired
adapter_device_typestringyes
adapter_namestringyes
backendstringyes
linux_servo_gpu_import_backend_compatiblebooleanyes
linux_servo_gpu_import_backend_reasonstring or nullno
max_storage_textures_per_shader_stageinteger (int32)yes
max_texture_dimension_2dinteger (int32)yes
servo_gpu_import_backend_compatiblebooleanyes
servo_gpu_import_backend_reasonstring or nullno
software_adapter_reasonstring or nullno
texture_formatstringyes

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

FieldTypeRequired
attemptsinteger (int64)yes
cancelledinteger (int64)yes
completedinteger (int64)yes
failedinteger (int64)yes
last_nsinteger (int64)yes
max_nsinteger (int64)yes
skippedinteger (int64)yes
stagestringyes
total_nsinteger (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.

FieldTypeRequiredDescription
enabledbooleanyes
instance_idinteger (int64)noChanges when the compositor is recreated; zero means no compositor.
stagesarray of GpuPassTimingStatusyes
supportedbooleanyes
unavailable_reasonstring or nullno

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

FieldTypeRequiredDescription
display_readback_bytesinteger (int64)yes
display_readback_countinteger (int64)yes
led_readback_bytesinteger (int64)yes
led_readback_countinteger (int64)yesPacked LED colors decoded on the CPU, four bytes per LED.
preview_readback_bytesinteger (int64)yes
preview_readback_countinteger (int64)yes
sampling_canvas_readback_bytesinteger (int64)yes
sampling_canvas_readback_countinteger (int64)yesFull RGBA canvases consumed by CPU sampling or scene/display assembly.

#HealthChecks

FieldTypeRequired
device_backendsstringyes
event_busstringyes
render_loopstringyes

#HealthResponse

FieldTypeRequired
checksHealthChecksyes
startupDaemonStartupProgress or nullno
statusstringyes
uptime_secondsinteger (int64)yes
versionstringyes

Used by GET /health response.

#LatencyHistogramBucketStatus

FieldTypeRequired
bucket_indexinteger (int32)yes
countinteger (int64)yes

#LatencyHistogramStatus

FieldTypeRequired
bucket_width_usinteger (int32)yes
bucketsarray of LatencyHistogramBucketStatusyes
overflow_bucket_indexinteger (int32)yes
snapshot_frame_tokeninteger (int64) or nullno

#LatencyPercentilesStatus

FieldTypeRequired
avg_msnumber (double)yes
cumulative_histogramLatencyHistogramStatus or nullno
max_msnumber (double)yes
p95_msnumber (double)yes
p99_msnumber (double)yes
sample_countinteger (int64)yes

#LatestFrameStatus

FieldTypeRequiredDescription
composition_msnumber (double)yes
compositor_backendstringyes
coordination_overhead_msnumber (double)yes
cpu_readback_skippedbooleanyes
cpu_sampled_zone_countinteger (int32)noScene 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_msnumber (double)yes
devices_writteninteger (int32)yes
effect_rendering_msnumber (double)yes
event_bus_msnumber (double)yes
frame_age_msnumber (double)yes
frame_tokeninteger (int64)yes
full_frame_copy_countinteger (int32)yes
full_frame_copy_kbnumber (double)yes
gpu_readback_failedbooleanyes
gpu_sample_cpu_fallbackbooleanyes
gpu_sample_deferredbooleanyes
gpu_sample_queue_saturatedbooleanyes
gpu_sample_retry_hitbooleanyes
gpu_sample_stalebooleanyes
gpu_sample_wait_blockedbooleanyes
gpu_sampled_zone_countinteger (int32)noScene 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_passesinteger (int32)noTexture 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_samplingbooleanyes
held_zone_countinteger (int32)noScene 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_msnumber (double)yes
jitter_msnumber (double)yes
logical_layer_countinteger (int32)yes
output_brightness_bitsinteger (int32)yes
output_brightness_generationinteger (int64)yes
output_errorsinteger (int32)yes
output_frame_sourcestringyes
output_reuses_published_framebooleanyes
output_routing_signatureinteger (int64)yes
output_unassigned_behavior_generationinteger (int64)yes
output_zone_shape_signatureinteger (int64)yes
preview_postprocess_msnumber (double)yes
preview_surfacebooleanyes
producer_full_frame_copy_countinteger (int32)yes
producer_full_frame_copy_kbnumber (double)yes
producer_full_frame_copy_reasonstring or nullno
producer_msnumber (double)yes
producer_preview_compose_msnumber (double)yes
producer_render_msnumber (double)yes
publication_full_frame_copy_countinteger (int32)yes
publication_full_frame_copy_kbnumber (double)yes
publication_full_frame_copy_reasonstring or nullno
publish_events_msnumber (double)yes
publish_frame_data_msnumber (double)yes
publish_preview_msnumber (double)yes
publish_zone_canvas_msnumber (double)yes
render_surfacesRenderSurfaceStatusyes
render_zone_countinteger (int32)yes
scene_canvas_forced_surfacebooleanyes
spatial_sampling_msnumber (double)yes
total_ledsinteger (int32)yes
total_msnumber (double)yes
wake_late_msnumber (double)yes
zone_composition_skipsinteger (int32)noScene 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

FieldTypeRequired
activeMacosCapabilityOwneryes
contenderMacosCapabilityOwneryes
observed_at_msinteger (int64)yes

#MacosDaemonOwnerRecoveryRequiredStatus

FieldTypeRequired
phaseMacosDaemonHandoverPhaseyes
prior_ownerMacosCapabilityOwneryes
requested_ownerMacosCapabilityOwneryes

#MacosDaemonOwnershipStatus

FieldTypeRequired
active_ownerMacosCapabilityOwneryes
conflictMacosDaemonOwnerConflictStatus or nullno
owner_epochinteger (int64)yes
recovery_requiredMacosDaemonOwnerRecoveryRequiredStatus or nullno

#OpenRgbEndpointStatus

SDK handshake result for one configured endpoint.

FieldTypeRequired
controller_countinteger (int32) or nullno
endpointstringyes
errorstring or nullno
protocol_versioninteger (int32) or nullno
reachablebooleanyes

#OpenRgbInstallHint

Installation command and platform guidance suitable for display.

FieldTypeRequired
commandstringyes
notestringyes

#OpenRgbPermissionStatus

A host prerequisite and its actionable remedy.

FieldTypeRequired
detailstringyes
idstringyes
okbooleanyes
remedystring or nullno

#OpenRgbStatus

Host and bridge state for guided setup.

FieldTypeRequired
binary_pathstring or nullno
binary_versionstring or nullno
bridge_configDriverConfigEntryyes
compiledbooleanyes
coveragearray of DeviceCoverageRowyes
enabledbooleanyes
install_hintsarray of OpenRgbInstallHintyes
output_disabled_countintegeryes
permission_checksarray of OpenRgbPermissionStatusyes
platformstringyes
probesarray of OpenRgbEndpointStatusyes

Used by GET /api/v1/system/openrgb response.

#PreviewDemandStatus

FieldTypeRequired
any_full_resolutionbooleanyes
any_jpegbooleanyes
any_rgbbooleanyes
any_rgbabooleanyes
max_fpsinteger (int32)yes
max_heightinteger (int32)yes
max_widthinteger (int32)yes
subscribersinteger (int32)yes

#PreviewRuntimeStatus

FieldTypeRequired
canvas_demandPreviewDemandStatusyes
canvas_frames_publishedinteger (int64)yes
canvas_receiversinteger (int32)yes
latest_canvas_frame_numberinteger (int32)yes
latest_scene_canvas_frame_numberinteger (int32)yes
latest_screen_canvas_frame_numberinteger (int32)yes
latest_zone_preview_frame_numberinteger (int32)yes
scene_canvas_demandPreviewDemandStatusyes
scene_canvas_frames_publishedinteger (int64)yes
scene_canvas_receiversinteger (int32)yes
screen_canvas_demandPreviewDemandStatusyes
screen_canvas_frames_publishedinteger (int64)yes
screen_canvas_receiversinteger (int32)yes
zone_preview_demandPreviewDemandStatusyes
zone_preview_frames_publishedinteger (int64)yes
zone_preview_receiversinteger (int32)yes

#RenderAccelerationStatus

FieldTypeRequired
effective_modestringyes
fallback_reasonstring or nullno
gpu_probeGpuCompositorProbeStatus or nullno
requested_modestringyes
servo_gpu_import_attemptingbooleanyes
servo_gpu_import_modestringyes

#RenderLoopStatus

FieldTypeRequiredDescription
actual_fpsnumber (double)yes
capacity_fpsnumber (double)yes
ceiling_fpsinteger (int32)yes
consecutive_missesinteger (int32)yes
delivered_fpsnumber (double)yes
fps_tierstringyes
output_demandRenderOutputDemandStatusnoWhether anything consumes rendered frames, and why the loop parked when nothing does. Absent from older daemons.
statestringyes
target_fpsinteger (int32)yes
total_framesinteger (int64)yes

#RenderSurfaceStatus

FieldTypeRequired
canvas_receiversinteger (int32)yes
compositor_pool_dequeued_slotsinteger (int32)yes
compositor_pool_free_slotsinteger (int32)yes
compositor_pool_published_slotsinteger (int32)yes
compositor_pool_slot_countinteger (int32)yes
direct_pool_dequeued_slotsinteger (int32)yes
direct_pool_free_slotsinteger (int32)yes
direct_pool_published_slotsinteger (int32)yes
direct_pool_slot_countinteger (int32)yes
preview_pool_dequeued_slotsinteger (int32)yes
preview_pool_free_slotsinteger (int32)yes
preview_pool_published_slotsinteger (int32)yes
preview_pool_slot_countinteger (int32)yes
scene_pool_dequeued_slotsinteger (int32)yes
scene_pool_free_slotsinteger (int32)yes
scene_pool_published_slotsinteger (int32)yes
scene_pool_slot_countinteger (int32)yes

#ScreenCaptureCapacityStatus

Installed byte fences for transactional screen publication admission.

FieldTypeRequired
admission_enforcedbooleanyes
analysis_heightinteger (int32) or nullno
analysis_parallel_capacity_per_secondinteger (int64) or nullno
analysis_peak_bytesinteger (int64) or nullno
analysis_retained_bytesinteger (int64) or nullno
analysis_serial_capacity_per_secondinteger (int64) or nullno
analysis_weighted_work_units_per_frameinteger (int64) or nullno
analysis_weighted_work_units_per_secondinteger (int64) or nullno
analysis_widthinteger (int32) or nullno
analysis_worker_countinteger (int64) or nullno
physical_available_bytesinteger (int64) or nullno
physical_reserved_bytesinteger (int64) or nullno
physical_transition_backend_capacityinteger (int64) or nullno
physical_transition_byte_capacityinteger (int64) or nullno
steady_publication_byte_budgetinteger (int64) or nullno
steady_total_backend_capacityinteger (int64) or nullno
steady_total_byte_budgetinteger (int64) or nullno
transition_publication_backend_capacityinteger (int64) or nullno

#SensorReading

A single host sensor reading.

FieldTypeRequiredDescription
criticalnumber (float) or nullnoCritical threshold, if known.
labelstringyesStable sensor label.
maxnumber (float) or nullnoExpected maximum value, if known.
minnumber (float) or nullnoExpected minimum value, if known.
unitSensorUnityesSensor unit.
valuenumber (float)yesCurrent sensor value.

#SensorUnit

Units exposed by system sensors.

One of celsius, percent, megabytes, rpm, watts, mhz.

#ServerInfo

FieldTypeRequired
auth_requiredbooleanyes
device_countintegeryes
instance_idstringyes
instance_namestringyes
server_session_idstring or nullno
versionstringyes

#SessionPerformanceStatus

FieldTypeRequired
full_frame_cpu_copiesFullFrameCopySessionStatusyes
input_stageLatencyPercentilesStatusyes

#SoftwareConflict

RGB software running on the host that competes with Hypercolor for devices.

FieldTypeRequiredDescription
all_driversbooleanyesWhether it competes with every driver, as whole-system RGB suites do.
driver_idsarray of stringyesHypercolor driver ids whose devices this software holds or fights over. Empty when Self::all_drivers is set.
idstringyesStable catalog id (signalrgb, lian_li_l_connect).
matchedarray of stringyesProcess and service names that matched, as the host reported them.
namestringyesProduct name for display.
remedystringyesWhat the user should do about it.
smbusbooleanyesWhether it drives SMBus lighting (motherboard, RAM, GPU).

#SoftwareConflictsStatus

What the latest conflict scan found.

FieldTypeRequiredDescription
conflictsarray of SoftwareConflictyesCompeting software that is running now, in catalog order.
scan_failedbooleannoWhether the latest scan failed. conflicts then still holds the last successful scan’s result rather than claiming nothing runs.
scannedbooleanyesWhether a scan has finished since the daemon started.
supportedbooleanyesWhether 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

FieldTypeRequired
identityServerInfoyes
statusSystemStatus or nullno

Used by GET /api/v1/system response.

#SystemSnapshot

Published system snapshot shared across render, API, and overlays.

FieldTypeRequiredDescription
componentsarray of SensorReadingyesRaw component readings collected from the host.
cpu_load_percentnumber (float)yesAggregate CPU load across all cores (0.0–100.0).
cpu_loadsarray of number (float)yesPer-core CPU load percentages.
cpu_temp_celsiusnumber (float) or nullnoCPU package temperature, if available.
gpu_load_percentnumber (float) or nullnoGPU load percentage, if available.
gpu_temp_celsiusnumber (float) or nullnoGPU temperature, if available.
gpu_vram_used_mbnumber (float) or nullnoGPU VRAM used in megabytes, if available.
polled_at_msinteger (int64)yesUnix timestamp in milliseconds when the snapshot was polled.
ram_total_mbnumber (double)yesRAM total in megabytes.
ram_used_mbnumber (double)yesRAM used in megabytes.
ram_used_percentnumber (float)yesRAM usage percentage (0.0–100.0).

Used by GET /api/v1/system/sensors response.

#SystemStatus

FieldTypeRequiredDescription
active_effectstring or nullno
active_scenestring or nullno
active_scene_snapshot_lockedbooleanyes
audio_availablebooleanyes
cache_dirstringyes
capabilitiesarray of stringyes
capture_availablebooleanyes
compositor_accelerationRenderAccelerationStatusyes
config_pathstringyes
data_dirstringyes
device_countintegeryes
effect_countintegeryes
effect_healthEffectHealthStatusyes
event_bus_subscribersintegeryes
global_brightnessinteger (int32)yes
inputInputStatusyes
latest_frameLatestFrameStatus or nullno
macos_daemon_ownershipMacosDaemonOwnershipStatus or nullno
preview_runtimePreviewRuntimeStatusyes
render_loopRenderLoopStatusyes
render_supervisionRenderSupervisionStatusnoSupervised render thread health. Absent from older daemons.
runningbooleanyes
scene_countintegeryes
screen_capture_capacityScreenCaptureCapacityStatusyes
session_performanceSessionPerformanceStatusyes
uptime_secondsinteger (int64)yes
versionstringyes

#Drivers

#DriverCapabilitySet

Capability flags exposed by a driver module.

FieldTypeRequiredDescription
configbooleanyesExposes driver-scoped configuration.
controlsbooleanyesExposes typed dynamic control surfaces.
credentialsbooleanyesStores credentials or authorization material.
discoverybooleanyesDiscovers devices.
output_backendbooleanyesBuilds an output backend.
pairingbooleanyesSupports pairing or authorization flows.
presentationbooleanyesProvides presentation metadata.
protocol_catalogbooleanyesContributes protocols to a shared backend.
runtime_cachebooleanyesKeeps runtime cache state.

#DriverConfigResponse

Response for GET /api/v1/drivers/{id}/config.

FieldTypeRequired
config_keystringyes
configurablebooleanyes
currentDriverConfigEntryyes
defaultDriverConfigEntry or nullno
driver_idstringyes

Used by GET /api/v1/drivers/{id}/config response.

#DriverModuleDescriptor

Stable module descriptor for native and future Wasm driver registries.

FieldTypeRequiredDescription
api_schema_versioninteger (int32)yesVersion of the driver-facing API schema.
capabilitiesDriverCapabilitySetyesDriver capabilities.
config_versioninteger (int32)yesVersion of this driver’s config schema.
default_enabledbooleanyesWhether this driver should be enabled by default.
display_namestringyesHuman-readable driver name.
idstringyesStable driver identifier.
module_kindDriverModuleKindyesHigh-level module category.
stabilityDriverStabilitynoRelease label of the module as a whole (Spec 89). Omitted when stable.
transportsarray of DriverTransportDescriptoryesTransport categories used by this driver and their platform support.
vendor_namestring or nullnoOptional 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.

FieldTypeRequiredDescription
display_namestringyesHuman-readable protocol or device label.
driver_idstringyesDriver module that owns this protocol.
family_idstringyesStable device family identifier.
model_idstring or nullnoOptional model identifier exposed by a driver-specific catalog.
presentationDriverPresentation or nullno
product_idinteger (int32) or nullnoUSB product ID when the protocol maps to a concrete USB device.
protocol_idstringyesStable protocol implementation identifier.
route_backend_idstringyesOutput backend ID that should route devices using this protocol.
stabilityDriverStabilitynoRelease label of this protocol (Spec 89). A stable module can carry experimental protocols. Omitted when stable.
transportDriverTransportKindyesTransport category used by this protocol.
vendor_idinteger (int32) or nullnoUSB 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.

FieldTypeRequired
config_keystringyes
control_surface_idstring or nullno
control_surface_pathstring or nullno
descriptorDriverModuleDescriptoryes
enabledbooleanyes
presentationDriverPresentationyes
protocolsarray of DriverProtocolDescriptorno

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

FieldTypeRequiredDescription
itemsarray of DriverSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
platformstringyesHuman-readable operating-system name.

#DriverTransportDescriptor

One transport category advertised by a driver module.

FieldTypeRequiredDescription
availabilityDriverTransportAvailabilityyesRuntime availability on the current platform.
kindDriverTransportKindyesTransport 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.

FieldTypeRequiredDescription
controller_indexinteger (int32) or nullnoController index on that server.
detector_classstring or nullnoThe bridge-side detector that produced the controller.
disabled_reasonstring or nullnoWhy output is disabled, when it is.
endpointstring or nullnoBridge server endpoint (host:port).
fingerprintstring or nullnoThe bridge’s stable route fingerprint (bridge:openrgb:<endpoint>:serial:<SERIAL> or ...:location:<LOCATION>), the key drivers.openrgb.zone_sizes entries use.
identity_confidencestring or nullnoHow confident the bridge is that this route maps to one physical device across restarts (stable, heuristic, …).
output_enabledbooleanyesWhether frames may be written through this route.
protocol_versioninteger (int32) or nullnoNegotiated bridge protocol version.

#ComponentBinding

Binding from a controller slot to a chosen attachment template.

FieldTypeRequiredDescription
enabledbooleannoWhether the binding is active.
instancesinteger (int32)noNumber of chained template instances bound to the slot.
led_offsetinteger (int32)noLED offset within the slot where the binding begins.
namestring or nullnoOptional user-facing override for the attachment name.
slot_idstringyesSlot receiving the attachment.
template_idstringyesTemplate identifier selected for this slot.

#ComponentBindingSummary

One resolved attachment binding, with the template it instantiates and the LED range it occupies on the controller.

FieldTypeRequired
effective_led_countinteger (int32)yes
enabledbooleanyes
instancesinteger (int32)yes
led_offsetinteger (int32)yes
namestring or nullno
slot_idstringyes
template_idstringyes
template_namestringyes

#ComponentSlot

One physical controller attachment point.

FieldTypeRequiredDescription
allow_custombooleannoWhether user-authored templates may be bound here.
allowed_templatesarray of stringnoExplicit template IDs that should be offered regardless of category.
idstringyesStable slot identifier.
led_countinteger (int32)yesNumber of LEDs available to the slot.
led_startinteger (int32)yesInclusive LED start index on the physical controller.
namestringyesUser-facing port/channel name.
suggested_categoriesarray of ComponentCategorynoTemplate categories that make sense here.

#ComponentSuggestedZone

Attachment-derived zone suggestion for layout import and preview flows.

FieldTypeRequiredDescription
categoryComponentCategoryyesAttachment category for UI grouping and shape defaults.
default_sizeComponentCanvasSizeyesSuggested default layout footprint.
instanceinteger (int32)yesZero-based attachment instance index within the binding.
led_countinteger (int32)yesNumber of LEDs consumed by this instance.
led_mappingarray of integer (int32) or nullnoOptional spatial-order -> physical-order LED remapping.
led_startinteger (int32)yesInclusive LED start index on the physical controller.
namestringyesFinal user-facing zone name for this attachment instance.
slot_idstringyesSource slot ID on the physical controller.
template_idstringyesBound attachment template identifier.
template_namestringyesBound attachment template display name.
topologyLedTopologyyesImported 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.

FieldTypeRequired
deletedbooleanyes
device_idstringyes

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.

FieldTypeRequired
idstringyes
removedbooleanyes

Used by POST /api/v1/devices/forget response, DELETE /api/v1/devices/{id} response.

#DeletePairingResponse

Response for DELETE /api/v1/devices/{id}/pair.

FieldTypeRequiredDescription
deviceDeviceSummary or nullno
disconnectedbooleannoWhether forgetting the credentials also dropped a live connection.
messagestringyes
statusstringno

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.

FieldTypeRequired
can_pairbooleanyes
descriptorPairingDescriptor or nullno
last_errorstring or nullno
stateDeviceAuthStateyes

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

FieldTypeRequired
bindingsarray of ComponentBindingSummaryno
device_idstringyes
device_namestringyes
slotsarray of ComponentSlotno
suggested_zonesarray of ComponentSuggestedZoneno

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.

FieldTypeRequired
bindingsarray of ComponentBindingSummaryno
device_idstringyes
device_namestringyes
needs_layout_updatebooleanyes
slotsarray of ComponentSlotno
suggested_zonesarray of ComponentSuggestedZoneno

Used by PUT /api/v1/devices/{id}/attachments response.

#DeviceConnectionSummary

Transport details for one device.

FieldTypeRequired
endpointstring or nullno
hostnamestring or nullno
ipstring or nullno
labelstring or nullno
transportstringno

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

FieldTypeRequiredDescription
itemsarray of DeviceCoverageRowyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
backend_idstringyesOutput backend responsible for writing frames.
driver_idstringyesDriver module that owns discovery, semantics, and presentation.
protocol_idstring or nullnoOptional protocol implementation selected by the driver/backend.
transportDriverTransportKindyesTransport category used by this device.

#DeviceRef

Lightweight reference to a discovered device.

FieldTypeRequired
idstringyes
led_countinteger (int32)yes
namestringyes
originDeviceOriginyes

#DeviceSummary

One device in the list/detail responses.

FieldTypeRequiredDescription
attachmentsDeviceComponentsResponse or nullno
authDeviceAuthSummary or nullno
bridgeBridgeDeviceSummary or nullno
brightnessinteger (int32)yes
connectionDeviceConnectionSummaryno
display_rotationDisplayRotation or nullno
experimentalbooleannoWhether 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_versionstring or nullno
idstringyes
layout_device_idstringyes
namestringyes
originDeviceOriginyes
presentationDriverPresentationyes
segmentsarray of SegmentSummaryno
statusstringyes
total_ledsinteger (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.

FieldTypeRequiredDescription
itemsarray of DeviceSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/devices response.

#DiscoverRequest

Optional body for POST /api/v1/devices/discover.

FieldTypeRequiredDescription
targetsarray of string or nullnoDiscovery targets to scan; omitted scans every enabled target.
timeout_msinteger (int64) or nullno
waitboolean or nullnoBlock 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:

statusFieldsDescription
"scanning"scan_id: string
targets: array of string
timeout_ms: integer (int64)
Immediate acknowledgement for an asynchronous discovery scan.
"completed"result: DiscoveryScanResult
scan_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.

FieldTypeRequired
duration_msinteger (int64)yes
new_devicesarray of DeviceRefyes
reappeared_devicesarray of DeviceRefyes
scannersarray of DiscoveryScannerResultyes
targetsarray of stringyes
timeout_msinteger (int64)yes
total_knownintegeryes
vanished_devicesarray of stringyes

#DiscoveryScannerResult

Per-scanner diagnostics from a completed discovery scan.

FieldTypeRequiredDescription
discoveredintegeryes
duration_msinteger (int64)yes
errorstring or nullno
gapsarray of stringnoWhat a partial scan may have missed. Its devices stay tracked.
scannerstringyes
statusstringyesok, partial when the scan may have missed devices, or error.

#ForgetDeviceRequest

Forget saved controller content by its stable layout binding, even offline.

FieldTypeRequired
layout_device_idstringyes

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:

FieldTypeRequired
binding_indexinteger or nullno
instanceinteger (int32) or nullno

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.

FieldTypeRequired
binding_indexintegeryes
colorstring or nullno
device_idstringyes
duration_msinteger (int64)yes
identifyingbooleanyes
instanceinteger (int32) or nullno
slot_idstringyes

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.

FieldTypeRequired
colorstring or nullno
device_idstringyes
duration_msinteger (int64)yes
identifyingbooleanyes

Used by POST /api/v1/devices/{id}/identify response.

#IdentifyRequest

Request body for POST /api/v1/devices/{id}/identify.

FieldTypeRequired
colorstring or nullno
duration_msinteger (int64) or nullno

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.

FieldTypeRequired
colorstring or nullno
device_idstringyes
duration_msinteger (int64)yes
identifyingbooleanyes
segmentstringyes
segment_namestringyes

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.

FieldTypeRequiredDescription
activatedbooleannoWhether the device was connected and started rendering as part of the pairing.
deviceDeviceSummary or nullno
messagestringyes
statusstringyes

Used by POST /api/v1/devices/{id}/pair response.

#PairingDescriptor

Backend-provided pairing UI/CLI descriptor.

FieldTypeRequired
action_labelstringyes
fieldsarray of PairingFieldDescriptorno
instructionsarray of stringyes
kindPairingFlowKindyes
titlestringyes

#PairingFieldDescriptor

Descriptor for one pairing form field.

FieldTypeRequired
keystringyes
labelstringyes
optionalbooleanyes
placeholderstring or nullno
secretbooleanyes

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

FieldTypeRequiredDescription
co_locatedbooleannoPlace this segment at the same center as sibling segments.
placementSegmentPlacement or nullno
shapeZoneShape or nullno
sizeNormalizedPosition or nullno
topologyLedTopology or nullno

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

FieldTypeRequiredDescription
positionNormalizedPositionyes
rotationnumber (float)yesRotation in radians about the bounding-box center, matching Output.
sizeNormalizedPositionyes

#SegmentSummary

One LED segment of a device (hardware topology, not scene render zones).

FieldTypeRequired
idstringyes
layout_hintSegmentLayoutHint or nullno
led_countinteger (int32)yes
namestringyes
topologystringyes
topology_hintSegmentTopologySummary or nullno

#SegmentTopologySummary

Structured topology hint for a device segment.

One of these variants, told apart by type:

typeFields
"strip"none
"matrix"cols: integer (int32)
rows: integer (int32)
"ring"count: integer (int32)
"point"none
"display"circular: boolean
height: 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.

FieldTypeRequiredDescription
bus_pathstring or nullnoHost bus path (<bus>-<port chain>), when the platform reports one.
claimable_bystring or nullno
experimentalbooleannoWhether the descriptor claimable_by refers to is labeled experimental: nobody has run it on real hardware yet (Spec 89).
interface_classesarray of integer (int32)noUSB interface class codes of the active configuration, sorted and deduplicated; empty where the platform does not expose them.
manufacturerstring or nullnoWho 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.
productstring or nullno
product_idinteger (int32)yes
serialstring or nullno
vendor_idinteger (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.

FieldTypeRequiredDescription
itemsarray of UnclaimedDeviceyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
bindingsarray of ComponentBindingno
validate_onlybooleannoValidate 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}.

FieldTypeRequired
brightnessinteger (int32) or nullno
display_rotationDisplayRotation or nullno
enabledboolean or nullno
namestring or nullno

Used by PUT /api/v1/devices/{id} request.

#Control surfaces

#ActionConfirmation

Action confirmation metadata.

FieldTypeRequiredDescription
levelActionConfirmationLevelyesConfirmation severity.
messagestringyesHuman-readable message.

#ActionConfirmationLevel

Confirmation severity for actions.

One of normal, destructive, hardware_persistent.

#AppliedControlChange

Accepted field change.

FieldTypeRequiredDescription
field_idStringyesField that changed.
valueobjectyesApplied value.

#ApplyControlChangesResponse

Response from applying control changes.

FieldTypeRequiredDescription
acceptedarray of AppliedControlChangeyesAccepted changes after driver normalization.
impactsarray of ApplyImpactyesDynamic impacts produced by the transaction.
previous_revisionu64yesPrevious revision.
rejectedarray of RejectedControlChangeyesRejected changes.
revisionu64yesNew revision.
surface_idStringyesTarget surface.
valuesobjectyesCurrent 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:

VariantFieldsDescription
"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: stringDriver-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.

FieldTypeRequiredDescription
apply_impactApplyImpactyesDynamic impact required by this action.
availabilityobjectyesAvailability expression before daemon resolution.
confirmationActionConfirmation or nullno
descriptionstring or nullnoOptional help text.
group_idString or nullno
idStringyesStable action identifier within the surface.
input_fieldsarray of ControlObjectFieldyesTyped input fields.
labelstringyesHuman-readable label.
orderinginteger (int32)yesStable ordering hint.
ownerControlOwneryesAction owner.
result_typeobject or nullnoOptional typed result.

#ControlActionResult

Result from invoking an action.

FieldTypeRequiredDescription
action_idStringyesAction that ran.
resultobject or nullnoOptional typed result.
revisionu64yesResulting surface revision.
statusControlActionStatusyesAction status.
surface_idStringyesTarget 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.

FieldTypeRequiredDescription
expectedobjectyesExpected type.

kind: "out_of_range": Value is outside the allowed range.

kind: "invalid_value": Value is semantically invalid.

FieldTypeRequiredDescription
messagestringyesHuman-readable validation message.

kind: "unavailable": Control is unavailable.

FieldTypeRequiredDescription
reasonstringyesHuman-readable reason.

kind: "conflict": Surface revision conflict.

FieldTypeRequiredDescription
current_revisionu64yesCurrent 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.

FieldTypeRequiredDescription
messagestringyesHuman-readable detail.

kind: "driver_error": Driver-specific error.

FieldTypeRequiredDescription
messagestringyesHuman-readable detail.

#ControlFieldDescriptor

Field descriptor for one typed control.

FieldTypeRequiredDescription
accessControlAccessyesRead/write behavior.
apply_impactApplyImpactyesDynamic impact required when this field changes.
availabilityobjectyesAvailability expression before daemon resolution.
default_valueobject or nullnoOptional default value.
descriptionstring or nullnoOptional help text.
group_idString or nullno
idStringyesStable field identifier within the surface.
labelstringyesHuman-readable label.
orderinginteger (int32)yesStable ordering hint.
ownerControlOwneryesField owner.
persistenceControlPersistenceyesPersistence target.
value_typeobjectyesExpected value type.
visibilityControlVisibilityyesVisibility tier.

#ControlGroupDescriptor

Semantic group descriptor.

FieldTypeRequiredDescription
descriptionstring or nullnoOptional help text.
idStringyesStable group identifier.
kindControlGroupKindyesSemantic group kind.
labelstringyesHuman-readable label.
orderinginteger (int32)yesStable 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.

FieldTypeRequiredDescription
default_valueobject or nullnoOptional default value.
idstringyesStable field identifier.
labelstringyesHuman-readable label.
requiredbooleanyesWhether this field is required.
value_typeobjectyesExpected value type.

#ControlOwner

Field, action, or group owner.

One of these variants:

"host": Host-owned common behavior.

{ "driver": … }: Driver-owned behavior.

FieldTypeRequiredDescription
driverobjectyesDriver-owned behavior.
driver.driver_idstringyesStable 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.

FieldTypeRequiredDescription
action_availabilityBTreeMapyesResolved availability keyed by action ID.
actionsarray of ControlActionDescriptoryesAction descriptors.
availabilityBTreeMapyesResolved availability keyed by field ID.
fieldsarray of ControlFieldDescriptoryesField descriptors.
groupsarray of ControlGroupDescriptoryesSemantic groups for fields and actions.
revisionu64yesCurrent descriptor/value revision.
schema_versioninteger (int32)yesControl-surface schema version.
scopeControlSurfaceScopeyesScope represented by this document.
surface_idStringyesStable surface identifier.
valuesobjectyesCurrent 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.

FieldTypeRequiredDescription
itemsarray of ControlSurfaceDocumentyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
driverobjectyesDriver-module level controls.
driver.driver_idstringyesStable driver module identifier.

{ "device": … }: Controls for one physical or virtual device.

FieldTypeRequiredDescription
deviceobjectyesControls for one physical or virtual device.
device.device_idDeviceIdyesStable device identifier.
device.driver_idstringyesDriver 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}.

FieldTypeRequired
inputBTreeMapno

Used by POST /api/v1/control-surfaces/{id}/actions/{action} request.

#RejectedControlChange

Rejected field change.

FieldTypeRequiredDescription
attempted_valueobjectyesAttempted value.
errorControlApplyErroryesTyped error.
field_idStringyesField 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.

FieldTypeRequiredDescription
controlsmap of ControlValue or nullno
preset_idPresetId or nullno
transitionTransitionType or nullno
zonestring or nullnoTarget 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.

FieldTypeRequiredDescription
outputSideEffectOutcomeyesThe post-commit power-wake outcome.
transitionTransitionTypeyes
zoneZoneResourceyes

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.

FieldTypeRequired
audio_reactivebooleanno
input_reactivebooleanno
screen_reactivebooleanno

#EffectConsoleEntry

One message an effect page printed, as GET /api/v1/effects/console reports it.

FieldTypeRequiredDescription
effect_idstring or nullnoCatalog id of that effect, when it is still installed.
effect_namestringyesDisplay name of the effect that printed it.
levelstringyesRaw console level: log, info, warn, error, debug, trace, dir, or table.
lineinteger (int32) or nullnoLine in that file the message points at, when it names one.
messagestringyesMessage text. File locations in the effect’s own page point at the author’s source file and line, not the engine’s runtime copy.
seqinteger (int64)yesJournal sequence number; strictly increasing within one daemon run.
source_filestringyesFile name of the effect’s HTML source.
timestamp_msinteger (int64)yesWall-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.

FieldTypeRequiredDescription
entriesarray of EffectConsoleEntryyesMatching messages after the cursor, oldest first.
next_seqinteger (int64)yesCursor for the next read.
truncatedbooleanyesWhether 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}.

FieldTypeRequired
audio_reactivebooleanyes
authorstringyes
categoryEffectCategoryyes
controlsarray of ControlDefinitionno
cover_image_urlstring or nullno
descriptionstringyes
idstringyes
namestringyes
presetsarray of PresetTemplateno
runnablebooleanyes
sourceEffectSourceKindyes
tagsarray of stringyes
versionstringyes

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.

FieldTypeRequiredDescription
filebinaryyesThe 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.

FieldTypeRequired
controlsmap of ControlValueyes
descriptionstring or nullno
editablebooleanyes
effect_idstringyes
idstringyes
namestringyes
originEffectPresetOriginyes
tagsarray of stringno

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

FieldTypeRequiredDescription
itemsarray of EffectPresetSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
audio_reactivebooleanno
authorstringyes
capabilitiesEffectCapabilitySetno
categoryEffectCategoryyes
controlsarray of ControlDefinition or nullno
cover_image_urlstring or nullno
descriptionstringyes
idstringyes
input_reactivebooleanno
namestringyes
presetsarray of PresetTemplate or nullno
runnablebooleanyes
sourceEffectSourceKindyes
tagsarray of stringyes
versionstringyes

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

FieldTypeRequiredDescription
itemsarray of EffectSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/effects response.

#InstalledEffectResponse

Response for POST /api/v1/effects/install.

FieldTypeRequiredDescription
console_afterinteger (int64)noEffect 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.
controlsintegeryes
idstringyes
namestringyes
pathstringyes
presetsintegeryes

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.

FieldTypeRequired
addedintegeryes
removedintegeryes
updatedintegeryes

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:

typeFields
"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:

VariantFields
"pending"
"ready"
{ "unsupported": … }unsupported: object
unsupported.reason: string
{ "failed": … }failed: object
failed.reason: string
"unscanned"

#AssetUpdateRequest

Request body for PUT /api/v1/assets/{id}.

Omitted fields leave the stored metadata untouched.

FieldTypeRequired
namestring or nullno
tagsarray of string or nullno

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.

FieldTypeRequiredDescription
filebinaryyesThe asset bytes, sent as a file part. Required.
namestringnoDisplay name; defaults to the uploaded file name. Omit the part rather than sending an empty or null value.
tagsstringnoTags, comma separated or as a JSON array of strings. Omit the part when there are none.
typestringnoAsset 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:

FieldTypeRequired
duplicatebooleanyes

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:

kindFields
"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}.

FieldTypeRequired
removedAssetIdyes

Used by DELETE /api/v1/assets/{id} response.

#MediaAssetRecord

Persisted metadata for one user media asset.

FieldTypeRequired
byte_leninteger (int64)yes
created_atstringyes
duration_usinteger (int64) or nullno
frame_countinteger (int32) or nullno
hash_sha256stringyes
idAssetIdyes
intrinsic_heightinteger (int32) or nullno
intrinsic_widthinteger (int32) or nullno
mime_typestringyes
modified_atstringyes
namestringyes
scan_statusAssetScanStatusno
tagsarray of stringno
warningsarray of AssetWarningno

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.

FieldTypeRequiredDescription
itemsarray of MediaAssetRecordyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
adapterMediaAuthorizationAdapteryesAlready-running media application to authorize.

Used by POST /api/v1/media/authorize request.

#MediaAuthorizationResponse

Result of one explicit media Automation authorization request.

FieldTypeRequiredDescription
adapterMediaAuthorizationAdapteryesApplication whose access was authorized.
authorizedbooleanyesWhether Automation access is authorized.

Used by POST /api/v1/media/authorize response.

#Displays and faces

#CreateSimulatedDisplayRequest

Request body for POST /api/v1/simulators/displays.

FieldTypeRequired
circularbooleanno
enabledboolean or nullno
heightinteger (int32)yes
namestringyes
widthinteger (int32)yes

Used by POST /api/v1/simulators/displays request.

#DeleteDisplayFaceResponse

Response from DELETE /api/v1/displays/{id}/face.

FieldTypeRequired
deletedbooleanyes
device_idstringyes
scene_idstring or nullno
scopeDisplayFaceScopeyes

Used by DELETE /api/v1/displays/{id}/face response.

#DeleteSimulatedDisplayResponse

Response from DELETE /api/v1/simulators/displays/{id}.

FieldTypeRequired
deletedbooleanyes
idDeviceIdyes

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.

FieldTypeRequiredDescription
api_versioninteger (int32)yesContract version for the injected JS view; additive-only.
circularbooleanyes
classDisplayClassyes
heightinteger (int32)yes
pixel_formatDisplayPixelFormatyes
safe_areaDisplayRectyesLargest rect guaranteed free of physical clipping (the inscribed square on round panels, the full surface otherwise).
shapeDisplayShapeyes
target_fpsinteger (int32)yes
widthinteger (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.

FieldTypeRequiredDescription
default_assignedbooleannoWhether a persisted default face exists for this display.
device_idstringyes
effectEffectMetadatayes
live_scopeDisplayFaceScopenoWhich layer the returned assignment lives on.
renderingDisplayFaceRendering or nullno
scene_assignedbooleannoWhether the active scene has its own face assignment for this display.
scene_idstringyes
zoneobjectyes

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.

FieldTypeRequiredDescription
default_assignedbooleannoWhether a persisted default face exists for this display.
device_idstringyes
effectEffectMetadatayes
live_scopeDisplayFaceScopenoWhich layer the returned assignment lives on.
renderingDisplayFaceRendering or nullno
scene_assignedbooleannoWhether the active scene has its own face assignment for this display.
scene_idstringyes
zoneobjectyes

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.

FieldTypeRequired
heightinteger (int32)yes
widthinteger (int32)yes
xinteger (int32)yes
yinteger (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.

FieldTypeRequiredDescription
circularbooleanyes
descriptorDisplayDescriptoryesFull surface description (shape, safe area, fps, pixel format) — the same descriptor injected into face pages.
familystringyes
heightinteger (int32)yes
idstringyes
namestringyes
rotationDisplayRotationnoHow the panel is mounted; everything drawn on it turns to match.
vendorstringyes
widthinteger (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.

FieldTypeRequiredDescription
itemsarray of DisplaySummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
audio_reactivebooleannoIndicates whether the effect expects audio payload injection.
authorstringyesAuthor or publisher name.
categoryEffectCategorynoPrimary classification categories.
controlsarray of ControlDefinitionnoUser-facing controls declared by this effect.
descriptionstringyesShort description (max 200 chars). Shown in the effect browser.
idEffectIdyesStable unique identifier.
input_reactivebooleannoIndicates whether the effect expects host input payload injection.
licensestring or nullnoSPDX license identifier (e.g. "MIT", "Apache-2.0").
namestringyesHuman-readable display name.
presetsarray of PresetTemplatenoEffect-defined preset snapshots. Authored by the effect developer, read-only at runtime. Shown alongside user-created presets in the UI.
screen_reactivebooleannoIndicates whether the effect expects screen capture payload injection.
sourceEffectSourceyesHow this effect is rendered. Determines the renderer path.
tagsarray of stringnoDiscovery and taxonomy tags. Free-form, lowercase, hyphenated.
versionstringnoSemantic 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.

FieldTypeRequiredDescription
nativeobjectyesCompiled-in native Rust renderer, resolved by name from effect::builtin. The path identifies the builtin, not a shader.
native.pathstringyesPath to the shader file, relative to the effects root.

{ "html": … }: HTML/Canvas/WebGL effect rendered by ServoRenderer.

FieldTypeRequiredDescription
htmlobjectyesHTML/Canvas/WebGL effect rendered by ServoRenderer.
html.pathstringyesPath to the .html file on disk.

{ "shader": … }: GPU compute or fragment shader in raw SPIR-V or WGSL.

FieldTypeRequiredDescription
shaderobjectyesGPU compute or fragment shader in raw SPIR-V or WGSL.
shader.pathstringyesPath to the shader source file.

#SetDisplayFaceRequest

Request body for PUT /api/v1/displays/{id}/face.

FieldTypeRequired
blend_modeBlendMode or nullno
controlsmap of ControlValueno
effect_idstringyes
opacitynumber (float) or nullno
scopeDisplayFaceScopeno

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.

FieldTypeRequired
circularbooleanno
enabledbooleanno
heightinteger (int32)yes
idDeviceIdyes
namestringyes
widthinteger (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.

FieldTypeRequiredDescription
itemsarray of SimulatedDisplayyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
blend_modeBlendMode or nullno
opacitynumber (float) or nullno

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.

FieldTypeRequired
circularboolean or nullno
enabledboolean or nullno
heightinteger (int32) or nullno
namestring or nullno
widthinteger (int32) or nullno

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.

FieldTypeRequiredDescription
controller_idsarray of stringnoController driver or protocol identifiers.
modelsarray of stringnoOptional model identifiers, such as prism_s.
slotsarray of stringnoOptional slot identifiers, such as gpu.

#ComponentOrigin

Where an attachment template came from.

One of built_in, user.

#ComponentTemplate

Reusable attachment layout template.

FieldTypeRequiredDescription
categoryComponentCategoryyesUI grouping category.
compatible_slotsarray of ComponentCompatibilitynoOptional controller/slot filters.
default_sizeComponentCanvasSizenoDefault visual size when dropped into a layout.
descriptionstringnoOptional descriptive text.
idstringyesStable template identifier.
image_urlstring or nullnoOptional product/marketing image URL.
led_mappingarray of integer (int32) or nullnoOptional spatial-index -> physical-index remapping table.
led_namesarray of string or nullnoOptional user-facing labels for each LED.
namestringyesHuman-readable display name.
originComponentOriginnoBuilt-in or user-authored template.
physical_size_mmarray of number (float) or nullnoOptional physical dimensions in millimeters. At least 2 items, at most 2 items.
tagsarray of stringnoSearch/filter tags.
topologyLedTopologyyesPhysical LED topology for this attachment.
vendorstringnoAccessory 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.

FieldTypeRequiredDescription
categoryComponentCategoryyes
compatible_slotsarray of ComponentCompatibilityno
default_sizeComponentCanvasSizeyes
descriptionstringyes
idstringyes
image_urlstring or nullno
led_countinteger (int32)yes
led_mappingarray of integer (int32) or nullno
led_namesarray of string or nullno
led_positionsarray of NormalizedPositionno
namestringyes
originComponentOriginyes
physical_size_mmarray of number (float) or nullnoPhysical footprint in millimeters, as [width, height]. At least 2 items, at most 2 items.
tagsarray of stringno
topologyLedTopologyyes
vendorstringyes

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.

FieldTypeRequired
categoryComponentCategoryyes
descriptionstringyes
idstringyes
image_urlstring or nullno
led_countinteger (int32)yes
namestringyes
originComponentOriginyes
tagsarray of stringno
vendorstringyes

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

FieldTypeRequiredDescription
itemsarray of TemplateSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
brightnessnumber (float) or nullno
powerOutputPowerMode or nullno

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.

FieldTypeRequiredDescription
brightnessnumber (float)yesGlobal brightness, 0.0..=1.0.
powerOutputPowerModeyes

Used by GET /api/v1/output response, PATCH /api/v1/output response.

#Scenes

#ActivateSceneRequest

Request for POST /api/v1/scenes/{id}/activate.

FieldTypeRequiredDescription
transition_msinteger (int64) or nullnoOverride the scene’s authored transition duration.

Used by POST /api/v1/scenes/{id}/activate request.

#ActivateSceneResponse

Response for POST /api/v1/scenes/{id}/activate.

FieldTypeRequired
activatedbooleanyes
brightnessSideEffectOutcomeyes
layoutSceneLayoutActivationOutcomeyes
sceneActivatedSceneRefyes

Used by POST /api/v1/scenes/{id}/activate response.

#ActivatedSceneRef

The scene an activation resolved to, by id and name.

FieldTypeRequired
idstringyes
namestringyes

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

FieldTypeRequiredDescription
device_idstringyes
segmentsarray of stringnoSegment 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).

FieldTypeRequiredDescription
zonestring or nullnoClear 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.

FieldTypeRequired
adjustLayerAdjust or nullno
bindingsarray of LayerBinding or nullno
blendBlendMode or nullno
enabledboolean or nullno
namestring or nullno
opacitynumber (float) or nullno
scopeLayerScope or nullno
sourceLayerSourceyes
transformLayerTransform or nullno

Unknown fields are rejected.

Used by POST /api/v1/scene/zones/{zone}/layers request.

#CreateSceneRequest

Request body for POST /api/v1/scenes.

FieldTypeRequired
descriptionstring or nullno
enabledboolean or nullno
mutation_modestring or nullno
namestringyes

Used by POST /api/v1/scenes request.

#CreateZoneRequest

POST /scene/zones — create a zone.

FieldTypeRequired
colorstring or nullno
namestringyes
rolestring or nullno

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.

FieldTypeRequired
deletedbooleanyes
idstringyes

Used by DELETE /api/v1/scenes/{id} response.

#EditMembersRequest

POST /scene/members/edit: one revision-fenced membership transaction.

FieldTypeRequiredDescription
assignmentMemberAssignmentTarget or nullno
changesarray of MemberEditno
layer_movesarray of LayerMove or nullnoThe 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_idstringyes

Unknown fields are rejected.

Used by POST /api/v1/scene/members/edit request.

#EditMembersResponse

Committed scene and reversible, canonical membership changes.

FieldTypeRequiredDescription
changesarray of MemberEdityes
documentSceneDocumentyes
layer_movesarray of LayerMovenoEvery 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.

FieldTypeRequired
fromLayerSlotyes
layer_idSceneLayerIdyes
scope_afterLayerScopeyes
scope_beforeLayerScopeyes
toLayerSlotyes

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.

FieldTypeRequired
indexintegeryes
zone_idstringyes

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.

FieldTypeRequiredDescription
device_idstringyes
placementsarray of MemberPlacementHintnoOptional seeded geometry for newly minted outputs, keyed by segment.
segmentsarray of stringnoEmpty selects every light segment, including all attachment instances. A screen is placed only by naming its segment.
zone_idstringyes

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.

FieldTypeRequired
afterMemberState or nullno
beforeMemberState or nullno

Unknown fields are rejected.

#MemberPlacementHint

Placement-only seed; device binding and topology remain daemon-owned.

FieldTypeRequired
orientationOrientation or nullno
positionNormalizedPositionyes
rotationnumber (float)no
scalenumber (float)no
segmentstring or nullno
sizeNormalizedPositionyes

Unknown fields are rejected.

#MemberState

One output’s complete authored state for reversible membership edits.

FieldTypeRequiredDescription
indexintegeryesPosition in the owning zone’s ordered output list.
outputOutputyes
zone_idstringyes

Unknown fields are rejected.

#PatchZoneRequest

PATCH /scene/zones/{zone} — name and structural fields.

FieldTypeRequiredDescription
brightnessnumber (float) or nullno
colorstring or nullnoTri-state: missing leaves the color, null clears it, a value sets it.
enabledboolean or nullno
indexinteger or nullnoMove 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.
namestring or nullno

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.

FieldTypeRequired
orderarray of SceneLayerIdyes

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.

FieldTypeRequired
adjustLayerAdjust or nullno
bindingsarray of LayerBinding or nullno
blendBlendMode or nullno
enabledboolean or nullno
namestring or nullno
opacitynumber (float) or nullno
scopeLayerScope or nullno
sourceLayerSourceyes
transformLayerTransform or nullno

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.

FieldTypeRequired
adjustLayerAdjustno
bindingsarray of LayerBindingno
blendBlendModeno
enabledbooleanno
idSceneLayerId or nullno
namestring or nullno
opacitynumber (float)no
scopeLayerScope or nullno
sourceLayerSourceyes
transformLayerTransformno

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.

FieldTypeRequiredDescription
activation_brightnessnumber (float) or nullno
descriptionstring or nullno
enabledbooleanyes
idstring or nullno
is_defaultboolean or nullnoEcho of the read-only default-scene flag. Must match the stored scene when present; it can never be changed.
kindstringyes
layout_idLayoutId or nullno
metadatamap of stringno
mutation_modestringno
namestringyes
priorityinteger (int32)yes
revisioninteger (int64) or nullnoThe 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_epochstring or nullnoEcho 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.
transitionobjectyes
unassigned_behaviorstringno
zonesarray of ReplaceZoneRequestno

Unknown fields are rejected.

Used by PUT /api/v1/scenes/{id} request.

#ReplaceZoneRequest

FieldTypeRequired
brightnessnumber (float)yes
colorstring or nullno
descriptionstring or nullno
display_targetobject or nullno
enabledbooleanyes
idstring or nullno
layersarray of ReplaceSceneLayerRequestno
layoutZoneLayoutResource or nullno
membersarray of ZoneMemberno
namestringyes
rolestringno
view_ofZoneViewOf or nullno

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.

FieldTypeRequiredDescription
activation_brightnessnumber (float) or nullno
descriptionstring or nullno
enabledbooleanno
idstringyes
is_defaultbooleanyesWhether this is the auto-managed default scene, which cannot be renamed or deleted.
kindstringyes
layout_idLayoutId or nullno
metadatamap of stringno
mutation_modestringno
namestringyes
priorityinteger (int32)no
revisioninteger (int64)yesThe 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_epochstringnoOpaque 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.
transitionobjectno
unassigned_behaviorstringno
zonesarray of ZoneResourceyesEvery 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.

FieldTypeRequiredDescription
itemsarray of SceneLayeryesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
appliedbooleanyes
layout_idLayoutId or nullno
messagestring or nullno

#ScenePatchRequest

PATCH /scene — scene-level fields only (Spec 78 §1.2).

FieldTypeRequiredDescription
namestring or nullnoRename; rejected for the default scene.
unassigned_behaviorstring or nullno

Unknown fields are rejected.

Used by PATCH /api/v1/scene request.

#SceneSummary

One saved scene as listed by GET /api/v1/scenes.

FieldTypeRequiredDescription
activation_brightnessnumber (float) or nullnoBrightness applied on activation, when the scene sets one.
descriptionstring or nullno
enabledbooleannoWhether the scene participates in activation. Defaults true for daemons that predate the field.
idstringyes
layout_idLayoutId or nullno
mutation_modestringnoLive vs snapshot-locked. Lets scene pickers mark locked scenes without inferring lock state from the live scene kind.
namestringyes
priorityinteger (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.

FieldTypeRequiredDescription
itemsarray of SceneSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/scenes response.

#SnapshotSceneRequest

Request body for POST /api/v1/scenes/snapshot.

FieldTypeRequired
descriptionstring or nullno
namestringyes

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.

FieldTypeRequired
placementsarray of MemberPlacementyes

Unknown fields are rejected.

Used by PUT /api/v1/scene/zones/{zone}/layout request.

#Layouts

#ApplyLayoutResponse

Response from POST /api/v1/layouts/{id}/apply.

FieldTypeRequired
appliedbooleanyes
layoutSpatialLayoutyes
persistence_pendingbooleanyes

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

FieldTypeRequired
descriptionstring or nullno
namestringyes

Used by POST /api/v1/layouts request.

#DeleteLayoutResponse

Response from DELETE /api/v1/layouts/{id}.

FieldTypeRequired
deletedbooleanyes
idstringyes
persistence_pendingbooleanyes

Used by DELETE /api/v1/layouts/{id} response.

#LayoutSummary

Summary row from GET /api/v1/layouts.

FieldTypeRequired
idstringyes
is_activebooleanno
namestringyes
zone_countintegeryes

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.

FieldTypeRequiredDescription
itemsarray of LayoutSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/layouts response.

#PreviewLayoutResponse

Response from PUT /api/v1/layouts/active/preview.

FieldTypeRequired
previewingbooleanyes

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.

FieldTypeRequiredDescription
canvas_heightinteger (int32)noCanvas height in pixels; see SpatialLayout::canvas_width. Read-only.
canvas_widthinteger (int32)noCanvas 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_behaviorEdgeBehaviornoDefault edge behavior for zones that don’t specify one.
default_sampling_modeSamplingModenoDefault sampling mode for zones that don’t specify one.
descriptionstring or nullnoOptional description for the layout editor UI.
idstringyesUnique layout identifier (UUID or slug).
namestringyesHuman-readable name (e.g., “Bliss’s PC Case”, “Full Room”).
versioninteger (int32)yesSchema version for forward-compatible migrations.
zonesarray of OutputyesAll 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.

FieldTypeRequired
descriptionstring or nullno
namestring or nullno
zonesarray of Output or nullno

Used by PUT /api/v1/layouts/{id} request.

#Library

#ActivatePlaylistResponse

Response for POST /api/v1/library/playlists/{id}/activate.

FieldTypeRequired
activebooleanyes
playlistActivePlaylistResponseyes

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.

FieldTypeRequired
idstringyes
item_countintegeryes
loop_enabledbooleanyes
namestringyes
started_at_msinteger (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.

FieldTypeRequired
playlistActivePlaylistResponseyes
statestringno

Used by GET /api/v1/library/playlists/active response.

#AddFavoriteRequest

Request body for POST /api/v1/library/favorites.

FieldTypeRequiredDescription
effectstringyesEffect 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.

FieldTypeRequired
createdbooleanyes
favoriteFavoriteSummaryyes

Used by POST /api/v1/library/favorites response.

#DeactivatePlaylistResponse

Response for POST /api/v1/library/playlists/deactivate.

FieldTypeRequiredDescription
deactivatedbooleanyes
playlistActivePlaylistResponseyesThe 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}.

FieldTypeRequired
deletedbooleanyes
effect_idstringyes

Used by DELETE /api/v1/library/favorites/{effect} response.

#DeletePlaylistResponse

Response for DELETE /api/v1/library/playlists/{id}.

FieldTypeRequired
deletedbooleanyes
idstringyes

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.

FieldTypeRequired
deletedbooleanyes
idstringyes

Used by DELETE /api/v1/library/presets/{id} response.

#EffectPlaylist

A user-defined effect sequence.

FieldTypeRequired
created_at_msinteger (int64)yes
descriptionstring or nullno
idPlaylistIdyes
itemsarray of PlaylistItemno
loop_enabledbooleanyes
namestringyes
updated_at_msinteger (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.

FieldTypeRequiredDescription
itemsarray of EffectPlaylistyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/library/playlists response.

#EffectPreset

A saved parameter snapshot for one effect.

FieldTypeRequired
controlsmap of ControlValueno
created_at_msinteger (int64)no
descriptionstring or nullno
effect_idEffectIdyes
idPresetIdyes
namestringyes
tagsarray of stringno
updated_at_msinteger (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.

FieldTypeRequiredDescription
itemsarray of EffectPresetyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
added_at_msinteger (int64)no
effect_idstringyes
effect_namestringno

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

FieldTypeRequiredDescription
itemsarray of FavoriteSummaryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequired
duration_msinteger (int64) or nullno
idPlaylistItemIdyes
targetPlaylistItemTargetyes
transition_msinteger (int64) or nullno

#PlaylistItemId

Opaque identifier for a playlist item.

Type: string (uuid).

#PlaylistItemRequest

One item in a saved playlist.

FieldTypeRequired
duration_msinteger (int64) or nullno
targetPlaylistTargetRequestyes
transition_msinteger (int64) or nullno

#PlaylistItemTarget

Target entity for one playlist slot.

One of these variants, told apart by type:

typeFieldsDescription
"effect"effect_id: EffectIdRun an effect directly.
"preset"preset_id: PresetIdRun a saved preset (effect + controls).

#PlaylistTargetRequest

What one playlist item plays.

One of these variants, told apart by type:

typeFields
"effect"effect: string
"preset"preset_id: string

#SavePlaylistRequest

Request body for POST /api/v1/library/playlists and PUT /api/v1/library/playlists/{id}.

FieldTypeRequired
descriptionstring or nullno
itemsarray of PlaylistItemRequest or nullno
loop_enabledboolean or nullno
namestringyes

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

FieldTypeRequiredDescription
controlsanyno
descriptionstring or nullno
effectstringyesEffect the preset’s control values belong to.
namestringyes
tagsarray of string or nullno

Used by POST /api/v1/library/presets request, PUT /api/v1/library/presets/{id} request.

#Capture and input

#CaptureAuthorizationResponse

FieldTypeRequired
authorizedbooleanyes
grant_ownerProtectedSourceGrantOwneryes

Used by POST /api/v1/capture/authorize response, POST /api/v1/input/authorize response.

#CaptureMonitor

FieldTypeRequired
heightinteger (int32)yes
idstringyes
indexintegeryes
namestringyes
primarybooleanyes
valuestringyes
widthinteger (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.

FieldTypeRequiredDescription
itemsarray of CaptureMonitoryesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal matching items (across all pages when paged).

Used by GET /api/v1/capture/monitors response.

#CapturePickerResponse

FieldTypeRequired
grant_ownerProtectedSourceGrantOwneryes
pickingbooleanyes

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:

kindFieldsDescription
"live"section: LiveSectionThe daemon actively re-applies the change through the named subsystem’s dispatch.
"live_on_read"noneRead fresh on every use — takes effect on the next read with no dispatch (session policy, per-scene media admission, driver settings).
"next_scan"noneThe discovery worker resolves it on its next tick.
"restart"noneFrozen at startup; takes effect at the next daemon start.
"inert"noneParsed 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}.

FieldTypeRequired
keystringyes
valueanyyes

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.

FieldTypeRequiredDescription
applyApplyPolicyyesHow changes take effect.
has_validatorbooleanyesWhether the daemon runs extra validation beyond type checking.
patternstringyesThe pattern text: an exact key, a section root, a namespace root suffixed .*, or * for the extensions catch-all.
protectionProtectionnoWhich writes need a protected-control credential.
redactionRedactionyesRead-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.

FieldTypeRequiredDescription
itemsarray of ConfigKeySchemaEntryyesThe items.
pagePageInfo or nullno
totalinteger (int64)yesTotal 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.

FieldTypeRequiredDescription
keystring or nullnoThe mutated key, or null for a whole-config reset.
livebooleanyesWhether the daemon re-applied the change to a running subsystem.
pathstringyesThe config file the write targets.
pending_restartarray of stringyesRestart-classified roots whose persisted value now differs from the one the daemon booted with.
persistedbooleannoWhether 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_errorstring or nullnoWhy path lags the live config, present only when persisted is false.
requires_restartbooleanyesWhether the registry classifies this key as boot-frozen, so the persisted value only takes effect at the next daemon start.
valueanynoThe 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

FieldTypeRequired
operation_idstring (uuid)yes

Unknown fields are rejected.

Used by POST /api/v1/backups/apply request.

#BackupApplyResponse

FieldTypeRequired
missing_resourcesMissingSetupResourcesno
operation_idstring (uuid)yes
unresolved_devicesarray of stringyes

Used by POST /api/v1/backups/apply response.

#BackupPreview

FieldTypeRequired
effectsinteger (int64)yes
favoritesinteger (int64)yes
includes_preferencesbooleanyes
layoutsinteger (int64)yes
mediainteger (int64)yes
missing_resourcesMissingSetupResourcesno
namestringyes
operation_idstring (uuid)yes
scenesinteger (int64)yes
unresolved_devicesarray of stringyes

Used by POST /api/v1/backups/import response.

#MissingSetupResources

Referenced content that must be installed or imported on this computer.

FieldTypeRequired
effectsarray of EffectIdno
mediaarray of AssetIdno
presetsarray of PresetIdno

#Diagnostics

#DiagnoseCheck

FieldTypeRequired
categorystringyes
detailstringyes
namestringyes
statusstringyes

#DiagnoseDeviceOutputItem

FieldTypeRequiredDescription
acceptedinteger (int64)yes
accepted_fpsnumber (float)yes
avg_latency_msinteger (int32)yes
avg_queue_wait_msinteger (int32)yes
avg_transport_latency_msinteger (int32)yes
avg_write_msinteger (int32)yes
backend_idstringyes
coalescedinteger (int64)yes
coalesced_backend_overruninteger (int64)yes
coalesced_target_cadenceinteger (int64)yes
completed_payload_bytesinteger (int64)yes
delivered_fpsnumber (float)yes
display_queue_generationinteger (int64) or nullno
display_transport_completedinteger (int64)yes
display_transport_failedinteger (int64)yes
display_transport_startedinteger (int64)yes
errors_totalinteger (int64)yes
fps_queuednumber (float)yes
fps_sentnumber (float)yes
fps_targetinteger (int32)yes
frames_droppedinteger (int64)yes
frames_receivedinteger (int64)yes
frames_sentinteger (int64)yes
idstringyes
last_errorstring or nullno
last_sent_ago_msinteger (int64) or nullno
last_sequenceinteger (int64)yes
last_transport_completed_sequenceinteger (int64)yes
last_transport_failed_sequenceinteger (int64)yes
last_transport_started_sequenceinteger (int64)yes
mapped_layout_idsarray of stringyes
queue_generationinteger (int64)yes
transport_completedinteger (int64)yes
transport_declinedinteger (int64)noDelivery 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_failedinteger (int64)yes
transport_startedinteger (int64)yes
uses_frame_sinkbooleanyes
worker_finishedbooleanyes

#DiagnoseDeviceOutputSnapshot

FieldTypeRequired
dropped_frames_totalinteger (int64)yes
errors_totalinteger (int64)yes
itemsarray of DiagnoseDeviceOutputItemyes
lagging_queuesintegeryes
queuesintegeryes
usb_queuesintegeryes
worker_finished_queuesintegeryes

#DiagnoseDisplayOutputSnapshot

FieldTypeRequired
captured_devicesintegeryes
encode_attempts_totalinteger (int64)yes
encode_avg_msnumber (double)yes
encode_failures_totalinteger (int64)yes
encode_last_msnumber (double) or nullno
encode_max_msnumber (double)yes
encode_successes_totalinteger (int64)yes
encoded_bytes_totalinteger (int64)yes
encoded_last_bytesinteger (int64)yes
last_failure_age_msinteger (int64) or nullno
preview_subscribersintegeryes
retry_attempts_totalinteger (int64)yes
write_attempts_totalinteger (int64)yes
write_failures_totalinteger (int64)yes
write_successes_totalinteger (int64)yes

#DiagnoseLatestFrameSnapshot

FieldTypeRequiredDescription
composition_usinteger (int32)yes
compositor_backendstringyes
cpu_readback_skippedbooleanyes
cpu_sampled_zone_countinteger (int32)noScene 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_writteninteger (int32)yes
frame_age_msnumber (double)yes
frame_tokeninteger (int64)yes
gpu_readback_failedbooleanyes
gpu_sample_cpu_fallbackbooleanyes
gpu_sample_deferredbooleanyes
gpu_sample_queue_saturatedbooleanyes
gpu_sample_retry_hitbooleanyes
gpu_sample_stalebooleanyes
gpu_sample_wait_blockedbooleanyes
gpu_sampled_zone_countinteger (int32)noScene 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_passesinteger (int32)noTexture 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_samplingbooleanyes
held_zone_countinteger (int32)noScene 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_usinteger (int32)yes
output_brightness_bitsinteger (int32)yes
output_brightness_generationinteger (int64)yes
output_errorsinteger (int32)yes
output_frame_sourcestringyes
output_reuses_published_framebooleanyes
output_routing_signatureinteger (int64)yes
output_unassigned_behavior_generationinteger (int64)yes
output_zone_shape_signatureinteger (int64)yes
overhead_usinteger (int32)yes
producer_usinteger (int32)yes
publish_usinteger (int32)yes
push_usinteger (int32)yes
render_usinteger (int32)yes
sample_usinteger (int32)yes
total_ledsinteger (int32)yes
total_usinteger (int32)yes
zone_composition_skipsinteger (int32)noScene zones whose layers matched their held frame, so they skipped composing this frame. Absent from older daemons.

#DiagnoseRenderSnapshot

FieldTypeRequiredDescription
latest_frameDiagnoseLatestFrameSnapshot or nullno
output_demandRenderOutputDemandStatusnoWhat consumes rendered frames, and whether the loop parked because nothing does. Absent from older daemons.
recent_windowDiagnoseRenderWindowSnapshotyes
supervisionRenderSupervisionStatusnoSupervised render thread health, restart counts, and the last failure. Absent from older daemons.

#DiagnoseRenderWindowSnapshot

FieldTypeRequired
framesinteger (int32)yes
gpu_sample_cpu_fallbackinteger (int32)yes
gpu_sample_deferredinteger (int32)yes
gpu_sample_queue_saturatedinteger (int32)yes
gpu_sample_retry_hitinteger (int32)yes
gpu_sample_staleinteger (int32)yes
gpu_sample_wait_blockedinteger (int32)yes
output_current_frameinteger (int32)yes
output_error_framesinteger (int32)yes
output_published_frameinteger (int32)yes
output_reused_published_frameinteger (int32)yes
output_routed_reuseinteger (int32)yes
publish_avg_msnumber (double)yes
publish_p95_msnumber (double)yes
push_avg_msnumber (double)yes
push_p95_msnumber (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.

FieldTypeRequired
checksarray of string or nullno
systemboolean or nullno

Used by POST /api/v1/diagnose request.

#DiagnoseResponse

FieldTypeRequired
checksarray of DiagnoseCheckyes
snapshotDiagnoseSnapshotyes
summaryDiagnoseSummaryyes

Used by POST /api/v1/diagnose response.

#DiagnoseSnapshot

FieldTypeRequired
device_outputDiagnoseDeviceOutputSnapshotyes
display_outputDiagnoseDisplayOutputSnapshotyes
inputInputStatusyes
macos_screen_parityanyno
renderDiagnoseRenderSnapshotyes
usbDiagnoseUsbActorSnapshotyes

#DiagnoseSummary

FieldTypeRequired
failedintegeryes
passedintegeryes
warningsintegeryes

#DiagnoseUsbActorSnapshot

FieldTypeRequired
display_frames_delayed_for_led_totalinteger (int64)yes
display_frames_totalinteger (int64)yes
display_led_priority_wait_avg_msnumber (double)yes
display_led_priority_wait_max_msnumber (double)yes
display_led_priority_wait_total_msnumber (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.

FieldTypeRequired
clampbooleanno
source_maxnumber (float)yes
source_minnumber (float)yes
target_maxnumber (float)yes
target_minnumber (float)yes

#BindingSource

Runtime source that drives a layer binding.

One of these variants, told apart by kind:

kindFields
"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.

FieldTypeRequiredDescription
heightnumber (float)yesHeight as a normalized fraction of the canvas.
widthnumber (float)yesWidth as a normalized fraction of the canvas.

#ComponentCategory

Template category used for filtering and UI grouping.

One of these variants:

VariantFieldsDescription
"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: stringAnything that does not fit a standard preset family.

#ControlBinding

Live mapping from a system sensor reading into a control value.

FieldTypeRequiredDescription
deadbandnumber (float)noMinimum source-value delta required before the binding updates.
sensorstringyesStable sensor label to sample from the current system snapshot.
sensor_maxnumber (float)yesUpper bound of the source sensor range.
sensor_minnumber (float)yesLower bound of the source sensor range.
smoothingnumber (float)noTemporal smoothing factor. 0.0 is immediate, 0.99 is very slow.
target_maxnumber (float)yesUpper bound of the mapped control range.
target_minnumber (float)yesLower 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.

FieldTypeRequiredDescription
aspect_locknumber (float) or nullnoOptional fixed aspect ratio (width / height) for rect controls.
bindingControlBinding or nullno
control_typeControlTypeyesWidget kind and constraints.
default_valueControlValueyesInitial value. Must be compatible with control_type.
groupstring or nullnoOptional grouping for the control panel UI.
idstringnoStable control identifier used in API payloads and renderer globals.
kindControlKindnoSemantic kind from source metadata (LightScript).
labelsarray of stringnoLabels for Dropdown options.
maxnumber (float) or nullnoMaximum numeric bound (applicable to Slider controls).
minnumber (float) or nullnoMinimum numeric bound (applicable to Slider controls).
namestringyesHuman-readable label shown in the control panel.
preview_sourcePreviewSource or nullno
stepnumber (float) or nullnoStep increment for numeric controls. None means continuous.
tooltipstring or nullnoHelp 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:

VariantFieldsDescription
"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: stringUnknown/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:

kindFields
"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.

FieldTypeRequiredDescription
device_idstringyes
disabled_reasonstring or nullno
output_enabledbooleanyes
statestringyesLifecycle state name in lowercase.

#CoverageIdentity

The physical-device identity a coverage row was joined on.

FieldTypeRequiredDescription
kindCoverageIdentityKindyes
labelstringyesBest available human label for the hardware.
valuestringyesThe 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.

FieldTypeRequiredDescription
device_idstringyes
driver_idstringyes
statestringyesLifecycle 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.

FieldTypeRequiredDescription
activeCoverageActiveyes
bridgeCoverageBridgeDevice or nullno
identityCoverageIdentityyes
nativeCoverageNativeDevice or nullno
unclaimedbooleanyesWhether 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.

FieldTypeRequired
enabledbooleanno

Other keys may hold any JSON value.

#DriverPresentation

API and UI presentation metadata for a driver module.

FieldTypeRequiredDescription
accent_rgbarray of integer (int32) or nullnoPrimary RGB accent color.
default_device_classDeviceClassHint or nullno
iconstring or nullnoStable icon identifier.
labelstringyesHuman-readable driver label.
secondary_rgbarray of integer (int32) or nullnoSecondary RGB accent color.
short_labelstring or nullnoCompact label for dense UI surfaces.

#DriverTransportKind

API-facing transport category for a driver module.

One of these variants:

VariantFieldsDescription
"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: stringDriver-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.

FieldTypeRequiredDescription
fade_to_blackobjectyesFade to black outside canvas bounds. falloff controls fade rate.
fade_to_black.falloffnumber (float)yesHigher 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.

FieldTypeRequiredDescription
device_lostinteger (int64)yes
internal_errorsinteger (int64)yes
last_errorstring or nullnodevice: kind: message of the most recent one. Absent when there was none, or when the caller may not read private diagnostics.
out_of_memory_errorsinteger (int64)yes
validation_errorsinteger (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]).

FieldTypeRequiredDescription
colorarray of number (float)yesLinear RGBA color at this stop.
positionnumber (float)yesPosition 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.

FieldTypeRequired
codestringyes
messagestringyes
remediationstring or nullno
retryablebooleanyes

#InputSourceStatus

Lock-free lifecycle and freshness status for one input source.

FieldTypeRequired
action_issueInputSourceIssueStatus or nullno
active_consumer_countintegeryes
backendstringyes
configuredbooleanyes
consentedbooleanyes
demandedbooleanyes
denied_resource_countintegeryes
diagnosticsSourceDiagnosticsEnvelope or nullno
freshnessstringyes
freshness_issueInputSourceIssueStatus or nullno
freshness_remaining_msinteger (int64) or nullno
issueInputSourceIssueStatus or nullno
kindstringyes
last_sample_age_msinteger (int64) or nullno
lifecycle_issueInputSourceIssueStatus or nullno
resource_countintegeryes
retiredbooleanyes
session_generationinteger (int64)yes
source_graph_generationinteger (int64)yes
source_idstringyes
statestringyes

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

FieldTypeRequired
backendsarray of stringyes
degradedstring or nullno
devices_deniedintegeryes
devices_openedintegeryes
enabledbooleanyes
host_capture_registeredbooleanyes
host_capturingbooleanyes
source_graph_generationinteger (int64)yes
sourcesarray of InputSourceStatusyes

#LayerAdjust

Per-layer color adjustment settings.

FieldTypeRequired
brightnessnumber (float)yes
contrastnumber (float)yes
hue_shiftnumber (float)yes
saturationnumber (float)yes
tintarray of number (float)yes
tint_strengthnumber (float)yes

#LayerBinding

Live mapping from runtime data to a scalar layer parameter.

FieldTypeRequired
mapBindingMapyes
sourceBindingSourceyes
targetLayerParameteryes

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

FieldTypeRequiredDescription
outputsarray of stringyesOutput 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.

FieldTypeRequired
control_bindingsmap of ControlBindingno
controlsmap of ControlValueno
effect_idEffectIdyes
preset_idPresetId or nullno

type: "media": A media asset from the asset library.

FieldTypeRequired
asset_idAssetIdyes
playbackMediaPlaybackno

type: "screen_region": Live screen capture, full screen or sub-region.

FieldTypeRequired
viewportViewportRectno

type: "web_viewport": Arbitrary URL via the web viewport renderer.

FieldTypeRequired
renderWebViewportRenderno
urlstringyes
viewportViewportRectno

type: "color_fill": Constant color fill.

FieldTypeRequired
rgbaarray of number (float)yes

#LayerTransform

Geometric placement for a layer source.

FieldTypeRequired
anchorNormalizedPositionyes
fitFitModeyes
rotationnumber (float)yes
scalearray 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).

FieldTypeRequiredDescription
countinteger (int32)yesTotal number of LEDs.
directionStripDirectionyesWhich 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.

FieldTypeRequiredDescription
heightinteger (int32)yesRows in the grid.
serpentinebooleanyesAlternating row direction for serpentine wiring.
start_cornerCorneryesWhich corner is LED index 0.
widthinteger (int32)yesColumns 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.

FieldTypeRequiredDescription
countinteger (int32)yesNumber of LEDs on the ring.
directionWindingyesClockwise or counter-clockwise winding.
start_anglenumber (float)yesAngle 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).

FieldTypeRequiredDescription
ringsarray of RingDefyesRing definitions from outermost to innermost.

type: "perimeter_loop": Rectangular perimeter loop (monitor backlight, ambilight-style). LEDs trace the rectangular perimeter of the zone.

FieldTypeRequiredDescription
bottominteger (int32)yesLED count on bottom edge.
directionWindingyesTraversal direction.
leftinteger (int32)yesLED count on left edge.
rightinteger (int32)yesLED count on right edge.
start_cornerCorneryesWhich corner begins the LED chain.
topinteger (int32)yesLED 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.

FieldTypeRequiredDescription
positionsarray of NormalizedPositionyesDirectly-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.

FieldTypeRequiredDescription
anumber (float)yesAlpha (0.0 = transparent, 1.0 = opaque; never gamma encoded).
bnumber (float)yesBlue channel (linear light).
gnumber (float)yesGreen channel (linear light).
rnumber (float)yesRed 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.

FieldTypeRequired
auto_playbooleanno
loop_modeLoopModeno
speednumber (float)no
start_offset_secsnumber (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.

FieldTypeRequiredDescription
memberZoneMemberIdyes
orientationOrientation or nullno
positionNormalizedPositionyesCenter on the canvas, normalized [0.0, 1.0].
rotationnumber (float)no
scalenumber (float)no
shapeZoneShape or nullnoRead-only.
sizeNormalizedPositionyesDimensions, normalized relative to canvas size.
topologyLedTopologyyes

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

FieldTypeRequiredDescription
xnumber (float)yesHorizontal position. 0.0 = left edge, 1.0 = right edge.
ynumber (float)yesVertical 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.

FieldTypeRequiredDescription
heightnumber (float)yesHeight as fraction of canvas.
widthnumber (float)yesWidth as fraction of canvas.
xnumber (float)yesLeft edge x-coordinate.
ynumber (float)yesTop 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.

FieldTypeRequiredDescription
attachmentOutputComponent or nullno
brightnessnumber (float) or nullnoPer-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_idstringyesBackend device identifier. Format: "<backend>:<device_id>" (e.g., "usb:controller-1", "network:node-42").
display_orderinteger (int32)noDisplay stacking order in the layout editor. Higher values render on top. Zones with equal values use vector order.
edge_behaviorEdgeBehavior or nullno
idstringyesUnique identifier within the layout.
led_mappingarray of integer (int32) or nullnoOptional 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.
namestringyesHuman-readable name (e.g., “ATX Strimer”, “Front Fan 1”).
orientationOrientation or nullno
positionNormalizedPositionyesCenter position of the zone on the canvas. Normalized [0.0, 1.0].
rotationnumber (float)yesRotation in radians around the zone’s center point. Positive = counter-clockwise (standard math convention).
sampling_modeSamplingMode or nullno
scalenumber (float)noScale factor applied uniformly. Default 1.0.
shapeZoneShape or nullno
shape_presetstring or nullnoShape preset ID from the device library (e.g., "strimer-atx-24pin").
sizeNormalizedPositionyesZone dimensions on the canvas. Normalized [0.0, 1.0] relative to canvas size.
topologyLedTopologyyesLED arrangement within the zone’s bounding rectangle.
zone_namestring or nullnoSub-device channel or segment name (e.g., "ch1", "atx", "segment-0"). None for single-zone devices.

#OutputComponent

Attachment metadata carried by imported layout outputs.

FieldTypeRequiredDescription
instanceinteger (int32)noZero-based attachment instance index within the binding.
led_countinteger (int32) or nullnoPhysical LED count reserved for this imported attachment.
led_mappingarray of integer (int32) or nullnoOptional spatial-order -> physical-order LED remapping.
led_startinteger (int32) or nullnoInclusive physical LED start index for this imported attachment.
slot_idstringyesSource slot ID on the physical controller.
template_idstringyesBound attachment template identifier.

#PageInfo

Paging state for endpoints that genuinely page.

FieldTypeRequiredDescription
has_morebooleanyesWhether more items exist past this page.
limitinteger (int64)yesRequested page size.
offsetinteger (int64)yesOffset 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).

FieldTypeRequired
clear_bindingsarray of stringno
valuesmap of ControlValueno

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.

FieldTypeRequiredDescription
controlsmap of ControlValuenoControl values that define this preset. Keys are control IDs.
descriptionstring or nullnoOptional short description.
idstringyesStable identifier authored by the effect or derived from its name.
namestringyesHuman-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.

FieldTypeRequiredDescription
actionstringyesrestart, terminate_process, daemon_stopping, process_abort, or awaiting_supervisor.
current_processbooleanyesWhether this daemon run recorded the failure, as opposed to an earlier run whose record survived in the state directory.
kindstringyespanic, input_pump_terminated, input_pump_restart_failed, pipeline_rebuild_failed, or gpu_device_lost.
locationstring or nullno
messagestringyesThe panic message or error chain. Empty when the caller may not read private diagnostics.
occurred_atstringyesRFC 3339 UTC time of the failure.
restart_attemptinteger (int32)yesRestarts counted in the budget window by this failure.
threadstring or nullno

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

FieldTypeRequiredDescription
demand_holdsinteger (int32)yesExplicit demand holds, such as display output for previewed simulated displays.
idle_reasonstring or nullnoWhy the render loop is producing no frames, when it is parked. no_output_consumers while parked.
input_event_streamsinteger (int32)yesStream and diagnostic consumers of host input events, which the render loop republishes.
last_wake_reasonstring or nullnoWhat last woke the loop from a park: output_consumer, scene_transaction, producer_state, or render_loop_state.
output_devicesinteger (int32)yesConnected devices that receive frames. Simulated displays count only while previewed, through demand_holds.
parkedbooleanyesWhether the render loop is parked because nothing consumes its frames.
parked_msinteger (int64) or nullnoHow long the loop has been parked, in milliseconds.
parks_totalinteger (int64)yesHow many times the loop has parked since the daemon started.
stream_receiversinteger (int32)yesLive 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.

FieldTypeRequiredDescription
consecutive_failuresinteger (int32)yesFailures since the pipeline last ran past its stable uptime.
gpu_errorsGpuErrorStatusnoUncaptured wgpu errors and device losses since the daemon started.
last_failureRenderFailureStatus or nullno
last_frame_age_msinteger (int64) or nullnoMilliseconds since the render loop last completed a frame.
max_restartsinteger (int32)yesRestarts the budget allows within its window.
phasestringyesnot_started, starting, running, restarting, terminating, or stopped.
restarts_totalinteger (int64)yesIn-process pipeline restarts since the daemon started.

#Rgb

Encoded sRGB color, no alpha. This is what device backends receive.

FieldTypeRequiredDescription
binteger (int32)yesBlue channel (0–255, sRGB encoded).
ginteger (int32)yesGreen channel (0–255, sRGB encoded).
rinteger (int32)yesRed channel (0–255, sRGB encoded).

#Rgba

Encoded sRGB color with straight (non-premultiplied) alpha.

FieldTypeRequiredDescription
ainteger (int32)yesAlpha channel (0 = transparent, 255 = opaque).
binteger (int32)yesBlue channel (0–255, sRGB encoded).
ginteger (int32)yesGreen channel (0–255, sRGB encoded).
rinteger (int32)yesRed channel (0–255, sRGB encoded).

#RingDef

Definition for a single ring within LedTopology::ConcentricRings.

FieldTypeRequiredDescription
countinteger (int32)yesNumber of LEDs in this ring.
directionWindingyesWinding direction.
radiusnumber (float)yesRadius as a fraction of the zone’s half-size. 0.0 = center, 1.0 = zone edge.
start_anglenumber (float)yesAngle 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.

FieldTypeRequiredDescription
radius_xnumber (float)yesHalf-width of the averaging rectangle in pixels.
radius_ynumber (float)yesHalf-height of the averaging rectangle in pixels.

type: "gaussian_area": Gaussian-weighted average for natural ambient falloff.

FieldTypeRequiredDescription
radiusinteger (int32)yesKernel half-size in pixels (full kernel = (2*radius+1)^2).
sigmanumber (float)yesStandard deviation of the Gaussian kernel.

#SceneLayer

Authored layer inside a zone’s bottom-to-top stack.

FieldTypeRequiredDescription
adjustLayerAdjustnoColor adjustments applied after the source produces a frame.
bindingsarray of LayerBindingnoLive scalar bindings for layer parameters.
blendBlendModenoHow this layer composes with the layer beneath it.
enabledbooleannoWhether this layer is currently active.
idSceneLayerIdyesStable identifier for this layer.
namestring or nullnoDisplay name. Defaults to the source’s intrinsic name in the UI.
opacitynumber (float)noLayer opacity.
scopeLayerScope or nullno
sourceLayerSourceyesContent source that feeds this layer.
transformLayerTransformnoGeometric 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.

FieldTypeRequired
appliedbooleanyes
messagestring or nullno

#SourceDiagnosticsDisplayField

One platform-authored, presentation-safe diagnostic value.

FieldTypeRequiredDescription
keystringyesAt least 1 characters, at most 64 characters.
labelstringyesAt least 1 characters, at most 64 characters.
valuestringyesAt most 256 characters.

#SourceDiagnosticsEnvelope

A versioned payload whose semantics remain owned by its platform crate.

FieldTypeRequiredDescription
displayarray of SourceDiagnosticsDisplayFieldyesAt most 24 items.
payloadanyyesOpaque platform JSON bounded to 16384 serialized UTF-8 bytes.
schemastringyesAt least 1 characters, at most 64 characters.
versioninteger (int32)yesAt 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.

FieldTypeRequired
heightnumber (float)yes
widthnumber (float)yes
xnumber (float)yes
ynumber (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.

FieldTypeRequired
placementsarray of MemberPlacementyes

#ZoneMember

One zone membership: a device segment’s assignment, with its own identity (Spec 78 §1.2).

FieldTypeRequiredDescription
device_idstringyesBackend device identifier ("<backend>:<device_id>").
idZoneMemberIdyesThe resource identity for DELETE .../members/{member}; unique within the zone.
namestringyesHuman-readable name carried from the layout output.
segmentstring or nullnoThe 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).

FieldTypeRequiredDescription
brightnessnumber (float)yes
colorstring or nullno
descriptionstring or nullno
display_targetobject or nullnoPresent on Display-role zones only.
enabledbooleanyes
idstringyes
layersarray of SceneLayeryesThe authored bottom-to-top layer stack. Layers are the real, addressable unit: clients patch the layer id they read here.
layoutZoneLayoutResource or nullno
membersarray of ZoneMemberyesDevice segments assigned to this zone, addressed by membership id (Spec 78 §1.2) — never by device-scoped segment name.
namestringyes
rolestringno
view_ofZoneViewOf or nullno

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

FieldTypeRequiredDescription
start_anglenumber (float)yesStart angle in radians.
sweep_anglenumber (float)yesSweep angle in radians.

shape_type: "ring": Full ring (fan rings).

shape_type: "custom": Arbitrary polygon defined by normalized vertices.

FieldTypeRequiredDescription
verticesarray of NormalizedPositionyesPolygon 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.

FieldTypeRequired
memberZoneMemberIdyes
zonestringyes

#Envelope

#ApiErrorBody

Standard error envelope: { error: { code, message, details }, meta }.

FieldTypeRequiredDescription
errorApiErrorDetailyesThe error payload.
metaResponseMetayesResponse metadata.

Unknown fields are rejected.

#ApiErrorDetail

The error payload inside ApiErrorBody.

FieldTypeRequiredDescription
codestringyesStable machine-readable error code (snake_case).
detailsanynoOptional structured detail (validation fields, current versions on precondition failures).
messagestringyesHuman-readable message.

Unknown fields are rejected.

#ResponseMeta

Response metadata included in every envelope.

FieldTypeRequiredDescription
api_versionstringyesAPI version string.
request_idstringyesPer-request correlation ID, prefixed req_.
timestampstringyesISO 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.