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

ResourceMethods and pathsGuide
ContainersGET, POST, DELETE /containersLifecycle and idempotency
ExecutionPOST /containers/execCommands and results
FilesGET, PUT /containers/filesBinary transfer
ImagesGET, POST /images
GET, DELETE /images/{id}
GET /images/{id}/logs
Catalog and builds
Private Services (local prototype)GET, POST, DELETE /private-services/networks
PUT, DELETE /private-services/members
Requires networking.privateServices: true
Internal HTTP networking
SSHPOST /containers/sshInteractive access
API keysGET, POST, DELETE /api-keys
Browser session required
Credential management
BillingGET /subscription/config
Other 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.