Dominevo
ReferenceHTTP API

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.

MethodKindTierToken scopeViewer
getDeviceSettingsContributionqueryprotectedviewno
getDeviceLiveContributionqueryprotectedviewno
applyDeviceSettingsPatchmutationadminadmin onlyno
requestOccupancyLookmutationadminadmin onlyno
pauseForStorageMigrationmutationadminadmin onlyno
resumeForStorageMigrationmutationadminadmin onlyno
assignPipelinemutationadminadmin onlyno
unassignPipelinemutationadminadmin onlyno
setPipelineDevicePinmutationadminadmin onlyno
getPipelineDevicePinqueryprotectedviewno
rebalancemutationadminadmin onlyno
getPipelineAssignmentsqueryprotectedviewno
getPipelineAssignmentqueryprotectedviewno
getAgentLoadqueryprotectedviewno
getClusterModelChoicequeryprotectedviewno
getGlobalMetricsqueryprotectedviewno
getCameraMetricsqueryprotectedviewno
getCapabilityBindingsqueryprotectedviewno
setCapabilityBindingmutationadminadmin onlyno
getIngestOwnerqueryprotectedviewno
assignAudiomutationadminadmin onlyno
unassignAudiomutationadminadmin onlyno
getAudioAssignmentqueryprotectedviewno
getAudioNodeLoadqueryprotectedviewno
getAudioAssignmentsqueryprotectedviewno
getAgentSettingsqueryprotectedviewno
listAgentSettingsqueryprotectedviewno
removeAgentSettingsmutationadminadmin onlyno
setAgentMaxCamerasmutationadminadmin onlyno
setAgentCapabilitiesmutationadminadmin onlyno
setAgentDecodeLimitsmutationadminadmin onlyno
setAgentReachableHostmutationadminadmin onlyno
setAgentInferenceDevicesmutationadminadmin onlyno
setNodeStepSettingsmutationadminadmin onlyno
setClusterStepModemutationadminadmin onlyno
setNodeStepEnabledmutationadminadmin onlyno
setDeviceStepEnabledmutationadminadmin onlyno
getStepSwitchesqueryprotectedviewno
getNodeInferenceDevicesqueryprotectedviewno
forgetInferenceDevicemutationadminadmin onlyno
resetNodePipelineDefaultsmutationadminadmin onlyno
planAutoTunequeryadminadmin onlyno
applyAutoTunemutationadminadmin onlyno
setLoadBalancingSharesmutationadminadmin onlyno
getPlacementStatsqueryadminadmin onlyno
getHealthDigestqueryadminadmin onlyno
suggestSharesqueryadminadmin onlyno
getEffectiveSharesqueryadminadmin onlyno
setShareSourcemutationadminadmin onlyno
getNodeBenchmarkPreflightqueryadminadmin onlyno
startNodeBenchmarkmutationadminadmin onlyno
getNodeBenchmarkStatusqueryadminadmin onlyno
abortNodeBenchmarkmutationadminadmin onlyno
getNodeBenchmarkCandidatesqueryadminadmin onlyno
listNodeBenchmarkResultsqueryadminadmin onlyno
getNodeCapacityVerdictqueryadminadmin onlyno
planDetectionDefaultsqueryadminadmin onlyno
applyDetectionDefaultsmutationadminadmin onlyno
setClusterDetectionDefaultsmutationadminadmin onlyno
deleteNodeBenchmarkResultmutationadminadmin onlyno
getCameraSettingsqueryprotectedviewno
setCameraStepTogglemutationadminadmin onlyno
getCameraDetectionSourcequeryprotectedviewno
setCameraDetectionSourcemutationadminadmin onlyno
setCameraStepSettingsmutationadminadmin onlyno
resolvePipelinequeryprotectedviewno
getCameraSwitchesqueryprotectedviewyes
setCameraSwitchmutationadminadmin onlyno
getCameraStatusqueryprotectedviewno
getCameraStatusesqueryprotectedviewno
setCameraSensorsmutationadminadmin onlyno
reconcileFromDiskmutationadminadmin onlyno
getReconcileFromDiskStatusqueryadminadmin onlyno

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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getDeviceSettingsContribution on 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[] })[] } | null

pipelineOrchestrator.getDeviceLiveContribution

  • Kind: query — GET /trpc/pipelineOrchestrator.getDeviceLiveContribution (added by the framework)
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getDeviceLiveContribution on 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[] })[] } | null

pipelineOrchestrator.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.applyDeviceSettingsPatch on 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.requestOccupancyLook on your hub

Input

OccupancyLookRequestSchema

Output

OccupancyLookAnswerSchema

