Reten Docs
Tenants

List Tenants

Get a list of all tenants in the system.

GET /api/tenant

Returns a list of all tenants. Only available to users with the VIEW_TENANTS permission.

Auth: Required — VIEW_TENANTS permission

Headers

HeaderRequiredValue
AuthorizationYesBearer <access_token>

Example

curl https://api.reten.ai/api/tenant \
  -H "Authorization: Bearer <token>"
import axios from 'axios';

const response = await axios.get(
  'https://api.reten.ai/api/tenant',
  {
    headers: {
      Authorization: 'Bearer <token>',
    },
  }
);

Response 200 OK

[
  {
    "id": "660e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Corp",
    "slug": "acme-corp",
    "createdAt": "2025-01-15T10:30:00.000Z"
  }
]