Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Turn a plugin on or off

PUT
/v1/studio/admin/plugins/{plugin}
curl --request PUT \
--url http://localhost:8300/v1/studio/admin/plugins/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "enabled": true }'

Admin only (403). Off at once: its assistant tools leave the next input’s tools, its providers leave every list and pipeline rule (they come back when it is on again). 404 unknown.

plugin
required
string

A plugin’s name (its folder; unknown or malformed = 404)

Media typeapplication/json
object
enabled
required
boolean

Example generated

{
"enabled": true
}

The plugin

Media typeapplication/json

One plugin as the admin sees it: its manifest and its state

object
name
required

Its folder under plugins/

string
/^[a-z][a-z0-9-]{0,22}$/
title
required
string
<= 60 characters
version
required
string
<= 40 characters
kind
required

Skill

string
Allowed values: model-provider assistant-tools skill
description
required
string
<= 300 characters
author
required
string
<= 60 characters
origin

Built_in (plugins/ in the app) or yours (~/.helm/plugins: a folder or a .zip)

string
Allowed values: built_in yours
replaces

Yours replaces the built-in plugin of the same name; its version

string
<= 40 characters
format

A skill’s manifest format (this helmstudio reads 1)

integer
>= 1
when

A skill’s: when the Assistant reads it

string
<= 200 characters
files

A skill’s files: SKILL.md first, then the extra ones

Array<string>
<= 16 items
recipes

A skill’s recipes checked against this install: how many hold, and each skipped with why

object
ok
required
integer
skipped
required
Array<object>
<= 16 items
object
name
required
string
why
required
string
<= 200 characters
problem

Why it can’t be used (status needs_newer or broken), in plain words; or, on a built-in one in use, why your copy of the same name is not (Your copy is broken: <reason>; using built in)

string
<= 300 characters
source
string
<= 300 characters
may_do
required
Array<string>
<= 8 items
personal
required

Personal use only: its provider is Only you

boolean
disclaimer
object
text
required
string
<= 400 characters
link
string
<= 300 characters
url
string
<= 200 characters
start

How to start it (Not running)

string
<= 200 characters
models

Model-provider: its models

Array<string>
<= 16 items
key_hint

Model-provider: where the key is

string
<= 120 characters
key_from_host

Its manifest’s provider.key_from: Add as provider needs no key (studio gets it from the runner of its host); absent = false

boolean
tools

Assistant-tools: its tools

Array<object>
<= 8 items
object
name
required

The model sees <plugin>__<name>

string
/^[a-z][a-z0-9_]{0,23}$/
description
required
string
<= 500 characters
risk
required

A tool’s risk flags: any true asks the user first

object
uses_gpu
required
boolean
deletes
required
boolean
sends_off_machine
required
boolean
title

Its name for people (the aside’s tools: Edit image)

string
<= 40 characters
summary

What it does, in a few words (Crop, resize, rotate, flip, extend, convert)

string
<= 120 characters
enabled
required

On; off until an admin turns it on

boolean
status
required

Starting (its runner launched it, its health path does not answer yet) and failed (Couldn’t start: problem is why, the runner tries again after its backoff). off: not on (never called); running: its health path answered 2xx in 2 s; not_running: on, no answer. neither of the last two can be turned on

string
Allowed values: off running not_running on needs_newer broken starting failed
provider
required

The caller’s own provider made from it (Add as provider), else null

string | null
starts

It starts itself (its manifest’s run): the host whose runner runs it, the log file there and how often it was started again

object
host
required
string
/^[a-z0-9]{1,32}$/
log
string
<= 300 characters
restarts
integer
since
string format: date-time
takes

Its manifest’s takes (reads your takes, saves new ones); absent = false

boolean
needs

What it needs on its host, as its manifest says (ffmpeg (brew install ffmpeg))

string
<= 120 characters
updated_at
required
string format: date-time

Example

{
"kind": "model-provider",
"origin": "built_in",
"url": "http://host.docker.internal:8420",
"status": "off",
"starts": {
"log": "~/.helm/logs/web-search.log"
}
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Valid token without the admin role: “admin role required”

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}