Plugins

List all plugins

Returns a list of all plugins with their configurations and status. The actualName field contains the plugin name from GetName() (used as the map key), while name contains the display name from the configuration. The types array in the status shows which interfaces the plugin implements (llm, mcp, http).

GET
/api/plugins
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

Response Body

curl -X GET "https://loading/{AI_GATEWAY_URL}/api/plugins"
{
  "plugins": [
    {
      "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"
        ]
      }
    }
  ],
  "count": 0
}
{
  "event_id": "string",
  "type": "string",
  "is_bifrost_error": true,
  "status_code": 0,
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "event_id": "string"
  },
  "extra_fields": {
    "provider": "openai",
    "model_requested": "string",
    "request_type": "string"
  }
}
On this page

On this page

No Headings