> ## 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 Platform Statistics

> Get platform-wide statistics for admin dashboard.

**Returns:**
- Total/active/blocked tenants
- Total/active users
- Total/active agents
- Call statistics (today, month, all-time)
- Active sessions
- Revenue data

**Use for:**
- Admin dashboard overview
- Platform health monitoring
- Billing reports



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json get /admin/stats
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/stats:
    get:
      tags:
        - admin
      summary: Get Platform Statistics
      description: |-
        Get platform-wide statistics for admin dashboard.

        **Returns:**
        - Total/active/blocked tenants
        - Total/active users
        - Total/active agents
        - Call statistics (today, month, all-time)
        - Active sessions
        - Revenue data

        **Use for:**
        - Admin dashboard overview
        - Platform health monitoring
        - Billing reports
      operationId: get_platform_statistics_admin_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformStatistics'
      security:
        - HTTPBearer: []
components:
  schemas:
    PlatformStatistics:
      properties:
        total_tenants:
          type: integer
          title: Total Tenants
        active_tenants:
          type: integer
          title: Active Tenants
        blocked_tenants:
          type: integer
          title: Blocked Tenants
        total_users:
          type: integer
          title: Total Users
        active_users:
          type: integer
          title: Active Users
        total_agents:
          type: integer
          title: Total Agents
        active_agents:
          type: integer
          title: Active Agents
        total_calls_today:
          type: integer
          title: Total Calls Today
        total_calls_this_month:
          type: integer
          title: Total Calls This Month
        total_calls_all_time:
          type: integer
          title: Total Calls All Time
        total_minutes_today:
          type: number
          title: Total Minutes Today
        total_minutes_this_month:
          type: number
          title: Total Minutes This Month
        active_sessions:
          type: integer
          title: Active Sessions
        business_tenants:
          type: integer
          title: Business Tenants
        developer_tenants:
          type: integer
          title: Developer Tenants
        admin_tenants:
          type: integer
          title: Admin Tenants
        total_revenue_cents:
          type: integer
          title: Total Revenue Cents
      type: object
      required:
        - total_tenants
        - active_tenants
        - blocked_tenants
        - total_users
        - active_users
        - total_agents
        - active_agents
        - total_calls_today
        - total_calls_this_month
        - total_calls_all_time
        - total_minutes_today
        - total_minutes_this_month
        - active_sessions
        - business_tenants
        - developer_tenants
        - admin_tenants
        - total_revenue_cents
      title: PlatformStatistics
      description: Platform-wide statistics for admin dashboard.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````