Dominevo
ReferenceHTTP API

pipelineAnalytics

The pipelineAnalytics router: 89 methods of the pipeline-analytics capability, with tier, scope, input and output.

Capability pipeline-analytics · scope device · mode singleton · source packages/types/src/capabilities/pipeline-analytics.cap.ts:2762.

Every method is called at /trpc/pipelineAnalytics.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.

MethodKindTierToken scopeViewer
getDeviceSettingsContributionqueryprotectedviewyes
getDeviceLiveContributionqueryprotectedviewyes
applyDeviceSettingsPatchmutationadminadmin onlyno
getActiveTracksqueryprotectedviewyes
getTrackqueryprotectedviewyes
listTracksqueryprotectedviewyes
listRecentTracksqueryprotectedviewyes
clearTracksmutationadminadmin onlyno
getMotionEventsqueryprotectedviewyes
getObjectEventsqueryprotectedviewyes
getAudioEventsqueryprotectedviewyes
listEventKindsqueryprotectedviewyes
listEventKindsBatchqueryprotectedviewyes
getSensorEventsqueryprotectedviewyes
getKeyEventsqueryprotectedviewyes
getKeyEventsBatchqueryprotectedviewyes
readLongTermSeriesqueryprotectedviewyes
getEventDensityqueryprotectedviewyes
getEventDensityBatchqueryprotectedviewyes
pruneEventsBeforemutationadminadmin onlyno
pruneTracksBeforemutationadminadmin onlyno
wipeAllAnalyticsmutationadminadmin onlyno
reconcileFromDiskmutationadminadmin onlyno
deleteTracksmutationadminadmin onlyno
setTrackFlagsmutationprotectedcreateyes
listArchivedDebugNotesqueryprotectedviewyes
setTrackRelationmutationprotectedcreateyes
clearTrackRelationmutationprotecteddeleteyes
setTrackPuritymutationprotectedcreateyes
listTrackRelationsqueryprotectedviewyes
listBirthDecisionsqueryprotectedviewyes
getEventStoreFootprintqueryadminadmin onlyno
getEventMediaFootprintByKindqueryadminadmin onlyno
pruneEventsmutationadminadmin onlyno
deleteDeviceEventsmutationadminadmin onlyno
pauseForStorageMigrationmutationadminadmin onlyno
resumeForStorageMigrationmutationadminadmin onlyno
refreshStorageLocationsForMigrationmutationadminadmin onlyno
startStorageMigrationMovemutationadminadmin onlyno
getStorageMigrationMoveStatusqueryadminadmin onlyno
cancelStorageMigrationMovemutationadminadmin onlyno
relocateMediamutationadminadmin onlyno
countUnstampedEventMediaqueryadminadmin onlyno
getMediaLocationCensusqueryadminadmin onlyno
countRelocatableMediaqueryadminadmin onlyno
listRelocateMediaJobsqueryadminadmin onlyno
cancelRelocateMediamutationadminadmin onlyno
listOpsLogqueryadminadmin onlyno
reclaimDebugMediamutationadminadmin onlyno
getMediaReclaimStatusqueryadminadmin onlyno
getTrainingExportSummaryqueryadminadmin onlyno
getTrainingExportUrlqueryadminadmin onlyno
listRetrainStagingqueryadminadmin onlywith the retrain feature
listRetrainCorpusPagequeryadminadmin onlywith the retrain feature
getRetrainCorpusKpiqueryadminadmin onlywith the retrain feature
listRetrainFramesqueryadminadmin onlywith the retrain feature
selectRetrainFramesmutationadminadmin onlywith the retrain feature
deselectRetrainFramemutationadminadmin onlywith the retrain feature
getRetrainFrameImagequeryadminadmin onlywith the retrain feature
proposeRetrainAnnotationsmutationadminadmin onlywith the retrain feature
listRetrainAnnotationsqueryadminadmin onlywith the retrain feature
saveRetrainAnnotationsmutationadminadmin onlywith the retrain feature
backfillRetrainOriginsmutationadminadmin onlyno
completeRetrainTrackmutationadminadmin onlywith the retrain feature
restageRetrainTrackmutationadminadmin onlywith the retrain feature
getRetrainExportUrlqueryadminadmin onlyno
setRetrainFrameCompletemutationadminadmin onlywith the retrain feature
writeRetrainArchivemutationadminadmin onlyno
offerRetrainArchivemutationadminadmin onlyno
listRetrainAssistProfilesqueryadminadmin onlywith the retrain feature
proposeRetrainAnnotationsWithLlmmutationadminadmin onlyno
createRetrainCollectionmutationadminadmin onlywith the retrain feature
listRetrainCollectionsqueryadminadmin onlywith the retrain feature
resolveRetrainTrainingCorpusqueryadminadmin onlyno
renameRetrainCollectionmutationadminadmin onlywith the retrain feature
deleteRetrainCollectionmutationadminadmin onlywith the retrain feature
addRetrainFrameFromRecordingmutationadminadmin onlywith the retrain feature
addRetrainFramesToCollectionmutationadminadmin onlywith the retrain feature
removeRetrainFrameFromCollectionmutationadminadmin onlywith the retrain feature
listRetrainCollectionFramesqueryadminadmin onlywith the retrain feature
getEventMediaqueryprotectedviewyes
getTrackMediaqueryprotectedviewyes
listTrackMediaqueryprotectedviewyes
listEventMediaqueryprotectedviewyes
ownersWithMediaqueryprotectedviewyes
searchObjectEventsqueryprotectedviewyes
wipeObjectEmbeddingsmutationadminadmin onlyno
rebuildObjectEmbeddingsmutationadminadmin onlyno
getObjectEmbeddingRebuildStatusqueryprotectedviewyes

