> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cronozen.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tenant API

> Center and tenant management endpoints

# Tenant API

## Centers

### GET /api/centers

List centers the authenticated actor has access to.

**Response:**

```json theme={null}
{
  "success": true,
  "data": [
    {
      "id": "center_456",
      "name": "서초센터",
      "tenantType": "CENTER",
      "status": "ACTIVE"
    }
  ]
}
```

***

### GET /api/centers/:centerId

Get center details (requires active membership).

**Response:**

```json theme={null}
{
  "success": true,
  "data": {
    "id": "center_456",
    "name": "서초센터",
    "tenantType": "CENTER",
    "status": "ACTIVE",
    "settings": { ... },
    "memberCount": 45
  }
}
```

## Partner Center Management

### GET /api/partner/centers

List all centers managed by the partner organization.

### POST /api/partner/centers

Create a new center under the partner.

**Request:**

```json theme={null}
{
  "name": "새 센터",
  "tenantType": "CENTER",
  "vertical": "rehabilitation",
  "adminEmail": "admin@newcenter.com"
}
```

### GET /api/partner/stats/dashboard

Get aggregated statistics across all partner centers.

**Response:**

```json theme={null}
{
  "success": true,
  "data": {
    "totalCenters": 12,
    "totalMembers": 540,
    "activeToday": 230,
    "revenue": { ... }
  }
}
```

### GET /api/partner/audit

Retrieve audit log entries across partner-managed centers.

### GET /api/partner/members

List all members across partner-managed centers.

### GET/PATCH /api/partner/settings

Retrieve or update partner organization settings.

<Warning>
  The following Partner API endpoints are planned but not yet available:

  * `PATCH /api/partner/centers/:centerId` — Update center details
  * `DELETE /api/partner/centers/:centerId` — Deactivate center
  * `POST /api/partner/members/invite` — Invite members
  * `Webhooks` — Event notifications for center/member changes
</Warning>
