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

# Get Dashboard Stats

> Get complete dashboard statistics for admin panel.



## OpenAPI

````yaml /openapi.json get /cabinet/admin/stats/dashboard
openapi: 3.1.0
info:
  title: Remnawave Bot Admin API
  version: 1.0.0
servers: []
security: []
tags:
  - name: health
    description: Проверка состояния сервера и базы данных
  - name: stats
    description: Общая и детальная статистика системы
  - name: logs
    description: Просмотр логов и ошибок
  - name: users
    description: Управление пользователями бота
  - name: subscriptions
    description: Управление подписками и ключами подключения
  - name: transactions
    description: Финансовые операции и платежи
  - name: partners
    description: Партнёрская программа
  - name: broadcasts
    description: Массовые рассылки пользователям
  - name: pages
    description: Информационные страницы (оферта, политика и др.)
  - name: welcome-texts
    description: Приветственные сообщения
  - name: main-menu
    description: Настройки главного меню бота
  - name: menu-layout
    description: Конструктор расположения кнопок меню
  - name: pinned-messages
    description: Закреплённые сообщения в чатах
  - name: notifications
    description: Системные уведомления
  - name: promo-codes
    description: Промокоды для скидок и бонусов
  - name: promo-groups
    description: Группы промо-акций
  - name: promo-offers
    description: Рекламные предложения
  - name: campaigns
    description: Рекламные кампании с UTM-трекингом
  - name: contests
    description: Конкурсы, розыгрыши и ежедневные задания
  - name: polls
    description: Опросы пользователей
  - name: remnawave
    description: RemnaWave интеграция (ноды, сквады, инбаунды)
  - name: servers
    description: Управление VPN-серверами
  - name: settings
    description: Настройки бота
  - name: backups
    description: Резервное копирование данных
  - name: auth
    description: Аутентификация и токены Web API
  - name: webhooks
    description: Webhook-обработчики внешних событий
  - name: miniapp
    description: API для Telegram Mini App
  - name: media
    description: Загрузка и хранение медиафайлов
  - name: support
    description: Система тикетов поддержки
  - name: ban-notifications
    description: Уведомления о банах пользователей
  - name: Landing Pages
    description: Публичные лендинги для привлечения клиентов
  - name: Cabinet Auth
    description: Авторизация через Telegram, email, виджет
  - name: Cabinet OAuth
    description: OAuth 2.0 провайдеры (Google, Яндекс, Discord, VK)
  - name: Cabinet Account Linking
    description: Привязка и отвязка аккаунтов провайдеров
  - name: Cabinet Account Merge
    description: Объединение нескольких аккаунтов в один
  - name: Cabinet Subscription
    description: Управление подписками, тарифами и ключами
  - name: Cabinet Balance
    description: Баланс, пополнение и сохранённые карты
  - name: Cabinet Gift
    description: Подарочные подписки — покупка и активация
  - name: Fortune Wheel
    description: Колесо фортуны с бонусами
  - name: Cabinet Withdrawal
    description: Вывод партнёрских средств
  - name: Cabinet Referral
    description: Реферальная программа
  - name: Cabinet Partner
    description: Партнёрская программа для пользователей
  - name: Cabinet Promo
    description: Промо-акции в личном кабинете
  - name: Cabinet Promocode
    description: Применение промокодов
  - name: Cabinet Contests
    description: Участие в конкурсах
  - name: Cabinet Polls
    description: Участие в опросах
  - name: Cabinet Tickets
    description: Тикеты поддержки
  - name: Cabinet Ticket Notifications
    description: Уведомления по тикетам
  - name: Cabinet Notifications
    description: Системные уведомления
  - name: Cabinet Info
    description: Информация о сервисе, FAQ, контакты
  - name: Cabinet Media
    description: Медиафайлы личного кабинета
  - name: Branding
    description: Брендирование и оформление кабинета
  - name: Cabinet Admin Users
    description: Управление пользователями через админ-панель
  - name: Cabinet Admin Ban System
    description: Система банов и блокировок
  - name: Admin RBAC
    description: Управление ролями и разрешениями
  - name: Admin RBAC Policies
    description: Политики контроля доступа
  - name: Admin RBAC Audit Log
    description: Журнал аудита действий
  - name: Cabinet Admin Tariffs
    description: Управление тарифами
  - name: Cabinet Admin Servers
    description: Управление серверами
  - name: Cabinet Admin RemnaWave
    description: RemnaWave интеграция из админ-панели
  - name: Cabinet Admin Payments
    description: Просмотр и управление платежами
  - name: Cabinet Admin Payment Methods
    description: Настройка способов оплаты
  - name: Admin Traffic
    description: Мониторинг трафика
  - name: Cabinet Admin Broadcasts
    description: Массовые рассылки из админ-панели
  - name: Cabinet Admin Campaigns
    description: Управление рекламными кампаниями
  - name: Cabinet Admin Channels
    description: Обязательные подписки на каналы
  - name: Cabinet Admin Pinned Messages
    description: Закреплённые сообщения
  - name: Cabinet Admin Landings
    description: Управление лендинговыми страницами
  - name: Cabinet Admin Apps
    description: VPN-приложения для скачивания
  - name: Cabinet Admin Updates
    description: Проверка обновлений бота
  - name: Admin Menu Layout
    description: Конструктор меню админ-панели
  - name: Admin Promo Groups
    description: Управление промо-группами
  - name: Admin Promo Offers
    description: Управление промо-предложениями
  - name: Admin Promocodes
    description: Управление промокодами
  - name: Admin Fortune Wheel
    description: Настройка колеса фортуны
  - name: Admin Email Templates
    description: Email-шаблоны
  - name: Admin Button Styles
    description: Стили кнопок интерфейса
  - name: Cabinet Admin Stats
    description: Статистика и аналитика
  - name: Cabinet Admin Sales Stats
    description: Статистика продаж и доходов
  - name: Cabinet Admin Referral Network
    description: Граф реферальной сети
  - name: Cabinet Admin Partners
    description: Управление партнёрами
  - name: Cabinet Admin Tickets
    description: Тикеты поддержки из админ-панели
  - name: Cabinet Admin Ticket Notifications
    description: Уведомления по тикетам
  - name: Cabinet Admin Withdrawals
    description: Выводы партнёрских средств
  - name: Admin Settings
    description: Системные настройки
