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

# Get Packages

> Retrieve a list of all subscription packages. Useful for displaying available plans to users or for internal reporting.



## OpenAPI

````yaml api-reference/openapiFiles/packages/Get/openapi.json get /packages
openapi: 3.0.1
info:
  title: YJSG APIS
  description: >-
    A sample api that provides documentation for apis to be used by different
    integration partners.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.yourjobsearchgenius.ai/v1
    description: Production server
security:
  - bearerAuth: []
paths:
  /packages:
    get:
      description: >-
        Retrieve a list of all subscription packages. Useful for displaying
        available plans to users or for internal reporting.
      parameters:
        - name: limit
          in: query
          description: The maximum number of results to return
          schema:
            type: integer
            format: int32
        - name: skip
          in: query
          description: The maximum number of results to skip
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: Customers response
          content:
            application/json:
              schema:
                type: array
                items:
                  allOf:
                    - type: object
                      properties:
                        _id:
                          type: string
                          description: Unique identifier for the package
                      required:
                        - _id
                    - $ref: '#/components/schemas/PackageResponse'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid Token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Server Error!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PackageResponse:
      type: object
      properties:
        name:
          description: The name of the package.
          type: string
        price:
          description: The price of the package.
          type: integer
          format: int64
        interval:
          description: >-
            The billing interval for the package. Possible values: `Daily,
            Weekly, Bi-Weekly, Monthly, Quarterly, Yearly`.
          type: string
          example: Daily
          enum:
            - Daily
            - Weekly
            - Bi-Weekly
            - Monthly
            - Quarterly
            - Yearly
        freeTrialDays:
          description: >-
            The number of free trial days. Send 0 if no free trial days. `Min:0,
            Max:7`.
          type: integer
          format: int64
          maximum: 7
          default: 0
          example: 7
        status:
          description: 'The status of the package. Possible values: `Active, Inactive`.'
          type: string
          enum:
            - Active
            - Inactive
          example: Active
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
          format: s
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````