Read plugins/ again (Rescan)
const url = 'http://localhost:8300/v1/studio/admin/plugins/rescan';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8300/v1/studio/admin/plugins/rescan \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Admin only (403). new names the ones added.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The plugins after it
object
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))
The plugins this Rescan added (Off)
Example
{ "plugins": [ { "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"}