Skip to main content
The Admin API is served on the Airhouse HTTP port (default 8080) when the control plane is configured. All endpoints are under /admin/v1/, accept and return JSON, and require a bearer token in the Authorization header. In the API, databases are called tenants. A tenant’s id is the database name clients pass when they connect.

Authentication

A missing or wrong token returns 401 Unauthorized.

Endpoints

Databases (tenants)

Tenant IDs may contain ASCII letters, digits, _, and -, up to 63 characters.

Users

User object:

Service accounts

Require the admin token.

Credentials (tokens)

Credential object:
write_schemas is present only when you requested a scoped writer. See Service accounts for field rules and error codes.

Capabilities

Servers that predate this endpoint return 404.

Health and metrics

These endpoints don’t require authentication and are useful for load balancers and monitoring:

Compatibility

Airhouse avoids breaking changes to existing /admin/v1/ endpoints. New fields and endpoints may be added, so ignore response fields you don’t recognize.