GET /api/v1/machines/catalog
What you can start, and what is left. Scope machines:read.
The sizes, images and regions on offer, the limits in force, and how much of them this key and its account are using. The live numbers, where the page above quotes the defaults.
curlcurl https://barua.tz/api/v1/machines/catalog \-H "Authorization: Bearer $BARUA_API_KEY"
response 200{"sizes": [{"id": "nano","cpus": 1,"memoryGb": 1,"diskGb": 25,"fitsFor": "A script, a bot, a small API."},{"id": "small","cpus": 1,"memoryGb": 2,"diskGb": 50,"fitsFor": "A web app and its database."}],"images": [{"id": "ubuntu-24.04","label": "Ubuntu 24.04 LTS","default": true}],"regions": [{"id": "in-bom-2","label": "Mumbai, India","default": true}],"limits": {"minMinutes": 10,"maxMinutes": 300,"perKey": 2,"perAccount": 10,"hoursPerMonth": 200},"usage": {"runningForKey": 1,"runningForAccount": 3,"hoursThisMonth": 12.5}}
403 machines_not_enabledMachines is switched on by Barua for the accounts it supports, and this is not one of them yet.