API reference
Base URL: https://api.mainbrella.com. Send Authorization: Bearer mb_… for automation. The backend publishes its request and response schemas directly from route definitions.
Interactive API reference · OpenAPI 3.1 schema · Complete Markdown reference
| Resource | Methods and paths | Guide |
|---|---|---|
| Containers | GET, POST, DELETE /containers | Lifecycle and idempotency |
| Execution | POST /containers/exec | Commands and results |
| Files | GET, PUT /containers/files | Binary transfer |
| Images | GET, POST /imagesGET, DELETE /images/{id}GET /images/{id}/logs | Catalog and builds |
| Private Services (local prototype) | GET, POST, DELETE /private-services/networksPUT, DELETE /private-services/membersRequires networking.privateServices: true | Internal HTTP networking |
| SSH | POST /containers/ssh | Interactive access |
| API keys | GET, POST, DELETE /api-keysBrowser session required | Credential management |
| Billing | GET /subscription/configOther billing routes require a browser session | Billing endpoints |
Client libraries
Use the published JavaScript or Python SDK, your language’s HTTP client, or a client generated from OpenAPI, while preserving generation checks, idempotency, and cleanup. The agent skill provides integration instructions.