> ## 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 Keyword Pause Recommendations

> Get keyword pause recommendations.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/analysis/recommendations/keyword-pauses
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/keyword-pauses:
    get:
      tags:
        - Analysis
      summary: Get Keyword Pause Recommendations
      description: Get keyword pause recommendations.
      operationId: >-
        get_keyword_pause_recommendations_api_v1_analysis_recommendations_keyword_pauses_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/RecommendKeywordPauseSchema'
                title: >-
                  Response Get Keyword Pause Recommendations Api V1 Analysis
                  Recommendations Keyword Pauses Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    RecommendKeywordPauseSchema:
      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
        keyword_id:
          type: integer
          title: The ID of the keyword
        keyword_text:
          type: string
          title: The text of the keyword
        reason:
          type: string
          title: The reason for the recommendation
        budget_saving:
          anyOf:
            - type: number
            - type: 'null'
          title: The estimated budget saving from pausing this keyword
        metrics_snapshot:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: The metrics snapshot
        campaign:
          $ref: '#/components/schemas/KeywordCampaignSchema'
          title: The campaign
        is_rejected_by_gemini:
          type: boolean
          title: Whether the recommendation was rejected by Gemini
        gemini_rejected_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: The reason for rejection by Gemini
        is_rejected_by_user:
          type: boolean
          title: Whether the recommendation was rejected by the user
        user_rejected_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: The reason for rejection by the user
      type: object
      required:
        - status
        - is_manually_generated
        - keyword_id
        - keyword_text
        - reason
        - campaign
        - is_rejected_by_gemini
        - is_rejected_by_user
      title: RecommendKeywordPauseSchema
      description: The schema for a recommended keyword pause.
    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.
    KeywordCampaignSchema:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        channel_type:
          anyOf:
            - $ref: '#/components/schemas/GoogleCampaignChannelType'
            - type: 'null'
      type: object
      required:
        - id
        - name
      title: KeywordCampaignSchema
      description: Schema for campaign information related to a keyword
    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
    GoogleCampaignChannelType:
      type: string
      enum:
        - SEARCH
        - DISPLAY
        - SHOPPING
        - VIDEO
        - APP
        - PERFORMANCE_MAX
        - LOCAL
        - SMART
        - LOCAL_SERVICES
        - DEMAND_GEN
        - DISCOVERY
      title: GoogleCampaignChannelType
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````