Dominevo
ReferenceHTTP API

customModelRegistry

The customModelRegistry router: 2 methods of the custom-model-registry capability, with tier, scope, input and output.

Capability custom-model-registry · scope system · mode collection · source packages/types/src/capabilities/custom-model-registry.cap.ts:93.

Every method is called at /trpc/customModelRegistry.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
listModelsqueryadminadmin onlyno
importModelBundlemutationadminadmin onlyno

customModelRegistry.listModels

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

Input

void

Output

CustomModelDescriptorSchema[]

Shapes: CustomModelDescriptorSchema

customModelRegistry.importModelBundle

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

Input

ImportModelBundleInputSchema

Output

ImportModelBundleResultSchema

Shapes: ImportModelBundleInputSchema · ImportModelBundleResultSchema