Smol Machines Tenants API
Customer accounts (product-backend)
Customer accounts (product-backend)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/smol-machines-tenants-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: smolfleet Tenants API
description: Control plane for smolvm — deploy and run machines across a cluster.
license:
name: Apache-2.0
version: 0.1.0
servers:
- url: https://api.smolmachines.com
description: Hosted smolfleet
tags:
- name: Tenants
description: Customer accounts (product-backend)
paths:
/v1/tenants:
get:
tags:
- Tenants
operationId: tenant_list
responses:
'200':
description: List tenants
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TenantInfo'
summary: Tenant list
x-summary-source: derived
post:
tags:
- Tenants
operationId: tenant_create
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTenantRequest'
required: true
responses:
'201':
description: Tenant created
content:
application/json:
schema:
$ref: '#/components/schemas/TenantInfo'
summary: Tenant create
x-summary-source: derived
/v1/tenants/{id}:
get:
tags:
- Tenants
operationId: tenant_get
parameters:
- name: id
in: path
description: Tenant id
required: true
schema:
type: string
responses:
'200':
description: Tenant
content:
application/json:
schema:
$ref: '#/components/schemas/TenantInfo'
'404':
description: Not found
summary: Tenant get
x-summary-source: derived
patch:
tags:
- Tenants
operationId: tenant_update
parameters:
- name: id
in: path
description: Tenant id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateTenantRequest'
required: true
responses:
'200':
description: Updated
content:
application/json:
schema:
$ref: '#/components/schemas/TenantInfo'
summary: Tenant update
x-summary-source: derived
/v1/tenants/{id}/reactivate:
post:
tags:
- Tenants
operationId: tenant_reactivate
parameters:
- name: id
in: path
description: Tenant id
required: true
schema:
type: string
responses:
'204':
description: Reactivated
summary: Tenant reactivate
x-summary-source: derived
/v1/tenants/{id}/suspend:
post:
tags:
- Tenants
operationId: tenant_suspend
parameters:
- name: id
in: path
description: Tenant id
required: true
schema:
type: string
responses:
'204':
description: Suspended
summary: Tenant suspend
x-summary-source: derived
components:
schemas:
CreateTenantRequest:
type: object
required:
- name
properties:
id:
type:
- string
- 'null'
name:
type: string
planId:
type:
- string
- 'null'
TenantInfo:
type: object
description: 'A tenant (customer account). Quota override fields are `None` when inherited
from the plan. See docs/product-backend-layer.md.'
required:
- id
- name
- status
- createdAt
properties:
createdAt:
type: string
externalBillingId:
type:
- string
- 'null'
id:
type: string
maxApps:
type:
- integer
- 'null'
format: int32
minimum: 0
maxCpus:
type:
- integer
- 'null'
format: int32
minimum: 0
maxMemoryMb:
type:
- integer
- 'null'
format: int64
minimum: 0
maxSandboxPools:
type:
- integer
- 'null'
format: int32
minimum: 0
name:
type: string
planId:
type:
- string
- 'null'
status:
type: string
updatedAt:
type:
- string
- 'null'
UpdateTenantRequest:
type: object
description: Partial update — only present fields change.
properties:
externalBillingId:
type:
- string
- 'null'
planId:
type:
- string
- 'null'
status:
type:
- string
- 'null'