pipelineAnalytics.getDeviceSettingsContribution

  • Kind: query — GET /trpc/pipelineAnalytics.getDeviceSettingsContribution (added by the framework)
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.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

pipelineAnalytics.getDeviceLiveContribution

  • Kind: query — GET /trpc/pipelineAnalytics.getDeviceLiveContribution (added by the framework)
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.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

pipelineAnalytics.applyDeviceSettingsPatch

  • Kind: mutation — POST /trpc/pipelineAnalytics.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=pipelineAnalytics.applyDeviceSettingsPatch on your hub

Input

{ deviceId: number; patch: Record<string, unknown> }

Output

{ success: true }

pipelineAnalytics.getActiveTracks

  • Kind: query — GET /trpc/pipelineAnalytics.getActiveTracks
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getActiveTracks on your hub

Input

{ deviceId: number }

Output

TrackSchema[]

Shapes: TrackSchema

pipelineAnalytics.getTrack

  • Kind: query — GET /trpc/pipelineAnalytics.getTrack
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getTrack on your hub

Input

{ deviceId: number; trackId: string }

Output

TrackSchema | null

Shapes: TrackSchema

pipelineAnalytics.listTracks

  • Kind: query — GET /trpc/pipelineAnalytics.listTracks
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listTracks on your hub

Input

{ deviceId: number; since?: number; until?: number; limit?: number; zone?: TrackZoneFilterSchema; projection?: TrackProjectionSchema; includeStationary?: boolean; classes?: string[]; excludeSources?: TrackSourceSchema[] }

Output

TrackSchema[]

Shapes: TrackZoneFilterSchema · TrackProjectionSchema · TrackSourceSchema · TrackSchema

pipelineAnalytics.listRecentTracks

  • Kind: query — GET /trpc/pipelineAnalytics.listRecentTracks
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRecentTracks on your hub

Input

RecentTracksQueryInput

Output

RecentTracksPageSchema

Shapes: RecentTracksQueryInput · RecentTracksPageSchema

pipelineAnalytics.clearTracks

  • Kind: mutation — POST /trpc/pipelineAnalytics.clearTracks
  • 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=pipelineAnalytics.clearTracks on your hub

Input

{ deviceId: number }

Output

void

pipelineAnalytics.getMotionEvents

  • Kind: query — GET /trpc/pipelineAnalytics.getMotionEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getMotionEvents on your hub

Input

{ deviceId: number; since?: number; until?: number; limit?: number = 1000; projection?: "full" | "slim" }

Output

MotionEventSchema[]

Shapes: MotionEventSchema

pipelineAnalytics.getObjectEvents

  • Kind: query — GET /trpc/pipelineAnalytics.getObjectEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getObjectEvents on your hub

Input

{ deviceId: number; since?: number; until?: number; limit?: number = 1000; projection?: "full" | "slim"; classFilter?: string }

Output

ObjectEventSchema[]

Shapes: ObjectEventSchema

pipelineAnalytics.getAudioEvents

  • Kind: query — GET /trpc/pipelineAnalytics.getAudioEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getAudioEvents on your hub

Input

{ deviceId: number; since?: number; until?: number; limit?: number = 1000; projection?: "full" | "slim" }

Output

AudioEventSchema[]

Shapes: AudioEventSchema

pipelineAnalytics.listEventKinds

  • Kind: query — GET /trpc/pipelineAnalytics.listEventKinds
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listEventKinds on your hub

Input

{ deviceId: number }

Output

EventKindDescriptorSchema[]

Shapes: EventKindDescriptorSchema

pipelineAnalytics.listEventKindsBatch

  • Kind: query — GET /trpc/pipelineAnalytics.listEventKindsBatch
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listEventKindsBatch on your hub

Input

{ deviceIds: number[] }

Output

EventKindsForDeviceSchema[]

Shapes: EventKindsForDeviceSchema

pipelineAnalytics.getSensorEvents

  • Kind: query — GET /trpc/pipelineAnalytics.getSensorEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getSensorEvents on your hub

Input

{ deviceId: number; since?: number; until?: number; kinds?: string[]; limit?: number = 1000 }

Output

SensorEventSchema[]

Shapes: SensorEventSchema

pipelineAnalytics.getKeyEvents

  • Kind: query — GET /trpc/pipelineAnalytics.getKeyEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getKeyEvents on your hub

Input

{ deviceId: number; since: number; until: number; limit?: number = 50; minImportance?: number; classFilter?: string }

Output

KeyEventSchema[]

Shapes: KeyEventSchema

pipelineAnalytics.getKeyEventsBatch

  • Kind: query — GET /trpc/pipelineAnalytics.getKeyEventsBatch
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getKeyEventsBatch on your hub

Input

{ deviceIds: number[]; since: number; until: number; limit?: number = 50; minImportance?: number; classFilter?: string }

Output

({ deviceId: number; events: KeyEventSchema[] })[]

Shapes: KeyEventSchema

pipelineAnalytics.readLongTermSeries

  • Kind: query — GET /trpc/pipelineAnalytics.readLongTermSeries
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.readLongTermSeries on your hub

Input

{ deviceId: number; series: AnalyticsLtsSeriesSchema; scope?: string; from: number; to: number; limit?: number }

Output

LtsBucketSchema[]

Shapes: AnalyticsLtsSeriesSchema · LtsBucketSchema

pipelineAnalytics.getEventDensity

  • Kind: query — GET /trpc/pipelineAnalytics.getEventDensity
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getEventDensity on your hub

Input

