Install a plugin from Marketplace
Install a plugin from LangBot Marketplace asynchronously; the POST request immediately returns `task_id`. If the plugin has no version compatible with the current LangBot, the async task fails immediately (`allow_incompatible` has no effect on this). `allow_incompatible` only skips the compatibility check on the downloaded package's manifest. On compatibility failure, querying the task returns error code `plugin_incompatible_langbot_version` with `details` (`current`, `min`, `max`, and `status`: `"incompatible" | "invalid"`).
Install a plugin from LangBot Marketplace asynchronously; the POST request immediately returns task_id. If the plugin has no version compatible with the current LangBot, the async task fails immediately (allow_incompatible has no effect on this). allow_incompatible only skips the compatibility check on the downloaded package's manifest. On compatibility failure, querying the task returns error code plugin_incompatible_langbot_version with details (current, min, max, and status: "incompatible" | "invalid").
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/plugins/install/marketplace" \ -H "Content-Type: application/json" \ -d '{ "plugin_id": "kellz-dev/disaster-alert" }'{ "code": 0, "data": { "task_id": 0 }}Install a plugin from GitHub POST
Install a plugin from a GitHub repository asynchronously; the POST request immediately returns `task_id`. If the plugin's declared LangBot version range is incompatible with the current version (or invalid) and `allow_incompatible` is not `true`, the async task fails; querying the task returns error code `plugin_incompatible_langbot_version` with `details` (`current`, `min`, `max`, and `status`: `"incompatible" | "invalid"`).
List installed plugins GET
Next Page
