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

# List All Tenants

> List all tenants with summary statistics.

**For billing system integration - returns all tenants with:**
- Tenant details (name, type, plan, status)
- Usage counts (agents, calls)
- Quota status (exceeded or not)

**Filters:**
- `tenant_type`: business, developer, admin
- `status_filter`: active, blocked, suspended



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json get /admin/tenants
openapi: 3.1.0
info:
  title: Backend - Multilingual Voice Agent System
  description: FastAPI backend for multilingual voice agents with tool use
  version: 1.0.0
servers: []
security: []
paths:
  /admin/tenants:
    get:
      tags:
        - admin
      summary: List All Tenants
      description: |-
        List all tenants with summary statistics.

        **For billing system integration - returns all tenants with:**
        - Tenant details (name, type, plan, status)
        - Usage counts (agents, calls)
        - Quota status (exceeded or not)

        **Filters:**
        - `tenant_type`: business, developer, admin
        - `status_filter`: active, blocked, suspended
      operationId: list_all_tenants_admin_tenants_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: tenant_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: 'Filter by type: business, developer, admin'
            title: Tenant Type
          description: 'Filter by type: business, developer, admin'
        - name: status_filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: 'Filter by status: active, blocked, suspended'
            title: Status Filter
          description: 'Filter by status: active, blocked, suspended'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TenantSummary'
                title: Response List All Tenants Admin Tenants Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TenantSummary:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        tenant_type:
          type: string
          title: Tenant Type
        billing_plan:
          type: string
          title: Billing Plan
        status:
          type: string
          title: Status
        total_agents:
          type: integer
          title: Total Agents
        total_calls:
          type: integer
          title: Total Calls
        calls_this_month:
          type: integer
          title: Calls This Month
        quota_exceeded:
          type: boolean
          title: Quota Exceeded
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - name
        - tenant_type
        - billing_plan
        - status
        - total_agents
        - total_calls
        - calls_this_month
        - quota_exceeded
        - created_at
      title: TenantSummary
      description: Brief tenant summary for listings.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````