{ deviceId: number; since: number; until: number; bucketMs: number }

Output

EventDensityBucketSchema[]

Shapes: EventDensityBucketSchema

pipelineAnalytics.getEventDensityBatch

  • Kind: query — GET /trpc/pipelineAnalytics.getEventDensityBatch
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getEventDensityBatch on your hub

Input

{ deviceIds: number[]; since: number; until: number; bucketMs: number }

Output

EventDensityForDeviceSchema[]

Shapes: EventDensityForDeviceSchema

pipelineAnalytics.pruneEventsBefore

  • Kind: mutation — POST /trpc/pipelineAnalytics.pruneEventsBefore
  • 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=pipelineAnalytics.pruneEventsBefore on your hub

Input

{ deviceId: number; cutoffMs: number }

Output

{ motion: number; object: number; audio: number }

pipelineAnalytics.pruneTracksBefore

  • Kind: mutation — POST /trpc/pipelineAnalytics.pruneTracksBefore
  • 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=pipelineAnalytics.pruneTracksBefore on your hub

Input

{ deviceId: number; cutoffMs: number }

Output

TrackCascadeCountsSchema

Shapes: TrackCascadeCountsSchema

pipelineAnalytics.wipeAllAnalytics

  • Kind: mutation — POST /trpc/pipelineAnalytics.wipeAllAnalytics
  • 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=pipelineAnalytics.wipeAllAnalytics on your hub

Input

{ deviceId: number }

Output

TrackCascadeCountsSchema

Shapes: TrackCascadeCountsSchema

pipelineAnalytics.reconcileFromDisk

  • Kind: mutation — POST /trpc/pipelineAnalytics.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=pipelineAnalytics.reconcileFromDisk on your hub

Input

{ deviceId: number }

Output

{ mediaDropped: number; tracks: number; events: number }

pipelineAnalytics.deleteTracks

  • Kind: mutation — POST /trpc/pipelineAnalytics.deleteTracks
  • 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=pipelineAnalytics.deleteTracks on your hub

Input

{ deviceId: number; trackIds: string[] }

Output

{ deleted: number; failed: string[]; sparedMediaIds?: number[] }

pipelineAnalytics.setTrackFlags

  • Kind: mutation — POST /trpc/pipelineAnalytics.setTrackFlags
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.setTrackFlags on your hub

Input

{ deviceId: number; trackId: string; flags: TrackFlagsPatchSchema }

Output

TrackFlagsSchema

Shapes: TrackFlagsPatchSchema · TrackFlagsSchema

pipelineAnalytics.listArchivedDebugNotes

  • Kind: query — GET /trpc/pipelineAnalytics.listArchivedDebugNotes
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listArchivedDebugNotes on your hub

Input

{ deviceId?: number; limit?: number }

Output

({ id: string; note: string; deviceId: number; sourceTrackId: string; archivedAt: number; trackStartedAt: number | null; trackClass: string | null; trackLabel: string | null })[]

pipelineAnalytics.setTrackRelation

  • Kind: mutation — POST /trpc/pipelineAnalytics.setTrackRelation
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.setTrackRelation on your hub

Input

{ deviceId: number; trackId: string; otherTrackId: string; relation: "same-subject" | "different-subjects"; presence?: "continuous"; trackSide?: "before" | "after"; otherSide?: "before" | "after" }

Output

{ id: string; deviceId: number; leftTrackId: string; rightTrackId: string; leftSide: "before" | "after" | null; rightSide: "before" | "after" | null; relation: "same-subject" | "different-subjects"; presence: "continuous" | null; leftStartedAt: number | null; rightStartedAt: number | null; createdAt: number; updatedAt: number; author: string | null }

pipelineAnalytics.clearTrackRelation

  • Kind: mutation — POST /trpc/pipelineAnalytics.clearTrackRelation
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: delete on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.clearTrackRelation on your hub

Input

{ deviceId: number; trackId: string; otherTrackId: string }

Output

{ cleared: boolean }

pipelineAnalytics.setTrackPurity

  • Kind: mutation — POST /trpc/pipelineAnalytics.setTrackPurity
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.setTrackPurity on your hub

Input

{ deviceId: number; trackId: string; purity: "pure" | "mixed" | "not-a-subject"; switchAtMs?: number }

Output

{ purity: { id: string; deviceId: number; sourceTrackId: string; purity: "mixed" | "not-a-subject"; switchAtMs: number | null; startedAt: number | null; createdAt: number; updatedAt: number; author: string | null } | null }

pipelineAnalytics.listTrackRelations

  • Kind: query — GET /trpc/pipelineAnalytics.listTrackRelations
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listTrackRelations on your hub

Input

{ deviceId: number; trackId?: string; since?: number; until?: number; limit?: number }

Output

{ relations: ({ id: string; deviceId: number; leftTrackId: string; rightTrackId: string; leftSide: "before" | "after" | null; rightSide: "before" | "after" | null; relation: "same-subject" | "different-subjects"; presence: "continuous" | null; leftStartedAt: number | null; rightStartedAt: number | null; createdAt: number; updatedAt: number; author: string | null })[]; purities: ({ id: string; deviceId: number; sourceTrackId: string; purity: "mixed" | "not-a-subject"; switchAtMs: number | null; startedAt: number | null; createdAt: number; updatedAt: number; author: string | null })[]; truncated: boolean }

pipelineAnalytics.listBirthDecisions

  • Kind: query — GET /trpc/pipelineAnalytics.listBirthDecisions
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listBirthDecisions on your hub

Input

{ deviceId?: number; since?: number; verdict?: "confirmed" | "suppressed" | "exhausted-fallback"; limit?: number }