paths:
  /cabinet/admin/stats/dashboard:
    get:
      tags:
        - Cabinet Admin Stats
      summary: Get Dashboard Stats
      description: Get complete dashboard statistics for admin panel.
      operationId: get_dashboard_stats_cabinet_admin_stats_dashboard_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardStats'
      security:
        - HTTPBearer: []
components:
  schemas:
    DashboardStats:
      properties:
        nodes:
          $ref: >-
            #/components/schemas/app__cabinet__routes__admin_stats__NodesOverview
        subscriptions:
          $ref: '#/components/schemas/SubscriptionStats'
        financial:
          $ref: '#/components/schemas/FinancialStats'
        servers:
          $ref: '#/components/schemas/ServerStats'
        revenue_chart:
          items:
            $ref: '#/components/schemas/RevenueData'
          type: array
          title: Revenue Chart
        tariff_stats:
          anyOf:
            - $ref: '#/components/schemas/TariffStats'
            - type: 'null'
      type: object
      required:
        - nodes
        - subscriptions
        - financial
        - servers
        - revenue_chart
      title: DashboardStats
      description: Complete dashboard statistics.
    app__cabinet__routes__admin_stats__NodesOverview:
      properties:
        total:
          type: integer
          title: Total
        online:
          type: integer
          title: Online
        offline:
          type: integer
          title: Offline
        disabled:
          type: integer
          title: Disabled
        total_users_online:
          type: integer
          title: Total Users Online
        nodes:
          items:
            $ref: '#/components/schemas/NodeStatus'
          type: array
          title: Nodes
      type: object
      required:
        - total
        - online
        - offline
        - disabled
        - total_users_online
        - nodes
      title: NodesOverview
      description: Overview of all nodes.
    SubscriptionStats:
      properties:
        total:
          type: integer
          title: Total
        active:
          type: integer
          title: Active
        trial:
          type: integer
          title: Trial
        paid:
          type: integer
          title: Paid
        expired:
          type: integer
          title: Expired
        purchased_today:
          type: integer
          title: Purchased Today
        purchased_week:
          type: integer
          title: Purchased Week
        purchased_month:
          type: integer
          title: Purchased Month
        trial_to_paid_conversion:
          type: number
          title: Trial To Paid Conversion
      type: object
      required:
        - total
        - active
        - trial
        - paid
        - expired
        - purchased_today
        - purchased_week
        - purchased_month
        - trial_to_paid_conversion
      title: SubscriptionStats
      description: Subscription statistics.
    FinancialStats:
      properties:
        income_today_kopeks:
          type: integer
          title: Income Today Kopeks
        income_today_rubles:
          type: number
          title: Income Today Rubles
        income_month_kopeks:
          type: integer
          title: Income Month Kopeks
        income_month_rubles:
          type: number
          title: Income Month Rubles
        income_total_kopeks:
          type: integer
          title: Income Total Kopeks
        income_total_rubles:
          type: number
          title: Income Total Rubles
        subscription_income_kopeks:
          type: integer
          title: Subscription Income Kopeks
        subscription_income_rubles:
          type: number
          title: Subscription Income Rubles
      type: object
      required:
        - income_today_kopeks
        - income_today_rubles
        - income_month_kopeks
        - income_month_rubles
        - income_total_kopeks
        - income_total_rubles
        - subscription_income_kopeks
        - subscription_income_rubles
      title: FinancialStats
      description: Financial statistics.
    ServerStats:
      properties:
        total_servers:
          type: integer
          title: Total Servers
        available_servers:
          type: integer
          title: Available Servers
        servers_with_connections:
          type: integer
          title: Servers With Connections
        total_revenue_kopeks:
          type: integer
          title: Total Revenue Kopeks
        total_revenue_rubles:
          type: number
          title: Total Revenue Rubles
      type: object
      required:
        - total_servers
        - available_servers
        - servers_with_connections
        - total_revenue_kopeks
        - total_revenue_rubles
      title: ServerStats
      description: Server statistics.
    RevenueData:
      properties:
        date:
          type: string
          title: Date
        amount_kopeks:
          type: integer
          title: Amount Kopeks
        amount_rubles:
          type: number
          title: Amount Rubles
      type: object
      required:
        - date
        - amount_kopeks
        - amount_rubles
      title: RevenueData
      description: Revenue data point.
    TariffStats:
      properties:
        tariffs:
          items:
            $ref: '#/components/schemas/TariffStatItem'
          type: array
          title: Tariffs
        total_tariff_subscriptions:
          type: integer
          title: Total Tariff Subscriptions
      type: object
      required:
        - tariffs
        - total_tariff_subscriptions
      title: TariffStats
      description: Tariff statistics.
    NodeStatus:
      properties:
        uuid:
          type: string
          title: Uuid
        name:
          type: string
          title: Name
        address:
          type: string
          title: Address
        is_connected:
          type: boolean
          title: Is Connected
        is_disabled:
          type: boolean
          title: Is Disabled
        users_online:
          type: integer
          title: Users Online
        traffic_used_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Traffic Used Bytes
        uptime:
          anyOf:
            - type: string
            - type: 'null'
          title: Uptime
        xray_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Xray Version
        node_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Node Version
        last_status_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Status Message
        xray_uptime:
          anyOf:
            - type: string
            - type: 'null'
          title: Xray Uptime
        is_xray_running:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Xray Running
        cpu_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cpu Count
        cpu_model:
          anyOf:
            - type: string
            - type: 'null'
          title: Cpu Model
        total_ram:
          anyOf:
            - type: string
            - type: 'null'
          title: Total Ram
        country_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Country Code
      type: object
      required:
        - uuid
        - name
        - address
        - is_connected
        - is_disabled
        - users_online
      title: NodeStatus
      description: Node status info.
    TariffStatItem:
      properties:
        tariff_id:
          type: integer
          title: Tariff Id
        tariff_name:
          type: string
          title: Tariff Name
        active_subscriptions:
          type: integer
          title: Active Subscriptions
        trial_subscriptions:
          type: integer
          title: Trial Subscriptions
        purchased_today:
          type: integer
          title: Purchased Today
        purchased_week:
          type: integer
          title: Purchased Week
        purchased_month:
          type: integer
          title: Purchased Month
      type: object
      required:
        - tariff_id
        - tariff_name
        - active_subscriptions
        - trial_subscriptions
        - purchased_today
        - purchased_week
        - purchased_month
      title: TariffStatItem
      description: Statistics for a single tariff.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````