Turn a plugin on or off
const url = 'http://localhost:8300/v1/studio/admin/plugins/example';const options = { method: 'PUT', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"enabled":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A plugin’s name (its folder; unknown or malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "enabled": true}Responses
Section titled “Responses”The plugin
One plugin as the admin sees it: its manifest and its state
object
Its folder under plugins/
Skill
Built_in (plugins/ in the app) or yours (~/.helm/plugins: a folder or a .zip)
Yours replaces the built-in plugin of the same name; its version
A skill’s manifest format (this helmstudio reads 1)
A skill’s: when the Assistant reads it
A skill’s files: SKILL.md first, then the extra ones
A skill’s recipes checked against this install: how many hold, and each skipped with why
object
object
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)
Personal use only: its provider is Only you
object
How to start it (Not running)
Model-provider: its models
Model-provider: where the key is
Its manifest’s provider.key_from: Add as provider needs no key (studio gets it from the runner of its host); absent = false
Assistant-tools: its tools
object
The model sees <plugin>__<name>
A tool’s risk flags: any true asks the user first
object
Its name for people (the aside’s tools: Edit image)
What it does, in a few words (Crop, resize, rotate, flip, extend, convert)
On; off until an admin turns it on
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
The caller’s own provider made from it (Add as provider), else null
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
Its manifest’s takes (reads your takes, saves new ones); absent = false
What it needs on its host, as its manifest says (ffmpeg (brew install ffmpeg))
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
object
Example generated
{ "detail": "example"}Valid token without the admin role: “admin role required”
object
Example generated
{ "detail": "example"}Not found
object
Example generated
{ "detail": "example"}The resource’s state forbids this
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}