API referenceSections

GET /api/v1/tenants

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Responses

200 Tenants the caller belongs to

Content type: application/json

object
  • items array<Tenant> required
    • id string required
    • parent_id string | null required
    • name string required
    • created_at string (date-time) required
  • next_cursor string required
Example
{
  "items": [
    {
      "id": "string",
      "parent_id": "string",
      "name": "string",
      "created_at": "2026-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required