Modules Administration Reference
Enable, disable, and configure modules for your tenant. For the module concept, see Modules.
Required permission: modules:manage for enable/disable/config. modules:use is inherited from tenant_user for read access.
GET /v1/modules#
List installed modules and their status for the caller's scope.
1 2 | |
Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
status values:
active— module is running and handling requestsavailable— module is installed but disabled for this tenanterror— module failed to initialize (see module logs)disabled— explicitly disabled by a partner or tenant admin
GET /v1/modules/{module_id}#
Get a single module's details, identical to one item from the list.
POST /v1/modules/{module_id}/enable#
Enable a module for the caller's tenant.
1 2 | |
Enablement is scope-aware. A partner-level disable overrides a tenant-level enable — the most restrictive setting wins. Super admins can enable platform-wide.
POST /v1/modules/{module_id}/disable#
Disable a module for the caller's tenant.
1 2 | |
Disabled modules don't answer requests — tenant users calling the module's endpoints get 403 MODULE_NOT_ENABLED. Existing module data (bot configs, bunker snapshots, etc.) is preserved; re-enabling picks up where it left off.
GET /v1/modules/{module_id}/config#
Read the module's tenant-scoped configuration.
1 2 | |
Response:
1 2 3 4 5 6 | |
global_config— values set at the platform level. Inherited unless overridden.scope_config— values set for this tenant specifically. Override the global.
PUT /v1/modules/{module_id}/config#
Update the module's tenant-scoped config.
1 2 3 4 | |
Merges into the existing scope_config. Pass null for a field to reset it to the global default.
Config shape is module-specific — see each module's page. Invalid fields return VALIDATION_ERROR.
Module status and health#
Modules that fail to initialize on startup appear with status: "error". Check the module's last error message:
1 2 | |
1 2 3 4 5 6 7 8 9 | |
Module-specific health check endpoints (e.g., ScaiInfer node heartbeats, ScaiMind cluster status) live under the module's own URL namespace.
Error codes#
| Code | Meaning |
|---|---|
MODULE_NOT_FOUND |
No module with that ID installed |
MODULE_NOT_ENABLED |
Module is disabled for the caller's scope |
MODULE_DEPENDENCY_UNAVAILABLE |
A dependency module is disabled or failed |
Related#
- Modules — concepts
- All individual module pages — domain-specific admin