> ## 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.

# Edit My Config

> Edit or create analysis config for a specific customer and analysis type.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json put /api/v1/analysis-customer-configs/me
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-customer-configs/me:
    put:
      tags:
        - Analysis Customer Configs
      summary: Edit My Config
      description: >-
        Edit or create analysis config for a specific customer and analysis
        type.
      operationId: edit_my_config_api_v1_analysis_customer_configs_me_put
      parameters:
        - name: customer_id
          in: query
          required: true
          schema:
            type: integer
            description: The Google Ads customer ID
            title: Customer Id
          description: The Google Ads customer ID
        - name: analysis_type
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/AnalysisTypes'
            description: The analysis type
          description: The analysis type
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnalysisCustomerConfigUpdateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisCustomerConfigSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    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.
    AnalysisCustomerConfigUpdateSchema:
      properties:
        is_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Enabled
        should_run_daily:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Should Run Daily
        run_max_once_in_n_hours:
          anyOf:
            - type: integer
            - type: 'null'
          title: Run Max Once In N Hours
        time_to_run__at_customer_timezone:
          anyOf:
            - type: string
              format: time
            - type: 'null'
          title: Time To Run  At Customer Timezone
        do_auto_apply_recommendations:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Do Auto Apply Recommendations
        should_send_analysis_ready_emails:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Should Send Analysis Ready Emails
        constraint:
          anyOf:
            - type: integer
            - type: 'null'
          title: Constraint
        z_index:
          anyOf:
            - type: number
            - type: 'null'
          title: Z Index
      type: object
      title: AnalysisCustomerConfigUpdateSchema
      description: Schema for updating Analysis Customer Config.
    AnalysisCustomerConfigSchema:
      properties:
        is_enabled:
          type: boolean
          title: Is Enabled
        should_run_daily:
          type: boolean
          title: Should Run Daily
        run_max_once_in_n_hours:
          type: integer
          title: Run Max Once In N Hours
        time_to_run__at_customer_timezone:
          anyOf:
            - type: string
              format: time
            - type: 'null'
          title: Time To Run  At Customer Timezone
        do_auto_apply_recommendations:
          type: boolean
          title: Do Auto Apply Recommendations
          default: true
        should_send_analysis_ready_emails:
          type: boolean
          title: Should Send Analysis Ready Emails
          default: true
        constraint:
          type: integer
          title: Constraint
        z_index:
          anyOf:
            - type: number
            - type: 'null'
          title: Z Index
        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
        is_active:
          type: boolean
          title: Is Active
      type: object
      required:
        - is_enabled
        - should_run_daily
        - run_max_once_in_n_hours
        - constraint
        - id
        - date_added
        - date_updated
        - is_active
      title: AnalysisCustomerConfigSchema
      description: Schema for reading Analysis Customer Config.
    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

````