Shapes: 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.pauseForStorageMigration on 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.resumeForStorageMigration on 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.assignPipeline on 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.unassignPipeline on 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.setPipelineDevicePin on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getPipelineDevicePin on 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.rebalance on your hub

Input

void

Output

{ 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getPipelineAssignments on your hub

Input

void

Output

PipelineAssignmentSchema[]

Shapes: PipelineAssignmentSchema

pipelineOrchestrator.getPipelineAssignment

  • Kind: query — GET /trpc/pipelineOrchestrator.getPipelineAssignment
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getPipelineAssignment on your hub

Input

{ deviceId: number }

Output

PipelineAssignmentSchema | null

Shapes: PipelineAssignmentSchema

pipelineOrchestrator.getAgentLoad

  • Kind: query — GET /trpc/pipelineOrchestrator.getAgentLoad
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getAgentLoad on your hub

Input

void

Output

AgentLoadSummarySchema[]

Shapes: AgentLoadSummarySchema

pipelineOrchestrator.getClusterModelChoice

  • Kind: query — GET /trpc/pipelineOrchestrator.getClusterModelChoice
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getClusterModelChoice on your hub

Input

{ stepId: string }

Output

ClusterModelChoiceSchema

Shapes: ClusterModelChoiceSchema

pipelineOrchestrator.getGlobalMetrics

  • Kind: query — GET /trpc/pipelineOrchestrator.getGlobalMetrics
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getGlobalMetrics on your hub

Input

void

Output

GlobalMetricsSchema

Shapes: GlobalMetricsSchema

pipelineOrchestrator.getCameraMetrics

  • Kind: query — GET /trpc/pipelineOrchestrator.getCameraMetrics
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraMetrics on your hub

Input

{ deviceId: number }

Output

CameraMetricsSchema | null

Shapes: CameraMetricsSchema

pipelineOrchestrator.getCapabilityBindings

  • Kind: query — GET /trpc/pipelineOrchestrator.getCapabilityBindings
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCapabilityBindings on your hub

Input

{ nodeId: string }

Output

CapabilityBindingsSchema

Shapes: 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.setCapabilityBinding on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getIngestOwner on your hub

Input

void

Output

IngestOwnerSchema

Shapes: 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.assignAudio on 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.unassignAudio on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getAudioAssignment on your hub

Input

{ deviceId: number }

Output

{ nodeId: string; pinned: boolean; assignedAt: number } | null

pipelineOrchestrator.getAudioNodeLoad

  • Kind: query — GET /trpc/pipelineOrchestrator.getAudioNodeLoad
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getAudioNodeLoad on your hub

Input

void

Output

({ 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getAudioAssignments on your hub

Input

void

Output

({ 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getAgentSettings on 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 }> }> } | null

pipelineOrchestrator.listAgentSettings

  • Kind: query — GET /trpc/pipelineOrchestrator.listAgentSettings
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.listAgentSettings on your hub

Input

void

Output

({ 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.removeAgentSettings on 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.setAgentMaxCameras on 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.setAgentCapabilities on 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.setAgentDecodeLimits on 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.setAgentReachableHost on 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.setAgentInferenceDevices on 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.setNodeStepSettings on 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.setClusterStepMode on 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.setNodeStepEnabled on 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.setDeviceStepEnabled on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getStepSwitches on your hub

Input

void

Output

StepSwitchMatrixSchema

Shapes: StepSwitchMatrixSchema

pipelineOrchestrator.getNodeInferenceDevices

  • Kind: query — GET /trpc/pipelineOrchestrator.getNodeInferenceDevices
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getNodeInferenceDevices on 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.forgetInferenceDevice on 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.resetNodePipelineDefaults on 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.planAutoTune on 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.applyAutoTune on 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.setLoadBalancingShares on 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.getPlacementStats on 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.getHealthDigest on 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.suggestShares on 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.getEffectiveShares on your hub

Input

void

Output

{ 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.setShareSource on 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.getNodeBenchmarkPreflight on 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.startNodeBenchmark on 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.getNodeBenchmarkStatus on your hub

Input

void

Output

{ 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.abortNodeBenchmark on 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.getNodeBenchmarkCandidates on 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.listNodeBenchmarkResults on 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.getNodeCapacityVerdict on 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.planDetectionDefaults on 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.applyDetectionDefaults on 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.setClusterDetectionDefaults on 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.deleteNodeBenchmarkResult on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraSettings on your hub

Input

{ deviceId: number }

Output

{ stepToggles?: Record<string, boolean>; stepSettings?: Record<string, Record<string, unknown>> } | null

pipelineOrchestrator.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.setCameraStepToggle on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraDetectionSource on 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.setCameraDetectionSource on 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.setCameraStepSettings on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.resolvePipeline on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraSwitches on 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.setCameraSwitch on 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: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraStatus on your hub

Input

{ deviceId: number }

Output

CameraStatusSchema

Shapes: CameraStatusSchema

pipelineOrchestrator.getCameraStatuses

  • Kind: query — GET /trpc/pipelineOrchestrator.getCameraStatuses
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-orchestrator, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=pipelineOrchestrator.getCameraStatuses on 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.setCameraSensors on your hub

Input

SetCameraSensorsInputSchema

Output

{ 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.reconcileFromDisk on your hub

Input

void

Output

DiskReconcileJobSchema

Shapes: 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.getReconcileFromDiskStatus on your hub

Input

void

Output

DiskReconcileJobSchema

Shapes: DiskReconcileJobSchema

On this page

pipelineOrchestrator.getDeviceSettingsContributionpipelineOrchestrator.getDeviceLiveContributionpipelineOrchestrator.applyDeviceSettingsPatchpipelineOrchestrator.requestOccupancyLookpipelineOrchestrator.pauseForStorageMigrationpipelineOrchestrator.resumeForStorageMigrationpipelineOrchestrator.assignPipelinepipelineOrchestrator.unassignPipelinepipelineOrchestrator.setPipelineDevicePinpipelineOrchestrator.getPipelineDevicePinpipelineOrchestrator.rebalancepipelineOrchestrator.getPipelineAssignmentspipelineOrchestrator.getPipelineAssignmentpipelineOrchestrator.getAgentLoadpipelineOrchestrator.getClusterModelChoicepipelineOrchestrator.getGlobalMetricspipelineOrchestrator.getCameraMetricspipelineOrchestrator.getCapabilityBindingspipelineOrchestrator.setCapabilityBindingpipelineOrchestrator.getIngestOwnerpipelineOrchestrator.assignAudiopipelineOrchestrator.unassignAudiopipelineOrchestrator.getAudioAssignmentpipelineOrchestrator.getAudioNodeLoadpipelineOrchestrator.getAudioAssignmentspipelineOrchestrator.getAgentSettingspipelineOrchestrator.listAgentSettingspipelineOrchestrator.removeAgentSettingspipelineOrchestrator.setAgentMaxCameraspipelineOrchestrator.setAgentCapabilitiespipelineOrchestrator.setAgentDecodeLimitspipelineOrchestrator.setAgentReachableHostpipelineOrchestrator.setAgentInferenceDevicespipelineOrchestrator.setNodeStepSettingspipelineOrchestrator.setClusterStepModepipelineOrchestrator.setNodeStepEnabledpipelineOrchestrator.setDeviceStepEnabledpipelineOrchestrator.getStepSwitchespipelineOrchestrator.getNodeInferenceDevicespipelineOrchestrator.forgetInferenceDevicepipelineOrchestrator.resetNodePipelineDefaultspipelineOrchestrator.planAutoTunepipelineOrchestrator.applyAutoTunepipelineOrchestrator.setLoadBalancingSharespipelineOrchestrator.getPlacementStatspipelineOrchestrator.getHealthDigestpipelineOrchestrator.suggestSharespipelineOrchestrator.getEffectiveSharespipelineOrchestrator.setShareSourcepipelineOrchestrator.getNodeBenchmarkPreflightpipelineOrchestrator.startNodeBenchmarkpipelineOrchestrator.getNodeBenchmarkStatuspipelineOrchestrator.abortNodeBenchmarkpipelineOrchestrator.getNodeBenchmarkCandidatespipelineOrchestrator.listNodeBenchmarkResultspipelineOrchestrator.getNodeCapacityVerdictpipelineOrchestrator.planDetectionDefaultspipelineOrchestrator.applyDetectionDefaultspipelineOrchestrator.setClusterDetectionDefaultspipelineOrchestrator.deleteNodeBenchmarkResultpipelineOrchestrator.getCameraSettingspipelineOrchestrator.setCameraStepTogglepipelineOrchestrator.getCameraDetectionSourcepipelineOrchestrator.setCameraDetectionSourcepipelineOrchestrator.setCameraStepSettingspipelineOrchestrator.resolvePipelinepipelineOrchestrator.getCameraSwitchespipelineOrchestrator.setCameraSwitchpipelineOrchestrator.getCameraStatuspipelineOrchestrator.getCameraStatusespipelineOrchestrator.setCameraSensorspipelineOrchestrator.reconcileFromDiskpipelineOrchestrator.getReconcileFromDiskStatus