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

# Get Tenant

> Get detailed information about a specific tenant.

**Purpose:** Retrieve complete tenant profile and configuration

**What it does:**
- Returns complete tenant profile
- Shows billing, usage, and configuration details
- Displays SIP settings and compliance status
- Shows webhook configuration for integrations

**Response Includes:**
- Organization details (name, status, created_at)
- Billing plan and usage limits
- Feature flags (sip_enabled, recording_enabled, analytics_enabled)
- Compliance settings (hipaa_enabled, pci_enabled)
- Recording format and retention policy (retention_days)
- Webhook URL for event notifications
- Monthly usage tracking (monthly_usage_cents)
- Creation and update timestamps

**Use Cases:**
- Viewing customer account details
- Auditing tenant configuration
- Billing and usage review
- Support and troubleshooting



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json get /tenants/{tenant_id}
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/{tenant_id}:
    get:
      tags:
        - tenants
      summary: Get Tenant
      description: |-
        Get detailed information about a specific tenant.

        **Purpose:** Retrieve complete tenant profile and configuration

        **What it does:**
        - Returns complete tenant profile
        - Shows billing, usage, and configuration details
        - Displays SIP settings and compliance status
        - Shows webhook configuration for integrations

        **Response Includes:**
        - Organization details (name, status, created_at)
        - Billing plan and usage limits
        - Feature flags (sip_enabled, recording_enabled, analytics_enabled)
        - Compliance settings (hipaa_enabled, pci_enabled)
        - Recording format and retention policy (retention_days)
        - Webhook URL for event notifications
        - Monthly usage tracking (monthly_usage_cents)
        - Creation and update timestamps

        **Use Cases:**
        - Viewing customer account details
        - Auditing tenant configuration
        - Billing and usage review
        - Support and troubleshooting
      operationId: get_tenant_tenants__tenant_id__get
      parameters:
        - name: tenant_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tenant'
        '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

````