Skip to main content
PUT
/
api
/
plugins
/
{name}
Update a plugin
curl --request PUT \
  --url http://localhost:8080/api/plugins/{name} \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "config": {},
  "path": "<string>"
}
'
{
  "message": "<string>",
  "plugin": {
    "name": "my_custom_plugin",
    "actualName": "MyCustomPlugin",
    "enabled": true,
    "config": {
      "api_key": "xxx"
    },
    "isCustom": true,
    "path": "/plugins/my_custom_plugin.so",
    "status": {
      "name": "my_custom_plugin",
      "status": "active",
      "logs": [
        "plugin my_custom_plugin initialized successfully"
      ],
      "types": [
        "llm",
        "http"
      ]
    }
  }
}

Path Parameters

name
string
required

Plugin display name (the config field name, not the internal actualName from GetName())

Body

application/json

Update plugin request

enabled
boolean
config
object
path
string

Response

Plugin updated successfully

Plugin operation response

message
string
plugin
object

Plugin configuration

Example:
{
"name": "my_custom_plugin",
"actualName": "MyCustomPlugin",
"enabled": true,
"config": { "api_key": "xxx" },
"isCustom": true,
"path": "/plugins/my_custom_plugin.so",
"status": {
"name": "my_custom_plugin",
"status": "active",
"logs": [
"plugin my_custom_plugin initialized successfully"
],
"types": ["llm", "http"]
}
}