Output

({ id: string; at: number; deviceId: number; sourceTrackId: string; className: string; verdict: "confirmed" | "suppressed" | "exhausted-fallback"; reason: string | null; cropSource?: "carried" | "native" | "fallback" | null = null; attempts: number; deferredForMs: number; decidedOnCoastedFrame: boolean; birthEvidenceAvailable: boolean; decidedByBirthEvidence: boolean; bestScore: number | null; appliedMinConfidence: number | null; detectorModelId?: string | null = null; detectorDeviceKey?: string | null = null; detectorNodeId?: string | null = null; firstSeen: number | null; motionOnsetAt: number | null; birthLatencyMs: number | null; birthIndexInBurst: number | null })[]

pipelineAnalytics.getEventStoreFootprint

  • Kind: query — GET /trpc/pipelineAnalytics.getEventStoreFootprint
  • 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=pipelineAnalytics.getEventStoreFootprint on your hub

Input

{}

Output

{ totalRows: number; totalBytes: number; devices: ({ deviceId: number; rows: number; bytes: number })[] }

pipelineAnalytics.getEventMediaFootprintByKind

  • Kind: query — GET /trpc/pipelineAnalytics.getEventMediaFootprintByKind
  • 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=pipelineAnalytics.getEventMediaFootprintByKind on your hub

Input

{ deviceId?: number }

Output

{ totalRows: number; totalBytes: number; kinds: ({ kind: MediaFileKindEnum; rows: number; bytes: number })[]; unaccountedRows: number; unaccountedBytes: number }

Shapes: MediaFileKindEnum

pipelineAnalytics.pruneEvents

  • Kind: mutation — POST /trpc/pipelineAnalytics.pruneEvents
  • 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=pipelineAnalytics.pruneEvents on your hub

Input

{ olderThanMs: number; reason?: "retention" | "quota" | "manual" | "operator" | "maintenance" | "orphaned-device" }

Output

{ motion: number; object: number; audio: number }

pipelineAnalytics.deleteDeviceEvents

  • Kind: mutation — POST /trpc/pipelineAnalytics.deleteDeviceEvents
  • 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=pipelineAnalytics.deleteDeviceEvents on your hub

Input

{ deviceId: number }

Output

{ motion: number; object: number; audio: number }

pipelineAnalytics.pauseForStorageMigration

  • Kind: mutation — POST /trpc/pipelineAnalytics.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=pipelineAnalytics.pauseForStorageMigration on your hub

Input

{ leaseId: string }

Output

{ paused: true }

pipelineAnalytics.resumeForStorageMigration

  • Kind: mutation — POST /trpc/pipelineAnalytics.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=pipelineAnalytics.resumeForStorageMigration on your hub

Input

{ leaseId: string }

Output

{ resumed: true }

pipelineAnalytics.refreshStorageLocationsForMigration

  • Kind: mutation — POST /trpc/pipelineAnalytics.refreshStorageLocationsForMigration
  • 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=pipelineAnalytics.refreshStorageLocationsForMigration on your hub

Input

{ leaseId: string }

Output

{ refreshed: true }

pipelineAnalytics.startStorageMigrationMove

  • Kind: mutation — POST /trpc/pipelineAnalytics.startStorageMigrationMove
  • 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=pipelineAnalytics.startStorageMigrationMove on your hub

Input

{ toLocationId: string; fromLocationId?: string; throttleMbps?: number; mode?: "move" | "seal" | "gallery"; leaseId: string }

Output

{ jobId: string }

pipelineAnalytics.getStorageMigrationMoveStatus

  • Kind: query — GET /trpc/pipelineAnalytics.getStorageMigrationMoveStatus
  • 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=pipelineAnalytics.getStorageMigrationMoveStatus on your hub

Input

{ jobId: string }

Output

{ jobId: string; state: "queued" | "running" | "done" | "failed" | "cancelled"; fromLocationId: string; toLocationId: string; deviceId: number | null; entities: string[]; filesMoved: number; bytesMoved: number; filesTotal: number | null; rowsReconciled?: number; rowsForgotten?: number; startedAt: number; finishedAt: number | null; error: string | null } | null

pipelineAnalytics.cancelStorageMigrationMove

  • Kind: mutation — POST /trpc/pipelineAnalytics.cancelStorageMigrationMove
  • 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=pipelineAnalytics.cancelStorageMigrationMove on your hub

Input

{ jobId: string }

Output

{ cancelled: boolean }

pipelineAnalytics.relocateMedia

  • Kind: mutation — POST /trpc/pipelineAnalytics.relocateMedia
  • 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=pipelineAnalytics.relocateMedia on your hub

Input

{ toLocationId: string; fromLocationId?: string; throttleMbps?: number; mode?: "move" | "seal" | "gallery" }

Output

{ jobId: string }

pipelineAnalytics.countUnstampedEventMedia

  • Kind: query — GET /trpc/pipelineAnalytics.countUnstampedEventMedia
  • 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=pipelineAnalytics.countUnstampedEventMedia on your hub

Input

{}

Output

{ media: { present: boolean; rows: number | null }; retrainFrames: { present: boolean; rows: number | null }; anyPresent: boolean; total: number | null } | null

pipelineAnalytics.getMediaLocationCensus

  • Kind: query — GET /trpc/pipelineAnalytics.getMediaLocationCensus
  • 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=pipelineAnalytics.getMediaLocationCensus on your hub

Input

{ locationIds: string[] }

Output

{ locations: ({ locationId: string; rows: number; bytes: number })[]; unstamped: { rows: number; bytes: number }; unlisted: { rows: number; bytes: number }; total: { rows: number; bytes: number } }

