llmRuntime
The llmRuntime router: 11 methods of the llm-runtime capability, with tier, scope, input and output.
Capability llm-runtime · scope system · mode singleton · source packages/types/src/capabilities/llm-runtime.cap.ts:250.
Every method is called at /trpc/llmRuntime.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
complete | mutation | admin | admin only | no |
ensureStarted | mutation | admin | admin only | no |
stop | mutation | admin | admin only | no |
status | query | admin | admin only | no |
installModel | mutation | admin | admin only | no |
deleteModel | mutation | admin | admin only | no |
listLocalModels | query | admin | admin only | no |
getDiskUsage | query | admin | admin only | no |
cancel | mutation | admin | admin only | no |
appleAvailability | query | admin | admin only | no |
completeApple | mutation | admin | admin only | no |
llmRuntime.complete
- Kind: mutation —
POST /trpc/llmRuntime.complete - 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=llmRuntime.completeon your hub
Input
LlmRuntimeCompleteInputSchemaOutput
LlmGenerateResultSchemaShapes: LlmRuntimeCompleteInputSchema · LlmGenerateResultSchema
llmRuntime.ensureStarted
- Kind: mutation —
POST /trpc/llmRuntime.ensureStarted - 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=llmRuntime.ensureStartedon your hub
Input
{ runtime: ManagedRuntimeConfigSchema }Output
LlmRuntimeStatusSchemaShapes: ManagedRuntimeConfigSchema · LlmRuntimeStatusSchema
llmRuntime.stop
- Kind: mutation —
POST /trpc/llmRuntime.stop - 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=llmRuntime.stopon your hub
Input
{}Output
voidllmRuntime.status
- Kind: query —
GET /trpc/llmRuntime.status - 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=llmRuntime.statuson your hub
Input
{}Output
LlmRuntimeStatusSchemaShapes: LlmRuntimeStatusSchema
llmRuntime.installModel
- Kind: mutation —
POST /trpc/llmRuntime.installModel - 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=llmRuntime.installModelon your hub
Input
{ model: ManagedModelRefSchema }Output
voidShapes: ManagedModelRefSchema
llmRuntime.deleteModel
- Kind: mutation —
POST /trpc/llmRuntime.deleteModel - 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=llmRuntime.deleteModelon your hub
Input
{ file: string }Output
voidllmRuntime.listLocalModels
- Kind: query —
GET /trpc/llmRuntime.listLocalModels - 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=llmRuntime.listLocalModelson your hub
Input
{}Output
LlmNodeModelSchema[]Shapes: LlmNodeModelSchema
llmRuntime.getDiskUsage
- Kind: query —
GET /trpc/llmRuntime.getDiskUsage - 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=llmRuntime.getDiskUsageon your hub
Input
{}Output
LlmRuntimeDiskUsageSchemaShapes: LlmRuntimeDiskUsageSchema
llmRuntime.cancel
- Kind: mutation —
POST /trpc/llmRuntime.cancel - 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=llmRuntime.cancelon your hub
Input
LlmRuntimeCancelInputSchemaOutput
voidShapes: LlmRuntimeCancelInputSchema
llmRuntime.appleAvailability
- Kind: query —
GET /trpc/llmRuntime.appleAvailability - 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=llmRuntime.appleAvailabilityon your hub
Input
{}Output
AppleFmAvailabilitySchemaShapes: AppleFmAvailabilitySchema
llmRuntime.completeApple
- Kind: mutation —
POST /trpc/llmRuntime.completeApple - 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=llmRuntime.completeAppleon your hub
Input
LlmRuntimeAppleCompleteInputSchemaOutput
LlmGenerateResultSchemaShapes: LlmRuntimeAppleCompleteInputSchema · LlmGenerateResultSchema