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

> Get detailed tariff info.



## OpenAPI

````yaml /openapi.json get /cabinet/admin/tariffs/{tariff_id}
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/tariffs/{tariff_id}:
    get:
      tags:
        - Cabinet Admin Tariffs
      summary: Get Tariff
      description: Get detailed tariff info.
      operationId: get_tariff_cabinet_admin_tariffs__tariff_id__get
      parameters:
        - name: tariff_id
          in: path
          required: true
          schema:
            type: integer
            title: Tariff Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TariffDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TariffDetailResponse:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        is_active:
          type: boolean
          title: Is Active
        is_trial_available:
          type: boolean
          title: Is Trial Available
        allow_traffic_topup:
          type: boolean
          title: Allow Traffic Topup
          default: true
        traffic_topup_enabled:
          type: boolean
          title: Traffic Topup Enabled
          default: false
        traffic_topup_packages:
          additionalProperties:
            type: integer
          type: object
          title: Traffic Topup Packages
        max_topup_traffic_gb:
          type: integer
          title: Max Topup Traffic Gb
          default: 0
        traffic_limit_gb:
          type: integer
          title: Traffic Limit Gb
        device_limit:
          type: integer
          title: Device Limit
        device_price_kopeks:
          anyOf:
            - type: integer
            - type: 'null'
          title: Device Price Kopeks
        max_device_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Device Limit
        tier_level:
          type: integer
          title: Tier Level
        display_order:
          type: integer
          title: Display Order
        period_prices:
          items:
            $ref: '#/components/schemas/PeriodPrice'
          type: array
          title: Period Prices
        allowed_squads:
          items:
            type: string
          type: array
          title: Allowed Squads
        server_traffic_limits:
          additionalProperties:
            $ref: '#/components/schemas/ServerTrafficLimit'
          type: object
          title: Server Traffic Limits
        servers:
          items:
            $ref: '#/components/schemas/app__cabinet__schemas__tariffs__ServerInfo'
          type: array
          title: Servers
        promo_groups:
          items:
            $ref: >-
              #/components/schemas/app__cabinet__schemas__tariffs__PromoGroupInfo
          type: array
          title: Promo Groups
        subscriptions_count:
          type: integer
          title: Subscriptions Count
        custom_days_enabled:
          type: boolean
          title: Custom Days Enabled
          default: false
        price_per_day_kopeks:
          type: integer
          title: Price Per Day Kopeks
          default: 0
        min_days:
          type: integer
          title: Min Days
          default: 1
        max_days:
          type: integer
          title: Max Days
          default: 365
        custom_traffic_enabled:
          type: boolean
          title: Custom Traffic Enabled
          default: false
        traffic_price_per_gb_kopeks:
          type: integer
          title: Traffic Price Per Gb Kopeks
          default: 0
        min_traffic_gb:
          type: integer
          title: Min Traffic Gb
          default: 1
        max_traffic_gb:
          type: integer
          title: Max Traffic Gb
          default: 1000
        is_daily:
          type: boolean
          title: Is Daily
          default: false
        daily_price_kopeks:
          type: integer
          title: Daily Price Kopeks
          default: 0
        traffic_reset_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Traffic Reset Mode
        external_squad_uuid:
          anyOf:
            - type: string
            - type: 'null'
          title: External Squad Uuid
        show_in_gift:
          type: boolean
          title: Show In Gift
          default: true
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - name
        - is_active
        - is_trial_available
        - traffic_limit_gb
        - device_limit
        - tier_level
        - display_order
        - period_prices
        - allowed_squads
        - servers
        - promo_groups
        - subscriptions_count
        - created_at
      title: TariffDetailResponse
      description: Detailed tariff response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PeriodPrice:
      properties:
        days:
          type: integer
          minimum: 1
          title: Days
          description: Period in days
        price_kopeks:
          type: integer
          minimum: 0
          title: Price Kopeks
          description: Price in kopeks
        price_rubles:
          anyOf:
            - type: number
            - type: 'null'
          title: Price Rubles
      type: object
      required:
        - days
        - price_kopeks
      title: PeriodPrice
      description: Price for a specific period.
    ServerTrafficLimit:
      properties:
        traffic_limit_gb:
          type: integer
          minimum: 0
          title: Traffic Limit Gb
          description: 0 = use default tariff limit
          default: 0
      type: object
      title: ServerTrafficLimit
      description: Traffic limit for a specific server.
    app__cabinet__schemas__tariffs__ServerInfo:
      properties:
        id:
          type: integer
          title: Id
        squad_uuid:
          type: string
          title: Squad Uuid
        display_name:
          type: string
          title: Display Name
        country_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Country Code
        is_selected:
          type: boolean
          title: Is Selected
          default: false
        traffic_limit_gb:
          anyOf:
            - type: integer
            - type: 'null'
          title: Traffic Limit Gb
      type: object
      required:
        - id
        - squad_uuid
        - display_name
      title: ServerInfo
      description: Server info for tariff.
    app__cabinet__schemas__tariffs__PromoGroupInfo:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        is_selected:
          type: boolean
          title: Is Selected
          default: false
      type: object
      required:
        - id
        - name
      title: PromoGroupInfo
      description: Promo group info for tariff.
    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

````