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
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

No Mainbrella SDK is published yet. Use your language's HTTP client or generate a client from OpenAPI, while preserving generation checks, idempotency, and cleanup. The agent skill provides integration instructions.