pipelineAnalytics.countRelocatableMedia

  • Kind: query — GET /trpc/pipelineAnalytics.countRelocatableMedia
  • 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=pipelineAnalytics.countRelocatableMedia on your hub

Input

{ toLocationId: string; fromLocationId?: string; mode?: "move" | "seal" | "gallery" }

Output

{ rows: number } | null

pipelineAnalytics.listRelocateMediaJobs

  • Kind: query — GET /trpc/pipelineAnalytics.listRelocateMediaJobs
  • 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=pipelineAnalytics.listRelocateMediaJobs on your hub

Input

{}

Output

({ jobId: string; state: "queued" | "running" | "done" | "failed" | "cancelled"; fromLocationId: string; toLocationId: string; deviceId: number | null; entities: string[]; filesMoved: number; bytesMoved: number; filesTotal: number | null; rowsReconciled?: number; rowsForgotten?: number; startedAt: number; finishedAt: number | null; error: string | null })[]

pipelineAnalytics.cancelRelocateMedia

  • Kind: mutation — POST /trpc/pipelineAnalytics.cancelRelocateMedia
  • 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=pipelineAnalytics.cancelRelocateMedia on your hub

Input

{ jobId: string }

Output

{ cancelled: boolean }

pipelineAnalytics.listOpsLog

  • Kind: query — GET /trpc/pipelineAnalytics.listOpsLog
  • 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=pipelineAnalytics.listOpsLog on your hub

Input

{ deviceId?: number; limit?: number }

Output

({ id: string; at: number; domain: "recording" | "events"; op: "prune" | "manual-delete" | "rescan" | "retention-run" | "relocate" | "orphan-audit"; reason: "retention" | "quota" | "manual" | "operator" | "maintenance" | "orphaned-device"; deviceId: number | null; nodeId: string; itemsAffected: number; bytesReclaimed: number; detail: string | null; actor: string })[]

pipelineAnalytics.reclaimDebugMedia

  • Kind: mutation — POST /trpc/pipelineAnalytics.reclaimDebugMedia
  • 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=pipelineAnalytics.reclaimDebugMedia on your hub

Input

{ mode?: "report" | "reclaim" = "report"; scopes?: ("motion-still" | "track-filmstrip")[]; deviceIds?: number[]; restart?: boolean; pageSize?: number; maxRowsPerDevice?: number; maxReclaimPerDevice?: number; maxBytesPerRun?: number; budgetMinutes?: number; throttleBytesPerSec?: number; graceMinutes?: number }

Output

{ started: boolean; alreadyRunning: boolean }

pipelineAnalytics.getMediaReclaimStatus

  • Kind: query — GET /trpc/pipelineAnalytics.getMediaReclaimStatus
  • 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=pipelineAnalytics.getMediaReclaimStatus on your hub

Input

{}

Output

{ running: boolean; mode: "report" | "reclaim" | null; totalExamined: number; totalEligible: number; totalReclaimed: number; totalBytesReclaimed: number; totalRefused: number; devicesDone: number; complete: boolean | null; startedAtMs: number | null; finishedAtMs: number | null; error: string | null }

pipelineAnalytics.getTrainingExportSummary

  • Kind: query — GET /trpc/pipelineAnalytics.getTrainingExportSummary
  • 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=pipelineAnalytics.getTrainingExportSummary on your hub

Input

{ deviceIds?: number[] }

Output

TrainingExportSummarySchema

Shapes: TrainingExportSummarySchema

pipelineAnalytics.getTrainingExportUrl

  • Kind: query — GET /trpc/pipelineAnalytics.getTrainingExportUrl
  • 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=pipelineAnalytics.getTrainingExportUrl on your hub

Input

{ deviceIds?: number[] }

Output

{ url: string }

pipelineAnalytics.listRetrainStaging

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainStaging
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainStaging on your hub

Input

{ deviceIds?: number[]; limit?: number }

Output

RetrainTrackSchema[]

Shapes: RetrainTrackSchema

pipelineAnalytics.listRetrainCorpusPage

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainCorpusPage
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainCorpusPage on your hub

Input

RetrainCorpusFilterSchema

Output

RetrainCorpusPageSchema

Shapes: RetrainCorpusFilterSchema · RetrainCorpusPageSchema

pipelineAnalytics.getRetrainCorpusKpi

  • Kind: query — GET /trpc/pipelineAnalytics.getRetrainCorpusKpi
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getRetrainCorpusKpi on your hub

Input

{}

Output

RetrainCorpusKpiSchema

Shapes: RetrainCorpusKpiSchema

pipelineAnalytics.listRetrainFrames

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainFrames
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainFrames on your hub

Input

{ trackId: string }

Output

RetrainFrameListSchema

Shapes: RetrainFrameListSchema

pipelineAnalytics.selectRetrainFrames

  • Kind: mutation — POST /trpc/pipelineAnalytics.selectRetrainFrames
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.selectRetrainFrames on your hub

Input

{ deviceId: number; trackId: string; mediaIds: number[] }

Output

RetrainFrameSelectionSchema

Shapes: RetrainFrameSelectionSchema

pipelineAnalytics.deselectRetrainFrame

  • Kind: mutation — POST /trpc/pipelineAnalytics.deselectRetrainFrame
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.deselectRetrainFrame on your hub

Input

{ deviceId: number; trackId?: string; frameId: string }

Output

{ removed: boolean; removedAnnotations: number }

pipelineAnalytics.getRetrainFrameImage

  • Kind: query — GET /trpc/pipelineAnalytics.getRetrainFrameImage
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getRetrainFrameImage on your hub

