pipelineOrchestrator
The pipelineOrchestrator router: 73 methods of the pipeline-orchestrator capability, with tier, scope, input and output.
Capability pipeline-orchestrator · scope system · mode singleton · source packages/types/src/capabilities/pipeline-orchestrator.cap.ts:858.
Every method is called at /trpc/pipelineOrchestrator.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getDeviceSettingsContribution | query | protected | view | no |
getDeviceLiveContribution | query | protected | view | no |
applyDeviceSettingsPatch | mutation | admin | admin only | no |
requestOccupancyLook | mutation | admin | admin only | no |
pauseForStorageMigration | mutation | admin | admin only | no |
resumeForStorageMigration | mutation | admin | admin only | no |
assignPipeline | mutation | admin | admin only | no |
unassignPipeline | mutation | admin | admin only | no |
setPipelineDevicePin | mutation | admin | admin only | no |
getPipelineDevicePin | query | protected | view | no |
rebalance | mutation | admin | admin only | no |
getPipelineAssignments | query | protected | view | no |
getPipelineAssignment | query | protected | view | no |
getAgentLoad | query | protected | view | no |
getClusterModelChoice | query | protected | view | no |
getGlobalMetrics | query | protected | view | no |
getCameraMetrics | query | protected | view | no |
getCapabilityBindings | query | protected | view | no |
setCapabilityBinding | mutation | admin | admin only | no |
getIngestOwner | query | protected | view | no |
assignAudio | mutation | admin | admin only | no |
unassignAudio | mutation | admin | admin only | no |
getAudioAssignment | query | protected | view | no |
getAudioNodeLoad | query | protected | view | no |
getAudioAssignments | query | protected | view | no |
getAgentSettings | query | protected | view | no |
listAgentSettings | query | protected | view | no |
removeAgentSettings | mutation | admin | admin only | no |
setAgentMaxCameras | mutation | admin | admin only | no |
setAgentCapabilities | mutation | admin | admin only | no |
setAgentDecodeLimits | mutation | admin | admin only | no |
setAgentReachableHost | mutation | admin | admin only | no |
setAgentInferenceDevices | mutation | admin | admin only | no |
setNodeStepSettings | mutation | admin | admin only | no |
setClusterStepMode | mutation | admin | admin only | no |
setNodeStepEnabled | mutation | admin | admin only | no |
setDeviceStepEnabled | mutation | admin | admin only | no |
getStepSwitches | query | protected | view | no |
getNodeInferenceDevices | query | protected | view | no |
forgetInferenceDevice | mutation | admin | admin only | no |
resetNodePipelineDefaults | mutation | admin | admin only | no |
planAutoTune | query | admin | admin only | no |
applyAutoTune | mutation | admin | admin only | no |
setLoadBalancingShares | mutation | admin | admin only | no |
getPlacementStats | query | admin | admin only | no |
getHealthDigest | query | admin | admin only | no |
suggestShares | query | admin | admin only | no |
getEffectiveShares | query | admin | admin only | no |
setShareSource | mutation | admin | admin only | no |
getNodeBenchmarkPreflight | query | admin | admin only | no |
startNodeBenchmark | mutation | admin | admin only | no |
getNodeBenchmarkStatus | query | admin | admin only | no |
abortNodeBenchmark | mutation | admin | admin only | no |
getNodeBenchmarkCandidates | query | admin | admin only | no |
listNodeBenchmarkResults | query | admin | admin only | no |
getNodeCapacityVerdict | query | admin | admin only | no |
planDetectionDefaults | query | admin | admin only | no |
applyDetectionDefaults | mutation | admin | admin only | no |
setClusterDetectionDefaults | mutation | admin | admin only | no |
deleteNodeBenchmarkResult | mutation | admin | admin only | no |
getCameraSettings | query | protected | view | no |
setCameraStepToggle | mutation | admin | admin only | no |
getCameraDetectionSource | query | protected | view | no |
setCameraDetectionSource | mutation | admin | admin only | no |
setCameraStepSettings | mutation | admin | admin only | no |
resolvePipeline | query | protected | view | no |
getCameraSwitches | query | protected | view | yes |
setCameraSwitch | mutation | admin | admin only | no |
getCameraStatus | query | protected | view | no |
getCameraStatuses | query | protected | view | no |
setCameraSensors | mutation | admin | admin only | no |
reconcileFromDisk | mutation | admin | admin only | no |
getReconcileFromDiskStatus | query | admin | admin only | no |
pipelineOrchestrator.getDeviceSettingsContribution
- Kind: query —
GET /trpc/pipelineOrchestrator.getDeviceSettingsContribution(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getDeviceSettingsContributionon your hub
Input
{ deviceId: number }Output
{ tabs?: ({ id: string; label: string; icon: string; order?: number })[]; sections: ({ id: string; title: string; description?: string; style?: "card" | "accordion"; defaultCollapsed?: boolean; columns?: 1 | 2 | 3 | 4; tab?: string; location?: "settings" | "top-tab" | "hero"; order?: number; fields: any[] })[] } | nullpipelineOrchestrator.getDeviceLiveContribution
- Kind: query —
GET /trpc/pipelineOrchestrator.getDeviceLiveContribution(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getDeviceLiveContributionon your hub
Input
{ deviceId: number }Output
{ tabs?: ({ id: string; label: string; icon: string; order?: number })[]; sections: ({ id: string; title: string; description?: string; style?: "card" | "accordion"; defaultCollapsed?: boolean; columns?: 1 | 2 | 3 | 4; tab?: string; location?: "settings" | "top-tab" | "hero"; order?: number; fields: any[] })[] } | nullpipelineOrchestrator.applyDeviceSettingsPatch
- Kind: mutation —
POST /trpc/pipelineOrchestrator.applyDeviceSettingsPatch(added by the framework) - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.applyDeviceSettingsPatchon your hub
Input
{ deviceId: number; patch: Record<string, unknown> }Output
{ success: true }pipelineOrchestrator.requestOccupancyLook
- Kind: mutation —
POST /trpc/pipelineOrchestrator.requestOccupancyLook - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.requestOccupancyLookon your hub
Input
OccupancyLookRequestSchemaOutput
OccupancyLookAnswerSchemaShapes: OccupancyLookRequestSchema · OccupancyLookAnswerSchema
pipelineOrchestrator.pauseForStorageMigration
- Kind: mutation —
POST /trpc/pipelineOrchestrator.pauseForStorageMigration - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.pauseForStorageMigrationon your hub
Input
{ leaseId: string }Output
{ paused: true }pipelineOrchestrator.resumeForStorageMigration
- Kind: mutation —
POST /trpc/pipelineOrchestrator.resumeForStorageMigration - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.resumeForStorageMigrationon your hub
Input
{ leaseId: string }Output
{ resumed: true }pipelineOrchestrator.assignPipeline
- Kind: mutation —
POST /trpc/pipelineOrchestrator.assignPipeline - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.assignPipelineon your hub
Input
{ deviceId: number; agentNodeId: string }Output
{ success: true }pipelineOrchestrator.unassignPipeline
- Kind: mutation —
POST /trpc/pipelineOrchestrator.unassignPipeline - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.unassignPipelineon your hub
Input
{ deviceId: number }Output
{ success: true }pipelineOrchestrator.setPipelineDevicePin
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setPipelineDevicePin - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setPipelineDevicePinon your hub
Input
{ deviceId: number; deviceKey: string }Output
{ success: true }pipelineOrchestrator.getPipelineDevicePin
- Kind: query —
GET /trpc/pipelineOrchestrator.getPipelineDevicePin - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getPipelineDevicePinon your hub
Input
{ deviceId: number }Output
{ deviceKey: string | null }pipelineOrchestrator.rebalance
- Kind: mutation —
POST /trpc/pipelineOrchestrator.rebalance - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.rebalanceon your hub
Input
voidOutput
{ migrated: number; skipped?: ({ deviceId: number; targetNodeId: string; reason: string })[] = [] }pipelineOrchestrator.getPipelineAssignments
- Kind: query —
GET /trpc/pipelineOrchestrator.getPipelineAssignments - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getPipelineAssignmentson your hub
Input
voidOutput
PipelineAssignmentSchema[]Shapes: PipelineAssignmentSchema
pipelineOrchestrator.getPipelineAssignment
- Kind: query —
GET /trpc/pipelineOrchestrator.getPipelineAssignment - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getPipelineAssignmenton your hub
Input
{ deviceId: number }Output
PipelineAssignmentSchema | nullShapes: PipelineAssignmentSchema
pipelineOrchestrator.getAgentLoad
- Kind: query —
GET /trpc/pipelineOrchestrator.getAgentLoad - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getAgentLoadon your hub
Input
voidOutput
AgentLoadSummarySchema[]Shapes: AgentLoadSummarySchema
pipelineOrchestrator.getClusterModelChoice
- Kind: query —
GET /trpc/pipelineOrchestrator.getClusterModelChoice - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getClusterModelChoiceon your hub
Input
{ stepId: string }Output
ClusterModelChoiceSchemaShapes: ClusterModelChoiceSchema
pipelineOrchestrator.getGlobalMetrics
- Kind: query —
GET /trpc/pipelineOrchestrator.getGlobalMetrics - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getGlobalMetricson your hub
Input
voidOutput
GlobalMetricsSchemaShapes: GlobalMetricsSchema
pipelineOrchestrator.getCameraMetrics
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraMetrics - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraMetricson your hub
Input
{ deviceId: number }Output
CameraMetricsSchema | nullShapes: CameraMetricsSchema
pipelineOrchestrator.getCapabilityBindings
- Kind: query —
GET /trpc/pipelineOrchestrator.getCapabilityBindings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCapabilityBindingson your hub
Input
{ nodeId: string }Output
CapabilityBindingsSchemaShapes: CapabilityBindingsSchema
pipelineOrchestrator.setCapabilityBinding
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCapabilityBinding - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCapabilityBindingon your hub
Input
{ nodeId: string; capName: string; addonId: string }Output
{ success: true }pipelineOrchestrator.getIngestOwner
- Kind: query —
GET /trpc/pipelineOrchestrator.getIngestOwner - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getIngestOwneron your hub
Input
voidOutput
IngestOwnerSchemaShapes: IngestOwnerSchema
pipelineOrchestrator.assignAudio
- Kind: mutation —
POST /trpc/pipelineOrchestrator.assignAudio - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.assignAudioon your hub
Input
{ deviceId: number; nodeId: string }Output
{ success: true }pipelineOrchestrator.unassignAudio
- Kind: mutation —
POST /trpc/pipelineOrchestrator.unassignAudio - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.unassignAudioon your hub
Input
{ deviceId: number }Output
{ success: true }pipelineOrchestrator.getAudioAssignment
- Kind: query —
GET /trpc/pipelineOrchestrator.getAudioAssignment - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getAudioAssignmenton your hub
Input
{ deviceId: number }Output
{ nodeId: string; pinned: boolean; assignedAt: number } | nullpipelineOrchestrator.getAudioNodeLoad
- Kind: query —
GET /trpc/pipelineOrchestrator.getAudioNodeLoad - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getAudioNodeLoadon your hub
Input
voidOutput
({ nodeId: string; deviceCount: number })[]pipelineOrchestrator.getAudioAssignments
- Kind: query —
GET /trpc/pipelineOrchestrator.getAudioAssignments - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getAudioAssignmentson your hub
Input
voidOutput
({ deviceId: number; nodeId: string; pinned: boolean; assignedAt: number })[]pipelineOrchestrator.getAgentSettings
- Kind: query —
GET /trpc/pipelineOrchestrator.getAgentSettings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getAgentSettingson your hub
Input
{ agentNodeId: string }Output
{ maxCameras?: number | null = null; detectWeight?: number; detect?: boolean; decode?: boolean; audio?: boolean; ingest?: boolean; decodeBudgetMb?: number; maxLiveDecodeWorkers?: number; reachableHost?: string; color?: "node-a" | "node-b" | "node-c" | "node-d" | "node-e" | "node-f" | "node-g" | "node-h"; stepSettings?: Record<string, Record<string, unknown>>; stepEnabled?: Record<string, boolean>; inferenceDevices?: Record<string, { enabled: boolean; weight?: number; maxSessions?: number; steps?: Record<string, { modelId?: string; settings?: Record<string, unknown>; jumpDeviceKey?: string; enabled?: boolean }> }> } | nullpipelineOrchestrator.listAgentSettings
- Kind: query —
GET /trpc/pipelineOrchestrator.listAgentSettings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.listAgentSettingson your hub
Input
voidOutput
({ nodeId: string; settings: { maxCameras?: number | null = null; detectWeight?: number; detect?: boolean; decode?: boolean; audio?: boolean; ingest?: boolean; decodeBudgetMb?: number; maxLiveDecodeWorkers?: number; reachableHost?: string; color?: "node-a" | "node-b" | "node-c" | "node-d" | "node-e" | "node-f" | "node-g" | "node-h"; stepSettings?: Record<string, Record<string, unknown>>; stepEnabled?: Record<string, boolean>; inferenceDevices?: Record<string, { enabled: boolean; weight?: number; maxSessions?: number; steps?: Record<string, { modelId?: string; settings?: Record<string, unknown>; jumpDeviceKey?: string; enabled?: boolean }> }> } })[]pipelineOrchestrator.removeAgentSettings
- Kind: mutation —
POST /trpc/pipelineOrchestrator.removeAgentSettings - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.removeAgentSettingson your hub
Input
{ agentNodeId: string }Output
{ success: boolean; removed: boolean }pipelineOrchestrator.setAgentMaxCameras
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setAgentMaxCameras - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setAgentMaxCamerason your hub
Input
{ agentNodeId: string; maxCameras: number | null }Output
{ success: true }pipelineOrchestrator.setAgentCapabilities
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setAgentCapabilities - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setAgentCapabilitieson your hub
Input
{ agentNodeId: string; detect?: boolean | null; audio?: boolean | null; ingest?: boolean | null }Output
{ success: true }pipelineOrchestrator.setAgentDecodeLimits
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setAgentDecodeLimits - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setAgentDecodeLimitson your hub
Input
{ agentNodeId: string; decodeBudgetMb?: number | null; maxLiveDecodeWorkers?: number | null }Output
{ success: true }pipelineOrchestrator.setAgentReachableHost
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setAgentReachableHost - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setAgentReachableHoston your hub
Input
{ agentNodeId: string; reachableHost?: string | null; color?: "node-a" | "node-b" | "node-c" | "node-d" | "node-e" | "node-f" | "node-g" | "node-h" | null }Output
{ success: true }pipelineOrchestrator.setAgentInferenceDevices
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setAgentInferenceDevices - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setAgentInferenceDeviceson your hub
Input
{ agentNodeId: string; inferenceDevices: Record<string, { enabled: boolean; weight?: number; maxSessions?: number; steps?: Record<string, { modelId?: string; settings?: Record<string, unknown>; jumpDeviceKey?: string; enabled?: boolean }> }> }Output
{ success: true }pipelineOrchestrator.setNodeStepSettings
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setNodeStepSettings - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setNodeStepSettingson your hub
Input
{ agentNodeId: string; addonId: string; settings: Record<string, unknown> | null }Output
{ success: true }pipelineOrchestrator.setClusterStepMode
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setClusterStepMode - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setClusterStepModeon your hub
Input
{ stepId: string; mode: StepClusterModeSchema | null }Output
{ success: true }Shapes: StepClusterModeSchema
pipelineOrchestrator.setNodeStepEnabled
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setNodeStepEnabled - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setNodeStepEnabledon your hub
Input
{ agentNodeId: string; stepId: string; enabled: boolean | null }Output
{ success: true }pipelineOrchestrator.setDeviceStepEnabled
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setDeviceStepEnabled - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setDeviceStepEnabledon your hub
Input
{ agentNodeId: string; deviceKey: string; stepId: string; enabled: boolean | null }Output
{ success: true }pipelineOrchestrator.getStepSwitches
- Kind: query —
GET /trpc/pipelineOrchestrator.getStepSwitches - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getStepSwitcheson your hub
Input
voidOutput
StepSwitchMatrixSchemaShapes: StepSwitchMatrixSchema
pipelineOrchestrator.getNodeInferenceDevices
- Kind: query —
GET /trpc/pipelineOrchestrator.getNodeInferenceDevices - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getNodeInferenceDeviceson your hub
Input
{ nodeId: string }Output
{ nodeId: string; reachable: boolean; devices: ({ key: string; backend: string; device: string; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf"; available: boolean; presence?: "present" | "absent" | "unknown"; enabled: boolean; weight: number; maxSessions: number | null; defaultModelId: string; steps?: Record<string, { modelId?: string; settings?: Record<string, unknown>; jumpDeviceKey?: string; enabled?: boolean }>; exclusion: InferenceDeviceExclusionReasonSchema | null })[]; defaultPoolExcluded?: boolean }Shapes: InferenceDeviceExclusionReasonSchema
pipelineOrchestrator.forgetInferenceDevice
- Kind: mutation —
POST /trpc/pipelineOrchestrator.forgetInferenceDevice - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.forgetInferenceDeviceon your hub
Input
{ agentNodeId: string; deviceKey: string }Output
{ success: true }pipelineOrchestrator.resetNodePipelineDefaults
- Kind: mutation —
POST /trpc/pipelineOrchestrator.resetNodePipelineDefaults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.resetNodePipelineDefaultson your hub
Input
{ agentNodeId: string }Output
{ success: true; effectiveModelId: string | null }pipelineOrchestrator.planAutoTune
- Kind: query —
GET /trpc/pipelineOrchestrator.planAutoTune - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.planAutoTuneon your hub
Input
{ headroom?: number = 0.4; minSessionsPerDevice?: number = 2 }Output
{ planHash: string; family: "yolov9"; headroom: number; minSessionsPerDevice: number; cameraFps: number; generatedAt: number; nodes: ({ nodeId: string; reachable: boolean; hardwareClass: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown" | null; cpuModel: string | null; skipped: boolean; acceleratorModelId: string | null; devices: ({ deviceKey: string; accelerator: "intel-npu" | "intel-igpu" | "amd-igpu" | "amd-npu" | "nvidia-gpu" | "x86-cpu" | "arm-cpu" | "apple-ane" | "coral" | null; enabled: boolean; available: boolean; chosen: { modelId: string; p50Ms: number; fps: number; measured: boolean; source?: {…} | {…} | {…}; estimatedFrom?: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown"; capacitySessions: number; personRecall: number } | null; kept?: "custom-pin"; reasons: ({ kind: "capacity"; sessions: number; minSessions: number } | { kind: "tie-faster"; over: string; recallDelta: number } | { kind: "stepped-down"; from: string; to: string; limitedBy: string } | { kind: "no-fit-lightest"; sessions: number; minSessions: number } | { kind: "derived-latency"; modelId: string } | { kind: "cpu-device" } | { kind: "device-disabled" } | { kind: "device-unavailable" } | { kind: "node-offline" } | { kind: "no-hardware-facts" } | { kind: "no-measured-data"; hardwareClass: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown" } | { kind: "no-family-build"; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf" } | { kind: "kept-custom-pin"; modelId: string; deviceKey: string })[] })[]; reasons: ({ kind: "capacity"; sessions: number; minSessions: number } | { kind: "tie-faster"; over: string; recallDelta: number } | { kind: "stepped-down"; from: string; to: string; limitedBy: string } | { kind: "no-fit-lightest"; sessions: number; minSessions: number } | { kind: "derived-latency"; modelId: string } | { kind: "cpu-device" } | { kind: "device-disabled" } | { kind: "device-unavailable" } | { kind: "node-offline" } | { kind: "no-hardware-facts" } | { kind: "no-measured-data"; hardwareClass: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown" } | { kind: "no-family-build"; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf" } | { kind: "kept-custom-pin"; modelId: string; deviceKey: string })[] })[]; nodeChanges: ({ nodeId: string; deviceKey: string; madeExplicit: boolean; modelPins: ({ stepId: string; before: string | null; after: string | null })[]; thresholds: ({ stepId: string; keys: string[] })[] })[]; warnings: ({ kind: "custom-pin-kept"; nodeId: string; deviceKey: string; modelId: string } | { kind: "custom-registry-unreadable"; error: string })[] }pipelineOrchestrator.applyAutoTune
- Kind: mutation —
POST /trpc/pipelineOrchestrator.applyAutoTune - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.applyAutoTuneon your hub
Input
{ planHash: string; headroom?: number = 0.4; minSessionsPerDevice?: number = 2 }Output
{ kind: "applied"; planHash: string; phases: ({ phase: "download" | "node-models" | "redispatch"; ok: boolean; detail: string })[] } | { kind: "aborted"; phases: ({ phase: "download" | "node-models" | "redispatch"; ok: boolean; detail: string })[] } | { kind: "stale"; plan: { planHash: string; family: "yolov9"; headroom: number; minSessionsPerDevice: number; cameraFps: number; generatedAt: number; nodes: ({ nodeId: string; reachable: boolean; hardwareClass: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown" | null; cpuModel: string | null; skipped: boolean; acceleratorModelId: string | null; devices: ({ deviceKey: string; accelerator: "intel-npu" | "intel-igpu" | "amd-igpu" | "amd-npu" | "nvidia-gpu" | "x86-cpu" | "arm-cpu" | "apple-ane" | "coral" | null; enabled: boolean; available: boolean; chosen: {…} | null; kept?: "custom-pin"; reasons: ({…} | {…} | {…} | {…} | {…} | {…} | {…} | {…} | {…} | {…} | {…} | {…} | {…})[] })[]; reasons: ({ kind: "capacity"; sessions: number; minSessions: number } | { kind: "tie-faster"; over: string; recallDelta: number } | { kind: "stepped-down"; from: string; to: string; limitedBy: string } | { kind: "no-fit-lightest"; sessions: number; minSessions: number } | { kind: "derived-latency"; modelId: string } | { kind: "cpu-device" } | { kind: "device-disabled" } | { kind: "device-unavailable" } | { kind: "node-offline" } | { kind: "no-hardware-facts" } | { kind: "no-measured-data"; hardwareClass: "intel-core-ultra" | "intel-n-series" | "apple-m-base" | "apple-m-pro" | "amd-phoenix" | "nvidia-gpu" | "unknown" } | { kind: "no-family-build"; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf" } | { kind: "kept-custom-pin"; modelId: string; deviceKey: string })[] })[]; nodeChanges: ({ nodeId: string; deviceKey: string; madeExplicit: boolean; modelPins: ({ stepId: string; before: string | null; after: string | null })[]; thresholds: ({ stepId: string; keys: string[] })[] })[]; warnings: ({ kind: "custom-pin-kept"; nodeId: string; deviceKey: string; modelId: string } | { kind: "custom-registry-unreadable"; error: string })[] } } | { kind: "refused"; reason: "apply-in-progress" }pipelineOrchestrator.setLoadBalancingShares
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setLoadBalancingShares - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setLoadBalancingShareson your hub
Input
{ nodes?: Record<string, number> = {}; devices?: Record<string, Record<string, number>> = {} }Output
{ success: true }pipelineOrchestrator.getPlacementStats
- Kind: query —
GET /trpc/pipelineOrchestrator.getPlacementStats - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getPlacementStatson your hub
Input
{ windowMs?: number = 3600000 }Output
{ policy: "least-loaded" | "share"; windowMs: number; observedForMs: number; sessionsNow: number; clusterPeakSessions: number; nodes: ({ nodeId: string; sessionsNow: number; sessionsStarted: number; observedShare: number | null; peakSessions: number; yieldsAway: number; devices: ({ deviceKey: string; sessionsNow: number; sessionsStarted: number; observedShare: number | null })[] })[]; stalePins: ({ deviceId: number; deviceKey: string; reason: "disabled" | "absent" })[] }pipelineOrchestrator.getHealthDigest
- Kind: query —
GET /trpc/pipelineOrchestrator.getHealthDigest - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getHealthDigeston your hub
Input
{ history?: number = 1 }Output
{ latest: { generatedAt: number; tickMs: number; camerasSeen: number | null; findings: ({ id: string; kind: "motion-without-detections" | "detections-under-floor" | "inference-too-slow" | "frames-shed" | "inference-device-unusable"; severity: "info" | "warning" | "critical"; subject: { type: "camera"; deviceId: number } | { type: "node"; nodeId: string } | { type: "inference-device"; nodeId: string; deviceKey: string }; what: string; evidence: Record<string, number | null>; action: string })[]; cameraSignals: ({ deviceId: number; nativeCropMissesSincePreviousTick: number | null })[]; nodes: ({ nodeId: string; sessionsNow: number; unusableDevices: string[]; devices: ({ deviceKey: string; sessionsNow: number; usable: boolean })[] })[]; sources: ({ source: string; entries: number | null })[]; notCovered: string[] } | null; previous: ({ generatedAt: number; tickMs: number; camerasSeen: number | null; findings: ({ id: string; kind: "motion-without-detections" | "detections-under-floor" | "inference-too-slow" | "frames-shed" | "inference-device-unusable"; severity: "info" | "warning" | "critical"; subject: { type: "camera"; deviceId: number } | { type: "node"; nodeId: string } | { type: "inference-device"; nodeId: string; deviceKey: string }; what: string; evidence: Record<string, number | null>; action: string })[]; cameraSignals: ({ deviceId: number; nativeCropMissesSincePreviousTick: number | null })[]; nodes: ({ nodeId: string; sessionsNow: number; unusableDevices: string[]; devices: ({ deviceKey: string; sessionsNow: number; usable: boolean })[] })[]; sources: ({ source: string; entries: number | null })[]; notCovered: string[] })[] }pipelineOrchestrator.suggestShares
- Kind: query —
GET /trpc/pipelineOrchestrator.suggestShares - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.suggestShareson your hub
Input
{ headroom?: number = 0.4; source?: "hardware" | "benchmark" = "hardware" }Output
{ headroom: number; source: "hardware" | "benchmark"; cameraFps: number; minSessionsPerDevice: number; nodes: ({ nodeId: string; share: number | null; capacitySessions: number; devices: ({ deviceKey: string; share: number; modelId: string | null; fps: number | null; measured: boolean; suggestedMaxSessions: number | null })[]; skippedReason: string | null; capacitySource: "hardware" | "benchmark" | null; capacityFallback: "no-benchmark-results" | "partial-benchmark-results" | null })[] }pipelineOrchestrator.getEffectiveShares
- Kind: query —
GET /trpc/pipelineOrchestrator.getEffectiveShares - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getEffectiveShareson your hub
Input
voidOutput
{ source: "hardware" | "benchmark" | "manual"; policy: "least-loaded" | "share"; autoPending: boolean; computedAt: number | null; trigger: string | null; nodes: ({ nodeId: string; eligible: boolean; configuredPct: number; effectivePct: number; capacitySource: "hardware" | "benchmark" | null; capacityFallback: "no-benchmark-results" | "partial-benchmark-results" | null; devices: ({ deviceKey: string; eligible: boolean; configuredPct: number; effectivePct: number })[] })[]; nodeWeights: Record<string, number>; deviceWeights: Record<string, Record<string, number>> }pipelineOrchestrator.setShareSource
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setShareSource - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setShareSourceon your hub
Input
{ source: "hardware" | "benchmark" | "manual" }Output
{ success: true }pipelineOrchestrator.getNodeBenchmarkPreflight
- Kind: query —
GET /trpc/pipelineOrchestrator.getNodeBenchmarkPreflight - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getNodeBenchmarkPreflighton your hub
Input
{ nodeId: string; devices: ({ deviceKey: string; modelIds: string[] })[]; phases?: ("device" | "pipeline" | "decode")[] = ["device","pipeline","decode"]; steps?: string[] = []; fpsPerStream?: number = 10; budgetMinutes?: number = 45; keepDownloadedModels?: boolean = false; acceptInsufficientHeadroom?: boolean = false }Output
{ nodeId: string; online: boolean; moving: ({ deviceId: number; placedOnNode: boolean; pinnedToNode: boolean })[]; staying: ({ deviceId: number; reason: "only-frame-source" })[]; estimatedDurationMs: number; budgetMs: number; phases: ("device" | "pipeline" | "decode")[]; steps: string[]; devices: ({ deviceKey: string; modelIds: string[] })[]; headroom: { sessionsNow: number; otherNodesCapacitySessions: number | null }; refusals: ({ kind: "benchmark-active" | "node-offline" | "unknown-device" | "no-phase" | "insufficient-headroom"; detail: string; overridable: boolean })[]; canStart: boolean }pipelineOrchestrator.startNodeBenchmark
- Kind: mutation —
POST /trpc/pipelineOrchestrator.startNodeBenchmark - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.startNodeBenchmarkon your hub
Input
{ nodeId: string; devices: ({ deviceKey: string; modelIds: string[] })[]; phases?: ("device" | "pipeline" | "decode")[] = ["device","pipeline","decode"]; steps?: string[] = []; fpsPerStream?: number = 10; budgetMinutes?: number = 45; keepDownloadedModels?: boolean = false; acceptInsufficientHeadroom?: boolean = false }Output
{ kind: "started"; runId: string } | { kind: "refused"; preflight: { nodeId: string; online: boolean; moving: ({ deviceId: number; placedOnNode: boolean; pinnedToNode: boolean })[]; staying: ({ deviceId: number; reason: "only-frame-source" })[]; estimatedDurationMs: number; budgetMs: number; phases: ("device" | "pipeline" | "decode")[]; steps: string[]; devices: ({ deviceKey: string; modelIds: string[] })[]; headroom: { sessionsNow: number; otherNodesCapacitySessions: number | null }; refusals: ({ kind: "benchmark-active" | "node-offline" | "unknown-device" | "no-phase" | "insufficient-headroom"; detail: string; overridable: boolean })[]; canStart: boolean } }pipelineOrchestrator.getNodeBenchmarkStatus
- Kind: query —
GET /trpc/pipelineOrchestrator.getNodeBenchmarkStatus - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getNodeBenchmarkStatuson your hub
Input
voidOutput
{ modeNodeId: string | null; run: { runId: string; nodeId: string; state: "draining" | "measuring" | "restoring" | "done" | "failed" | "aborted"; plan: { nodeId: string; devices: ({ deviceKey: string; modelIds: string[] })[]; phases?: ("device" | "pipeline" | "decode")[] = ["device","pipeline","decode"]; steps?: string[] = []; fpsPerStream?: number = 10; budgetMinutes?: number = 45; keepDownloadedModels?: boolean = false; acceptInsufficientHeadroom?: boolean = false }; startedAtMs: number; deadlineAtMs: number; finishedAtMs: number | null; endReason: "completed" | "operator-abort" | "deadline" | "node-lost" | "runner-lost" | "hub-restart" | "drain-timeout" | "failed" | null; error: string | null; moved: number[]; staying: number[]; contaminated: boolean; progress: { phase: "preparing" | "device" | "pipeline" | "decode" | "cleanup"; deviceKey: string | null; modelId: string | null; load: number | null; cellsDone: number; cellsTotal: number; message: string } | null; resultIds: string[] } | null }pipelineOrchestrator.abortNodeBenchmark
- Kind: mutation —
POST /trpc/pipelineOrchestrator.abortNodeBenchmark - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.abortNodeBenchmarkon your hub
Input
{ runId: string }Output
{ aborted: boolean }pipelineOrchestrator.getNodeBenchmarkCandidates
- Kind: query —
GET /trpc/pipelineOrchestrator.getNodeBenchmarkCandidates - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getNodeBenchmarkCandidateson your hub
Input
{ nodeId: string }Output
{ nodeId: string; reachable: boolean; devices: ({ deviceKey: string; enabled: boolean; available: boolean; suggested: string[]; all: string[]; currentModelId: string | null })[]; steps: ({ id: string; name: string; slot: string })[] }pipelineOrchestrator.listNodeBenchmarkResults
- Kind: query —
GET /trpc/pipelineOrchestrator.listNodeBenchmarkResults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.listNodeBenchmarkResultson your hub
Input
{ nodeId?: string; deviceKey?: string }Output
({ id: string; runId: string; nodeId: string; cell: { phase: "device"; deviceKey: string; modelId: string; p50Ms: number; p95Ms: number; p99Ms: number; fps: number; kMax: number; limitedBy: "p95" | "fps" | "drops" | "errors" | "stall" | "cpu" | "ram" | "none"; warmupMs: number; ramp: ({ load: number; pass: boolean; p95Ms: number; dropRatio: number; fps: number; cpuPct: number | null; ramFreePct: number | null; failReasons: string[] })[] } | { phase: "pipeline"; deviceKey: string; modelId: string; steps: string[]; maxSessions: number; limitedBy: "p95" | "fps" | "drops" | "errors" | "stall" | "cpu" | "ram" | "none"; stepsFired: string[]; warmupMs: number; ramp: ({ load: number; pass: boolean; p95Ms: number; dropRatio: number; fps: number; cpuPct: number | null; ramFreePct: number | null; failReasons: string[] })[] } | { phase: "decode"; profile: { width: number; height: number; fps: number; codec: "h264" | "h265" }; maxStreams: number; limitedBy: "p95" | "fps" | "drops" | "errors" | "stall" | "cpu" | "ram" | "none"; hardware: boolean; decoder: string; motion: boolean; warmupMs: number; ramp: ({ load: number; pass: boolean; minFps: number | null; ageP95Ms: number | null; cpuPct: number | null; ramFreePct: number | null; failReasons: string[] })[] }; fpsPerStream: number; fingerprint: { pipelineVersion: string | null; cpuModel: string | null; ramGb: number | null; os: string | null; pools?: Record<string, { runtime: string; numWorkers: number; concurrency: number; batchMode: string }> = {} } | null; clip: { id: string; revision: string | null; frames: number; width: number; height: number } | null; contaminated: boolean; stayingCameras: number[]; partialRun: boolean; measuredAtMs: number; standing: "fresh" | "stale" | "superseded"; staleWhy: "age" | "runtime" | "pool-tuning" | null })[]pipelineOrchestrator.getNodeCapacityVerdict
- Kind: query —
GET /trpc/pipelineOrchestrator.getNodeCapacityVerdict - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getNodeCapacityVerdicton your hub
Input
{ nodeId?: string }Output
({ nodeId: string; detection: { maxSessions: number; measuredAtMs: number; cells: ({ deviceKey: string; modelId: string | null; phase: "device" | "pipeline"; maxSessions: number })[] } | null; decode: { maxStreams: number; measuredAtMs: number; profile: { width: number; height: number; fps: number; codec: "h264" | "h265" }; hardware: boolean; decoder: string } | null; capacity: number | null; limitedBy: "decode" | "detection" | null; complete: boolean })[]pipelineOrchestrator.planDetectionDefaults
- Kind: query —
GET /trpc/pipelineOrchestrator.planDetectionDefaults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.planDetectionDefaultson your hub
Input
{}Output
{ recommendation: { detectionStreamProfile: CamProfileSchema | null; detectionFps: number | null; reasons: ({ kind: "no-serving-nodes" } | { kind: "cpu-only"; nodeId: string; dimension: "stream-profile" | "fps" } | { kind: "decode-4k-below-cameras"; nodeId: string; maxStreams: number; cameras: number } | { kind: "unknown"; nodeId: string; dimension: "stream-profile" | "fps"; missing: "accelerator" | "decode-4k" })[] }; current: { detectionStreamProfile?: CamProfileSchema; detectionFps?: number }; overrides: { count: number; deviceIds: number[] }; planHash: string }Shapes: CamProfileSchema
pipelineOrchestrator.applyDetectionDefaults
- Kind: mutation —
POST /trpc/pipelineOrchestrator.applyDetectionDefaults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.applyDetectionDefaultson your hub
Input
{ planHash: string }Output
{ kind: "applied"; written: { detectionStreamProfile?: CamProfileSchema; detectionFps?: number } } | { kind: "stale"; plan: { recommendation: { detectionStreamProfile: CamProfileSchema | null; detectionFps: number | null; reasons: ({ kind: "no-serving-nodes" } | { kind: "cpu-only"; nodeId: string; dimension: "stream-profile" | "fps" } | { kind: "decode-4k-below-cameras"; nodeId: string; maxStreams: number; cameras: number } | { kind: "unknown"; nodeId: string; dimension: "stream-profile" | "fps"; missing: "accelerator" | "decode-4k" })[] }; current: { detectionStreamProfile?: CamProfileSchema; detectionFps?: number }; overrides: { count: number; deviceIds: number[] }; planHash: string } }Shapes: CamProfileSchema
pipelineOrchestrator.setClusterDetectionDefaults
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setClusterDetectionDefaults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setClusterDetectionDefaultson your hub
Input
{ detectionStreamProfile?: CamProfileSchema; detectionFps?: number }Output
{ detectionStreamProfile?: CamProfileSchema; detectionFps?: number }Shapes: CamProfileSchema
pipelineOrchestrator.deleteNodeBenchmarkResult
- Kind: mutation —
POST /trpc/pipelineOrchestrator.deleteNodeBenchmarkResult - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.deleteNodeBenchmarkResulton your hub
Input
{ id: string }Output
{ deleted: boolean }pipelineOrchestrator.getCameraSettings
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraSettings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraSettingson your hub
Input
{ deviceId: number }Output
{ stepToggles?: Record<string, boolean>; stepSettings?: Record<string, Record<string, unknown>> } | nullpipelineOrchestrator.setCameraStepToggle
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCameraStepToggle - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCameraStepToggleon your hub
Input
{ deviceId: number; addonId: string; enabled: boolean | null }Output
{ success: true }pipelineOrchestrator.getCameraDetectionSource
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraDetectionSource - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraDetectionSourceon your hub
Input
{ deviceId: number }Output
{ source: CameraDetectionSourceSchema; explicit: boolean; onboard: { available: boolean; geometry: "boxed" | "while-streaming" | "flag-only" | "unknown" } }Shapes: CameraDetectionSourceSchema
pipelineOrchestrator.setCameraDetectionSource
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCameraDetectionSource - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCameraDetectionSourceon your hub
Input
{ deviceId: number; source: CameraDetectionSourceSchema }Output
{ success: true }Shapes: CameraDetectionSourceSchema
pipelineOrchestrator.setCameraStepSettings
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCameraStepSettings - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCameraStepSettingson your hub
Input
{ deviceId: number; addonId: string; settings: Record<string, unknown> | null }Output
{ success: true }pipelineOrchestrator.resolvePipeline
- Kind: query —
GET /trpc/pipelineOrchestrator.resolvePipeline - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.resolvePipelineon your hub
Input
{ deviceId: number; agentNodeId?: string }Output
{ engine?: PipelineEngineChoiceSchema; steps: ({ addonId: string; modelId?: string; enabled?: boolean = true; children?: self[]; settings?: Record<string, unknown>; jumpDeviceKey?: string })[]; audio?: { engine?: PipelineEngineChoiceSchema; modelId?: string; enabled: boolean; settings?: Record<string, unknown> } | null }Shapes: PipelineEngineChoiceSchema
pipelineOrchestrator.getCameraSwitches
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraSwitches - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraSwitcheson your hub
Input
{ deviceId: number }Output
{ deviceId: number; switches: ({ id: "stream-broker" | "object-detection" | "privacy-mask" | "device-audio" | "broker-audio" | "audio-analysis" | "event-saving" | "recording" | "notifications"; label: string; costWhenOff: string; available: boolean; unavailableReason?: "no-provider" | "source-unreachable" | "device-disabled"; warning?: "no-privacy-zones"; enabled: boolean; authority: { kind: "device-disabled" } | { kind: "wrapper-binding"; capName: string } | { kind: "recording-config" } | { kind: "notification-mute" } | { kind: "camera-audio"; capName: string } | { kind: "camera-mask"; capName: string } | { kind: "broker-audio-mute" } })[]; fetchedAt: number }pipelineOrchestrator.setCameraSwitch
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCameraSwitch - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCameraSwitchon your hub
Input
{ deviceId: number; switchId: "stream-broker" | "object-detection" | "privacy-mask" | "device-audio" | "broker-audio" | "audio-analysis" | "event-saving" | "recording" | "notifications"; enabled: boolean }Output
{ deviceId: number; switches: ({ id: "stream-broker" | "object-detection" | "privacy-mask" | "device-audio" | "broker-audio" | "audio-analysis" | "event-saving" | "recording" | "notifications"; label: string; costWhenOff: string; available: boolean; unavailableReason?: "no-provider" | "source-unreachable" | "device-disabled"; warning?: "no-privacy-zones"; enabled: boolean; authority: { kind: "device-disabled" } | { kind: "wrapper-binding"; capName: string } | { kind: "recording-config" } | { kind: "notification-mute" } | { kind: "camera-audio"; capName: string } | { kind: "camera-mask"; capName: string } | { kind: "broker-audio-mute" } })[]; fetchedAt: number }pipelineOrchestrator.getCameraStatus
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraStatus - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraStatuson your hub
Input
{ deviceId: number }Output
CameraStatusSchemaShapes: CameraStatusSchema
pipelineOrchestrator.getCameraStatuses
- Kind: query —
GET /trpc/pipelineOrchestrator.getCameraStatuses - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-orchestrator, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getCameraStatuseson your hub
Input
{ deviceIds?: number[] }Output
CameraStatusSchema[]Shapes: CameraStatusSchema
pipelineOrchestrator.setCameraSensors
- Kind: mutation —
POST /trpc/pipelineOrchestrator.setCameraSensors - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.setCameraSensorson your hub
Input
SetCameraSensorsInputSchemaOutput
{ success: true }Shapes: SetCameraSensorsInputSchema
pipelineOrchestrator.reconcileFromDisk
- Kind: mutation —
POST /trpc/pipelineOrchestrator.reconcileFromDisk - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.reconcileFromDiskon your hub
Input
voidOutput
DiskReconcileJobSchemaShapes: DiskReconcileJobSchema
pipelineOrchestrator.getReconcileFromDiskStatus
- Kind: query —
GET /trpc/pipelineOrchestrator.getReconcileFromDiskStatus - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineOrchestrator.getReconcileFromDiskStatuson your hub
Input
voidOutput
DiskReconcileJobSchemaShapes: DiskReconcileJobSchema