> ## 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 Description Recommendations

> Get description recommendations.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/analysis/recommendations/descriptions
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/analysis/recommendations/descriptions:
    get:
      tags:
        - Analysis
      summary: Get Description Recommendations
      description: Get description recommendations.
      operationId: >-
        get_description_recommendations_api_v1_analysis_recommendations_descriptions_get
      parameters:
        - name: customer_id
          in: query
          required: true
          schema:
            type: integer
            title: Customer Id
        - name: return_only_pending
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Return Only Pending
        - name: return_only_auto_applied
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Return Only Auto Applied
        - name: limit__last_days
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Limit  Last Days
        - name: limit__max
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Limit  Max
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecommendedDescriptionSchema'
                title: >-
                  Response Get Description Recommendations Api V1 Analysis
                  Recommendations Descriptions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    RecommendedDescriptionSchema:
      properties:
        status:
          $ref: '#/components/schemas/RecommendationStatus'
          title: The status of the recommendation
        is_manually_generated:
          type: boolean
          title: Whether the recommendation was manually generated
        date_regenerated:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: The date the recommendation was regenerated
        date_added:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: The date the recommendation was added
        date_updated:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: The date the recommendation was updated
        id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Id
        ad:
          anyOf:
            - $ref: '#/components/schemas/AdSchema'
            - type: 'null'
          title: The ad
        text:
          type: string
          title: The text of the headline
        reason:
          type: string
          title: The reason for the recommendation
        user_updated_text:
          anyOf:
            - type: string
            - type: 'null'
          title: The user updated text
      type: object
      required:
        - status
        - is_manually_generated
        - ad
        - text
        - reason
      title: RecommendedDescriptionSchema
      description: The schema for a recommended description.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RecommendationStatus:
      type: string
      enum:
        - pending
        - applied
        - auto_applied
        - rejected
      title: RecommendationStatus
      description: The status of a recommendation.
    AdSchema:
      properties:
        id:
          type: integer
          title: The ID of the ad
        google_ads_ad_group:
          $ref: '#/components/schemas/api__chat__schemas__AdGroupSchema'
          title: The ad group to which the ad belongs
        type:
          type: string
          title: The type of the ad
        final_url:
          type: string
          title: The final URL of the ad
      type: object
      required:
        - id
        - google_ads_ad_group
        - type
        - final_url
      title: AdSchema
      description: Schema for Ad data
    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
    api__chat__schemas__AdGroupSchema:
      properties:
        id:
          type: integer
          title: The ID of the ad group
        google_ads_campaign:
          $ref: '#/components/schemas/CampaignSchema'
          title: The campaign to which the ad group belongs
        name:
          type: string
          title: The name of the ad group
        status:
          type: string
          title: The status of the ad group
        type:
          type: string
          title: The type of the ad group
      type: object
      required:
        - id
        - google_ads_campaign
        - name
        - status
        - type
      title: AdGroupSchema
      description: Schema for Ad Group data
    CampaignSchema:
      properties:
        id:
          type: integer
          title: The ID of the campaign
        google_ads_customer_id:
          type: integer
          title: The ID of the Google Ads customer
        name:
          type: string
          title: The name of the campaign
        status:
          type: string
          title: The status of the campaign
        channel_type:
          anyOf:
            - type: string
            - type: 'null'
          title: The channel type of the campaign
        start_date:
          type: string
          format: date-time
          title: The start date of the campaign
        end_date:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: The end date of the campaign
      type: object
      required:
        - id
        - google_ads_customer_id
        - name
        - status
        - start_date
      title: CampaignSchema
      description: Schema for Campaign data
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````