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

# Get All Subscription Plans



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/subscriptions/plans
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/subscriptions/plans:
    get:
      tags:
        - Subscriptions
      summary: Get All Subscription Plans
      operationId: get_all_subscription_plans_api_v1_subscriptions_plans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SubscriptionPlanWithModulesSchema'
                type: array
                title: >-
                  Response Get All Subscription Plans Api V1 Subscriptions Plans
                  Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    SubscriptionPlanWithModulesSchema:
      properties:
        name:
          type: string
          title: Name
        price:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Price
        image_url:
          anyOf:
            - type: string
              maxLength: 2083
              minLength: 1
              format: uri
            - type: 'null'
          title: Image Url
        id:
          type: integer
          title: Id
        date_added:
          type: string
          format: date-time
          title: Date Added
        date_updated:
          type: string
          format: date-time
          title: Date Updated
        modules:
          items:
            $ref: '#/components/schemas/PlanModuleSchema'
          type: array
          title: Modules
      type: object
      required:
        - name
        - price
        - id
        - date_added
        - date_updated
      title: SubscriptionPlanWithModulesSchema
      description: Schema for reading SubscriptionPlan with modules.
    PlanModuleSchema:
      properties:
        analysis_type:
          $ref: '#/components/schemas/AnalysisTypes'
        constraint:
          type: integer
          title: Constraint
        analysis_frequency_hours:
          type: integer
          title: Analysis Frequency Hours
        is_autopilot_enabled:
          type: boolean
          title: Is Autopilot Enabled
          default: false
        id:
          type: integer
          title: Id
        date_added:
          type: string
          format: date-time
          title: Date Added
        date_updated:
          type: string
          format: date-time
          title: Date Updated
      type: object
      required:
        - analysis_type
        - constraint
        - analysis_frequency_hours
        - id
        - date_added
        - date_updated
      title: PlanModuleSchema
      description: Schema for reading PlanModule.
    AnalysisTypes:
      type: string
      enum:
        - keyword_pause
        - negative_keyword
        - double_check_keywords_to_pause
        - headline
        - description
        - budget_migration
        - pause_hours
        - pause_locations
        - search_terms
      title: AnalysisTypes
      description: The types of analyses.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````