> ## 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 Tenants

> List all tenants (for platform administrators).

**Purpose:** View all tenants/organizations on the platform

**What it does:**
- Returns paginated list of all organizations
- Supports filtering by status (active/inactive)
- Used by platform admins to manage customers
- Shows tenant overview for monitoring

**Parameters:**
- `limit`: Maximum number of tenants to return (default: 100)
- `offset`: Number of tenants to skip for pagination (default: 0)
- `status_filter`: Filter by tenant status (active/inactive/suspended)

**Use Cases:**
- Platform administration and monitoring
- Customer account management
- Bulk operations on tenants
- Usage reporting across all customers



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json get /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:
  /tenants:
    get:
      tags:
        - tenants
      summary: List Tenants
      description: |-
        List all tenants (for platform administrators).

        **Purpose:** View all tenants/organizations on the platform

        **What it does:**
        - Returns paginated list of all organizations
        - Supports filtering by status (active/inactive)
        - Used by platform admins to manage customers
        - Shows tenant overview for monitoring

        **Parameters:**
        - `limit`: Maximum number of tenants to return (default: 100)
        - `offset`: Number of tenants to skip for pagination (default: 0)
        - `status_filter`: Filter by tenant status (active/inactive/suspended)

        **Use Cases:**
        - Platform administration and monitoring
        - Customer account management
        - Bulk operations on tenants
        - Usage reporting across all customers
      operationId: list_tenants_tenants_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
        - name: status_filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Status Filter
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Tenant'
                title: Response List Tenants Tenants Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    Tenant:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
        billing_plan:
          type: string
          maxLength: 100
          minLength: 1
          title: Billing Plan
        sip_enabled:
          type: boolean
          title: Sip Enabled
          default: false
        recording_enabled:
          type: boolean
          title: Recording Enabled
          default: true
        analytics_enabled:
          type: boolean
          title: Analytics Enabled
          default: true
        max_concurrent_calls:
          type: integer
          maximum: 1000
          minimum: 1
          title: Max Concurrent Calls
          default: 10
        monthly_call_limit:
          type: integer
          minimum: 0
          title: Monthly Call Limit
          default: 1000
        id:
          type: string
          format: uuid
          title: Id
        status:
          type: string
          title: Status
        monthly_usage_cents:
          type: integer
          title: Monthly Usage Cents
        meta_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta Data
        sip_domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Sip Domain
        sip_username:
          anyOf:
            - type: string
            - type: 'null'
          title: Sip Username
        hipaa_enabled:
          type: boolean
          title: Hipaa Enabled
          default: false
        pci_enabled:
          type: boolean
          title: Pci Enabled
          default: false
        recording_format:
          type: string
          title: Recording Format
          default: mp4
        retention_days:
          type: integer
          title: Retention Days
          default: 90
        data_encryption_enabled:
          type: boolean
          title: Data Encryption Enabled
          default: true
        webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Url
        webhook_timeout_seconds:
          type: integer
          title: Webhook Timeout Seconds
          default: 20
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - name
        - billing_plan
        - id
        - status
        - monthly_usage_cents
        - created_at
        - updated_at
      title: Tenant
      description: Tenant response model.
    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

````