> ## 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 Plan Modules

> List all modules linked to a subscription plan. Superuser only.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/subscriptions/plans/{plan_id}/modules
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/{plan_id}/modules:
    get:
      tags:
        - Subscriptions
      summary: Get Plan Modules
      description: List all modules linked to a subscription plan. Superuser only.
      operationId: get_plan_modules_api_v1_subscriptions_plans__plan_id__modules_get
      parameters:
        - name: plan_id
          in: path
          required: true
          schema:
            type: integer
            title: Plan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SubscriptionModuleSchema'
                title: >-
                  Response Get Plan Modules Api V1 Subscriptions Plans  Plan Id 
                  Modules Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    SubscriptionModuleSchema:
      properties:
        id:
          type: integer
          title: Id
        subscription_plan_id:
          type: integer
          title: Subscription Plan Id
        plan_module_id:
          type: integer
          title: Plan Module Id
        date_added:
          type: string
          format: date-time
          title: Date Added
      type: object
      required:
        - id
        - subscription_plan_id
        - plan_module_id
        - date_added
      title: SubscriptionModuleSchema
      description: Schema for reading SubscriptionModule (plan-module association).
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````