pipelineExecutor
The pipelineExecutor router: 30 methods of the pipeline-executor capability, with tier, scope, input and output.
Capability pipeline-executor · scope system · mode singleton · source packages/types/src/capabilities/pipeline-executor.cap.ts:445.
Every method is called at /trpc/pipelineExecutor.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getAvailableEngines | query | protected | view | no |
getSelectedEngine | query | protected | view | no |
getEngineProvisioning | query | protected | view | no |
getVideoPipelineSteps | query | protected | view | no |
setVideoPipelineSteps | mutation | admin | admin only | no |
getInferenceDeviceHealth | query | protected | view | no |
rearmInferenceDevice | mutation | admin | admin only | no |
getSchema | query | protected | view | no |
getOrchestratorConfigSchema | query | protected | view | no |
validatePipeline | query | protected | view | no |
getCapabilities | query | protected | view | no |
getAddonModels | query | protected | view | no |
downloadModel | mutation | protected | create | no |
deleteModel | mutation | protected | delete | no |
runPipeline | mutation | protected | create | no |
runPipelineBatch | mutation | protected | create | no |
cacheFrameInPool | mutation | protected | create | no |
inferCached | mutation | protected | create | no |
uncacheFrame | mutation | protected | create | no |
getEffectiveTuning | query | protected | view | no |
listLoadedEngines | query | protected | view | no |
spinEngine | mutation | admin | admin only | no |
killEngine | mutation | admin | admin only | no |
listReferenceImages | query | protected | view | no |
getReferenceImage | query | protected | view | no |
getReferenceAudioFiles | query | protected | view | no |
getReferenceAudio | query | protected | view | no |
getAudioCapabilities | query | protected | view | no |
runAudioTest | mutation | protected | create | no |
getDetectionConfigSchema | query | protected | view | no |
pipelineExecutor.getAvailableEngines
- Kind: query —
GET /trpc/pipelineExecutor.getAvailableEngines - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getAvailableEngineson your hub
Input
voidOutput
PipelineEngineChoiceSchema[]Shapes: PipelineEngineChoiceSchema
pipelineExecutor.getSelectedEngine
- Kind: query —
GET /trpc/pipelineExecutor.getSelectedEngine - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getSelectedEngineon your hub
Input
voidOutput
PipelineEngineChoiceSchemaShapes: PipelineEngineChoiceSchema
pipelineExecutor.getEngineProvisioning
- Kind: query —
GET /trpc/pipelineExecutor.getEngineProvisioning - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getEngineProvisioningon your hub
Input
{ nodeId: string }Output
{ runtimeId: "onnx" | "openvino" | "coreml" | "edgetpu" | null; device: string | null; state: "idle" | "installing" | "verifying" | "ready" | "failed"; progress?: number; error?: string; nextRetryAt?: number; configIssues?: string[] }pipelineExecutor.getVideoPipelineSteps
- Kind: query —
GET /trpc/pipelineExecutor.getVideoPipelineSteps - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getVideoPipelineStepson your hub
Input
voidOutput
Record<string, { modelId: string; settings: Record<string, unknown> }>pipelineExecutor.setVideoPipelineSteps
- Kind: mutation —
POST /trpc/pipelineExecutor.setVideoPipelineSteps - 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=pipelineExecutor.setVideoPipelineStepson your hub
Input
{ steps: Record<string, { modelId: string; settings: Record<string, unknown> }> }Output
{ success: true }pipelineExecutor.getInferenceDeviceHealth
- Kind: query —
GET /trpc/pipelineExecutor.getInferenceDeviceHealth - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getInferenceDeviceHealthon your hub
Input
{ nodeId: string }Output
{ unhealthy: ({ deviceKey: string; state: "failed" | "backoff"; since: number; deaths: number; lastError: string; absentReason?: "no-gpu-device" })[] }pipelineExecutor.rearmInferenceDevice
- Kind: mutation —
POST /trpc/pipelineExecutor.rearmInferenceDevice - 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=pipelineExecutor.rearmInferenceDeviceon your hub
Input
{ nodeId: string; deviceKey: string }Output
{ rearmed: boolean }pipelineExecutor.getSchema
- Kind: query —
GET /trpc/pipelineExecutor.getSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getSchemaon your hub
Input
voidOutput
{ availableEngines: ({ engine: PipelineEngineChoiceSchema; devices: ({ id: string; label: string; description?: string })[]; defaultDevice: string })[]; selectedEngine: PipelineEngineChoiceSchema; slots: ({ id: "detector" | "cropper" | "classifier" | "refiner" | "audio-classifier"; label: string; priority: number; parentSlot: "detector" | "cropper" | "classifier" | "refiner" | "audio-classifier" | null; addons: ({ id: string; name: string; slot: "detector" | "cropper" | "classifier" | "refiner" | "audio-classifier"; inputClasses: string[]; outputClasses: string[]; childSlots: ("detector" | "cropper" | "classifier" | "refiner" | "audio-classifier")[]; models: ({ id: string; name: string; formats: Record<string, {…}>; group?: {…}; legacy?: boolean; provider?: "camstack" | "frigate" | "scrypted" | "custom"; defaultConfidence?: number; suppliesSteps?: ({…} | {…} | {…})[] })[]; defaultModelId: string; defaultModelIdByFormat?: Record<string, string>; enabledByDefault?: boolean; defaultConfidence: number; group?: string; configSchema?: <custom>[] })[] })[] }Shapes: PipelineEngineChoiceSchema
pipelineExecutor.getOrchestratorConfigSchema
- Kind: query —
GET /trpc/pipelineExecutor.getOrchestratorConfigSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getOrchestratorConfigSchemaon your hub
Input
voidOutput
<custom>pipelineExecutor.validatePipeline
- Kind: query —
GET /trpc/pipelineExecutor.validatePipeline - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.validatePipelineon your hub
Input
{ steps: ({ addonId: string; modelId?: string; enabled?: boolean = true; children?: self[]; settings?: Record<string, unknown>; jumpDeviceKey?: string })[]; deviceKey?: string }Output
PipelineValidationResultSchemaShapes: PipelineValidationResultSchema
pipelineExecutor.getCapabilities
- Kind: query —
GET /trpc/pipelineExecutor.getCapabilities - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getCapabilitieson your hub
Input
voidOutput
<custom>pipelineExecutor.getAddonModels
- Kind: query —
GET /trpc/pipelineExecutor.getAddonModels - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getAddonModelson your hub
Input
{ addonId: string }Output
<custom>pipelineExecutor.downloadModel
- Kind: mutation —
POST /trpc/pipelineExecutor.downloadModel - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.downloadModelon your hub
Input
{ addonId: string; modelId: string; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf" }Output
{ filePath: string; sizeMB: number; durationMs: number }pipelineExecutor.deleteModel
- Kind: mutation —
POST /trpc/pipelineExecutor.deleteModel - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
deleteon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.deleteModelon your hub
Input
{ addonId: string; modelId: string; format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf" }Output
{ success: true }pipelineExecutor.runPipeline
- Kind: mutation —
POST /trpc/pipelineExecutor.runPipeline - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.runPipelineon your hub
Input
{ steps: ({ addonId: string; modelId?: string; enabled?: boolean = true; children?: self[]; settings?: Record<string, unknown>; jumpDeviceKey?: string })[]; frame?: FrameInputSchema; frameRef?: { registryId: string; id: string; width: number; height: number; format: "rgb" | "gray"; timestamp: number; capturedAt?: number }; frameHandle?: FrameHandleSchema; imageBase64?: string; image?: <custom>; referenceImage?: string; deviceId?: number; sessionId?: string; plane?: "full" | "frame"; deviceKey?: string; nativeCropRef?: NativeCropRefSchema; replay?: true; suppliedRoot?: SuppliedRootOutputSchema; motionRegions?: NormalizedRectSchema[] }Output
<custom>Shapes: FrameInputSchema · FrameHandleSchema · NativeCropRefSchema · SuppliedRootOutputSchema · NormalizedRectSchema
pipelineExecutor.runPipelineBatch
- Kind: mutation —
POST /trpc/pipelineExecutor.runPipelineBatch - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.runPipelineBatchon your hub
Input
{ steps: ({ addonId: string; modelId?: string; enabled?: boolean = true; children?: self[]; settings?: Record<string, unknown>; jumpDeviceKey?: string })[]; frames: FrameInputSchema[]; deviceId?: number; sessionId?: string; frameId?: number; deviceKey?: string }Output
{ results: <custom>[] }Shapes: FrameInputSchema
pipelineExecutor.cacheFrameInPool
- Kind: mutation —
POST /trpc/pipelineExecutor.cacheFrameInPool - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.cacheFrameInPoolon your hub
Input
{ data: <custom>; width: number; height: number; format: "rgb" | "bgr" | "gray" }Output
{ frameId: number; width: number; height: number }pipelineExecutor.inferCached
- Kind: mutation —
POST /trpc/pipelineExecutor.inferCached - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.inferCachedon your hub
Input
{ stepId: string; frameId: number; modelId: string }Output
Record<string, unknown>pipelineExecutor.uncacheFrame
- Kind: mutation —
POST /trpc/pipelineExecutor.uncacheFrame - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.uncacheFrameon your hub
Input
{ frameId: number }Output
voidpipelineExecutor.getEffectiveTuning
- Kind: query —
GET /trpc/pipelineExecutor.getEffectiveTuning - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getEffectiveTuningon your hub
Input
{ deviceKey?: string }Output
EffectiveTuningSchemaShapes: EffectiveTuningSchema
pipelineExecutor.listLoadedEngines
- Kind: query —
GET /trpc/pipelineExecutor.listLoadedEngines - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.listLoadedEngineson your hub
Input
voidOutput
({ engineKey: string; engine: PipelineEngineChoiceSchema; modelsLoaded: string[]; inUseByCameras: number[]; kind: "runtime" | "device-pool"; poolPid: number | null; idleMs: number | null; idleTtlMs: number | null })[]Shapes: PipelineEngineChoiceSchema
pipelineExecutor.spinEngine
- Kind: mutation —
POST /trpc/pipelineExecutor.spinEngine - 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=pipelineExecutor.spinEngineon your hub
Input
{ engine: PipelineEngineChoiceSchema }Output
{ success: true }Shapes: PipelineEngineChoiceSchema
pipelineExecutor.killEngine
- Kind: mutation —
POST /trpc/pipelineExecutor.killEngine - 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=pipelineExecutor.killEngineon your hub
Input
{ engine: PipelineEngineChoiceSchema; force?: boolean }Output
{ success: boolean; reason?: string }Shapes: PipelineEngineChoiceSchema
pipelineExecutor.listReferenceImages
- Kind: query —
GET /trpc/pipelineExecutor.listReferenceImages - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.listReferenceImageson your hub
Input
voidOutput
({ filename: string; stepIds?: string[] })[]pipelineExecutor.getReferenceImage
- Kind: query —
GET /trpc/pipelineExecutor.getReferenceImage - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getReferenceImageon your hub
Input
{ filename: string }Output
{ base64: string; filename: string } | nullpipelineExecutor.getReferenceAudioFiles
- Kind: query —
GET /trpc/pipelineExecutor.getReferenceAudioFiles - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getReferenceAudioFileson your hub
Input
voidOutput
({ filename: string; sizeKb: number })[]pipelineExecutor.getReferenceAudio
- Kind: query —
GET /trpc/pipelineExecutor.getReferenceAudio - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getReferenceAudioon your hub
Input
{ filename: string }Output
{ base64: string } | nullpipelineExecutor.getAudioCapabilities
- Kind: query —
GET /trpc/pipelineExecutor.getAudioCapabilities - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getAudioCapabilitieson your hub
Input
voidOutput
{ activeBackend: string; availableBackends: ({ id: string; name: string; description: string; available: boolean; rawLabels?: string[] })[]; sampleRate: number; chunkDurationMs: number }pipelineExecutor.runAudioTest
- Kind: mutation —
POST /trpc/pipelineExecutor.runAudioTest - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.runAudioTeston your hub
Input
{ addonId: string; modelId: string; filename?: string; settings?: Record<string, unknown> }Output
{ success: boolean; error?: string; frame?: <custom> }pipelineExecutor.getDetectionConfigSchema
- Kind: query —
GET /trpc/pipelineExecutor.getDetectionConfigSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitypipeline-executor, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=pipelineExecutor.getDetectionConfigSchemaon your hub
Input
voidOutput
<custom>