Input

{ frameId: string }

Output

{ base64: string; width: number; height: number }

pipelineAnalytics.proposeRetrainAnnotations

  • Kind: mutation — POST /trpc/pipelineAnalytics.proposeRetrainAnnotations
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.proposeRetrainAnnotations on your hub

Input

{ deviceId: number; trackId?: string; frameId: string; subject: RetrainAssistSubjectSchema; nodeId?: string }

Output

RetrainAssistResultSchema

Shapes: RetrainAssistSubjectSchema · RetrainAssistResultSchema

pipelineAnalytics.listRetrainAnnotations

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainAnnotations
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainAnnotations on your hub

Input

{ trackId?: string; frameIds?: string[] }

Output

RetrainAnnotationSchema[]

Shapes: RetrainAnnotationSchema

pipelineAnalytics.saveRetrainAnnotations

  • Kind: mutation — POST /trpc/pipelineAnalytics.saveRetrainAnnotations
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.saveRetrainAnnotations on your hub

Input

{ deviceId: number; trackId?: string; frameId: string; annotations: RetrainAnnotationDraftSchema[]; expectedRevision?: number; dismissed?: RetrainDismissedSchema[] }

Output

RetrainAnnotationSchema[]

Shapes: RetrainAnnotationDraftSchema · RetrainDismissedSchema · RetrainAnnotationSchema

pipelineAnalytics.backfillRetrainOrigins

  • Kind: mutation — POST /trpc/pipelineAnalytics.backfillRetrainOrigins
  • 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=pipelineAnalytics.backfillRetrainOrigins on your hub

Input

{ deviceId: number; trackId?: string; frameId: string; expectedRevision?: number; origins: ({ annotationId: string; origin: RetrainOriginSchema })[] }

Output

{ updated: number; skipped: number; revision: number }

Shapes: RetrainOriginSchema

pipelineAnalytics.completeRetrainTrack

  • Kind: mutation — POST /trpc/pipelineAnalytics.completeRetrainTrack
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.completeRetrainTrack on your hub

Input

{ deviceId: number; trackId: string }

Output

RetrainTransitionResultSchema

Shapes: RetrainTransitionResultSchema

pipelineAnalytics.restageRetrainTrack

  • Kind: mutation — POST /trpc/pipelineAnalytics.restageRetrainTrack
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.restageRetrainTrack on your hub

Input

{ deviceId: number; trackId: string }

Output

RetrainTransitionResultSchema

Shapes: RetrainTransitionResultSchema

pipelineAnalytics.getRetrainExportUrl

  • Kind: query — GET /trpc/pipelineAnalytics.getRetrainExportUrl
  • 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=pipelineAnalytics.getRetrainExportUrl on your hub

Input

{ deviceIds?: number[]; frameIds?: string[]; collectionIds?: string[]; collectionId?: string; batchId?: string; completeOnly?: boolean; workState?: RetrainFrameWorkStateSchema; classes?: RetrainMacroClassSchema[]; layout?: RetrainExportLayoutSchema }

Output

{ url: string }

Shapes: RetrainFrameWorkStateSchema · RetrainMacroClassSchema · RetrainExportLayoutSchema

pipelineAnalytics.setRetrainFrameComplete

  • Kind: mutation — POST /trpc/pipelineAnalytics.setRetrainFrameComplete
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.setRetrainFrameComplete on your hub

Input

{ deviceId: number; trackId?: string; frameId: string; complete: boolean }

Output

RetrainFrameSchema

Shapes: RetrainFrameSchema

pipelineAnalytics.writeRetrainArchive

  • Kind: mutation — POST /trpc/pipelineAnalytics.writeRetrainArchive
  • 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=pipelineAnalytics.writeRetrainArchive on your hub

Input

{ filter: RetrainExportFilterSchema; layout: RetrainExportLayoutSchema; target: RetrainArchiveTargetSchema }

Output

RetrainArchiveResultSchema

Shapes: RetrainExportFilterSchema · RetrainExportLayoutSchema · RetrainArchiveTargetSchema · RetrainArchiveResultSchema

pipelineAnalytics.offerRetrainArchive

  • Kind: mutation — POST /trpc/pipelineAnalytics.offerRetrainArchive
  • 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=pipelineAnalytics.offerRetrainArchive on your hub

Input

{ filter: RetrainExportFilterSchema; layout: RetrainExportLayoutSchema }

Output

{ ticket: { url: string; hostNodeId: string; expiresAtMs: number; declaredBytes: number | null }; frames: number; annotations: number }

Shapes: RetrainExportFilterSchema · RetrainExportLayoutSchema

pipelineAnalytics.listRetrainAssistProfiles

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainAssistProfiles
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainAssistProfiles on your hub

Input

{}

Output

RetrainAssistProfileSchema[]

Shapes: RetrainAssistProfileSchema

pipelineAnalytics.proposeRetrainAnnotationsWithLlm

  • Kind: mutation — POST /trpc/pipelineAnalytics.proposeRetrainAnnotationsWithLlm
  • 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=pipelineAnalytics.proposeRetrainAnnotationsWithLlm on your hub

Input

{ deviceId: number; trackId?: string; frameId: string; profileId: string; classes: RetrainMacroClassSchema[]; boxes: ({ ref: string; bbox: { x: number; y: number; w: number; h: number }; macroClass: RetrainMacroClassSchema; label?: string })[]; allowCloud: boolean }

Output

RetrainLlmAssistResultSchema

Shapes: RetrainMacroClassSchema · RetrainLlmAssistResultSchema

pipelineAnalytics.createRetrainCollection

  • Kind: mutation — POST /trpc/pipelineAnalytics.createRetrainCollection
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.createRetrainCollection on your hub

Input

{ name: string }

Output

RetrainCollectionCreateResultSchema

Shapes: RetrainCollectionCreateResultSchema

pipelineAnalytics.listRetrainCollections

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainCollections
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainCollections on your hub

Input

{}

Output

RetrainCollectionSchema[]

Shapes: RetrainCollectionSchema

pipelineAnalytics.resolveRetrainTrainingCorpus

  • Kind: query — GET /trpc/pipelineAnalytics.resolveRetrainTrainingCorpus
  • 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=pipelineAnalytics.resolveRetrainTrainingCorpus on your hub

Input

RetrainTrainingCorpusSelectionSchema

Output

RetrainTrainingCorpusResolveResultSchema

Shapes: RetrainTrainingCorpusSelectionSchema · RetrainTrainingCorpusResolveResultSchema

pipelineAnalytics.renameRetrainCollection

  • Kind: mutation — POST /trpc/pipelineAnalytics.renameRetrainCollection
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.renameRetrainCollection on your hub

Input

{ id: string; name: string }

Output

RetrainCollectionRenameResultSchema

Shapes: RetrainCollectionRenameResultSchema

pipelineAnalytics.deleteRetrainCollection

  • Kind: mutation — POST /trpc/pipelineAnalytics.deleteRetrainCollection
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.deleteRetrainCollection on your hub

Input

{ id: string }

Output

{ deleted: boolean; removedFrames: number }

pipelineAnalytics.addRetrainFrameFromRecording

  • Kind: mutation — POST /trpc/pipelineAnalytics.addRetrainFrameFromRecording
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.addRetrainFrameFromRecording on your hub

Input

{ collectionId: string; deviceId: number; epochMs: number; verdictSubject?: RetrainVerdictSubjectSchema }

Output

AddRetrainFrameFromRecordingResultSchema

Shapes: RetrainVerdictSubjectSchema · AddRetrainFrameFromRecordingResultSchema

pipelineAnalytics.addRetrainFramesToCollection

  • Kind: mutation — POST /trpc/pipelineAnalytics.addRetrainFramesToCollection
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.addRetrainFramesToCollection on your hub

Input

{ collectionId: string; frameIds: string[] }

Output

{ added: number; alreadyMember: number; unknownFrameIds: string[] }

pipelineAnalytics.removeRetrainFrameFromCollection

  • Kind: mutation — POST /trpc/pipelineAnalytics.removeRetrainFrameFromCollection
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.removeRetrainFrameFromCollection on your hub

Input

{ collectionId: string; frameId: string }

Output

{ removed: boolean; deletedFrame: boolean }

pipelineAnalytics.listRetrainCollectionFrames

  • Kind: query — GET /trpc/pipelineAnalytics.listRetrainCollectionFrames
  • 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: with the retrain feature
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listRetrainCollectionFrames on your hub

Input

{ collectionId: string }

Output

RetrainFrameSchema[]

Shapes: RetrainFrameSchema

pipelineAnalytics.getEventMedia

  • Kind: query — GET /trpc/pipelineAnalytics.getEventMedia
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getEventMedia on your hub

Input

{ ownerType: "motion" | "object" | "audio"; eventId: number; kind?: MediaFileKindEnum; deviceId: number }

Output

MediaFileSchema[]

Shapes: MediaFileKindEnum · MediaFileSchema

pipelineAnalytics.getTrackMedia

  • Kind: query — GET /trpc/pipelineAnalytics.getTrackMedia
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getTrackMedia on your hub

Input

{ trackId: string; kinds?: MediaFileKindEnum[]; deviceId: number }

Output

MediaFileSchema[]

Shapes: MediaFileKindEnum · MediaFileSchema

pipelineAnalytics.listTrackMedia

  • Kind: query — GET /trpc/pipelineAnalytics.listTrackMedia
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listTrackMedia on your hub

Input

{ trackId: string; deviceId: number }

Output

MediaFileInfoSchema[]

Shapes: MediaFileInfoSchema

pipelineAnalytics.listEventMedia

  • Kind: query — GET /trpc/pipelineAnalytics.listEventMedia
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.listEventMedia on your hub

Input

{ ownerType: "motion" | "object" | "audio"; eventId: number; deviceId: number }

Output

MediaFileInfoSchema[]

Shapes: MediaFileInfoSchema

pipelineAnalytics.ownersWithMedia

  • Kind: query — GET /trpc/pipelineAnalytics.ownersWithMedia
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.ownersWithMedia on your hub

Input

{ deviceId: number; ownerKind: "motion" | "object" | "audio" | "track"; ownerIds: string[] }

Output

string[]

pipelineAnalytics.searchObjectEvents

  • Kind: query — GET /trpc/pipelineAnalytics.searchObjectEvents
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.searchObjectEvents on your hub

Input

{ text: string; deviceId?: number; since?: number; until?: number; classFilter?: string; limit?: number = 50; minScore?: number; strictness?: "loose" | "balanced" | "strict"; modelId?: string }

Output

ScoredObjectEventSchema[]

Shapes: ScoredObjectEventSchema

pipelineAnalytics.wipeObjectEmbeddings

  • Kind: mutation — POST /trpc/pipelineAnalytics.wipeObjectEmbeddings
  • 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=pipelineAnalytics.wipeObjectEmbeddings on your hub

Input

{}

Output

{ deleted: number; failedIndexes?: string[] }

pipelineAnalytics.rebuildObjectEmbeddings

  • Kind: mutation — POST /trpc/pipelineAnalytics.rebuildObjectEmbeddings
  • 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=pipelineAnalytics.rebuildObjectEmbeddings on your hub

Input

{ deviceId?: number; since?: number; until?: number; maxTracks?: number; executeOnNodeId?: string; pacingMs?: number; force?: boolean }

Output

{ started: boolean; alreadyRunning: boolean; refusal?: RebuildObjectEmbeddingsRefusalSchema; modelId?: string; index?: string }

Shapes: RebuildObjectEmbeddingsRefusalSchema

pipelineAnalytics.getObjectEmbeddingRebuildStatus

  • Kind: query — GET /trpc/pipelineAnalytics.getObjectEmbeddingRebuildStatus
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability pipeline-analytics, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=pipelineAnalytics.getObjectEmbeddingRebuildStatus on your hub

Input

{}

Output

{ running: boolean; scanned: number; rebuilt: number; missingKeyFrame: number; missingEvent: number; missingBbox: number; boxSource: { subjectBox: number; positions: number; event: number; refused: number }; alreadyInSpace: number; force: boolean | null; forcedInSpace: number; notRunnable: number; noCapableNode: number; failed: number; complete: boolean | null; startedAtMs: number | null; finishedAtMs: number | null; error: string | null; modelId: string | null; index: string | null }

On this page

pipelineAnalytics.getDeviceSettingsContributionpipelineAnalytics.getDeviceLiveContributionpipelineAnalytics.applyDeviceSettingsPatchpipelineAnalytics.getActiveTrackspipelineAnalytics.getTrackpipelineAnalytics.listTrackspipelineAnalytics.listRecentTrackspipelineAnalytics.clearTrackspipelineAnalytics.getMotionEventspipelineAnalytics.getObjectEventspipelineAnalytics.getAudioEventspipelineAnalytics.listEventKindspipelineAnalytics.listEventKindsBatchpipelineAnalytics.getSensorEventspipelineAnalytics.getKeyEventspipelineAnalytics.getKeyEventsBatchpipelineAnalytics.readLongTermSeriespipelineAnalytics.getEventDensitypipelineAnalytics.getEventDensityBatchpipelineAnalytics.pruneEventsBeforepipelineAnalytics.pruneTracksBeforepipelineAnalytics.wipeAllAnalyticspipelineAnalytics.reconcileFromDiskpipelineAnalytics.deleteTrackspipelineAnalytics.setTrackFlagspipelineAnalytics.listArchivedDebugNotespipelineAnalytics.setTrackRelationpipelineAnalytics.clearTrackRelationpipelineAnalytics.setTrackPuritypipelineAnalytics.listTrackRelationspipelineAnalytics.listBirthDecisionspipelineAnalytics.getEventStoreFootprintpipelineAnalytics.getEventMediaFootprintByKindpipelineAnalytics.pruneEventspipelineAnalytics.deleteDeviceEventspipelineAnalytics.pauseForStorageMigrationpipelineAnalytics.resumeForStorageMigrationpipelineAnalytics.refreshStorageLocationsForMigrationpipelineAnalytics.startStorageMigrationMovepipelineAnalytics.getStorageMigrationMoveStatuspipelineAnalytics.cancelStorageMigrationMovepipelineAnalytics.relocateMediapipelineAnalytics.countUnstampedEventMediapipelineAnalytics.getMediaLocationCensuspipelineAnalytics.countRelocatableMediapipelineAnalytics.listRelocateMediaJobspipelineAnalytics.cancelRelocateMediapipelineAnalytics.listOpsLogpipelineAnalytics.reclaimDebugMediapipelineAnalytics.getMediaReclaimStatuspipelineAnalytics.getTrainingExportSummarypipelineAnalytics.getTrainingExportUrlpipelineAnalytics.listRetrainStagingpipelineAnalytics.listRetrainCorpusPagepipelineAnalytics.getRetrainCorpusKpipipelineAnalytics.listRetrainFramespipelineAnalytics.selectRetrainFramespipelineAnalytics.deselectRetrainFramepipelineAnalytics.getRetrainFrameImagepipelineAnalytics.proposeRetrainAnnotationspipelineAnalytics.listRetrainAnnotationspipelineAnalytics.saveRetrainAnnotationspipelineAnalytics.backfillRetrainOriginspipelineAnalytics.completeRetrainTrackpipelineAnalytics.restageRetrainTrackpipelineAnalytics.getRetrainExportUrlpipelineAnalytics.setRetrainFrameCompletepipelineAnalytics.writeRetrainArchivepipelineAnalytics.offerRetrainArchivepipelineAnalytics.listRetrainAssistProfilespipelineAnalytics.proposeRetrainAnnotationsWithLlmpipelineAnalytics.createRetrainCollectionpipelineAnalytics.listRetrainCollectionspipelineAnalytics.resolveRetrainTrainingCorpuspipelineAnalytics.renameRetrainCollectionpipelineAnalytics.deleteRetrainCollectionpipelineAnalytics.addRetrainFrameFromRecordingpipelineAnalytics.addRetrainFramesToCollectionpipelineAnalytics.removeRetrainFrameFromCollectionpipelineAnalytics.listRetrainCollectionFramespipelineAnalytics.getEventMediapipelineAnalytics.getTrackMediapipelineAnalytics.listTrackMediapipelineAnalytics.listEventMediapipelineAnalytics.ownersWithMediapipelineAnalytics.searchObjectEventspipelineAnalytics.wipeObjectEmbeddingspipelineAnalytics.rebuildObjectEmbeddingspipelineAnalytics.getObjectEmbeddingRebuildStatus