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

# Create Config



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json post /api/v1/analysis-customer-configs/
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/:
    post:
      tags:
        - Analysis Customer Configs
      summary: Create Config
      operationId: create_config_api_v1_analysis_customer_configs__post
      parameters:
        - name: override_subscription_constraints
          in: query
          required: false
          schema:
            type: boolean
            description: Allow admin to override subscription constraints
            default: false
            title: Override Subscription Constraints
          description: Allow admin to override subscription constraints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnalysisCustomerConfigCreateAdminSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisCustomerConfigAdminSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    AnalysisCustomerConfigCreateAdminSchema:
      properties:
        analysis_type:
          $ref: '#/components/schemas/AnalysisTypes'
        google_ads_customer_id:
          type: integer
          title: Google Ads Customer Id
        is_deleted:
          type: boolean
          title: Is Deleted
          default: false
        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
      type: object
      required:
        - analysis_type
        - google_ads_customer_id
        - is_enabled
        - should_run_daily
        - run_max_once_in_n_hours
        - constraint
      title: AnalysisCustomerConfigCreateAdminSchema
      description: Schema for creating Analysis Customer Config (admin only).
    AnalysisCustomerConfigAdminSchema:
      properties:
        analysis_type:
          $ref: '#/components/schemas/AnalysisTypes'
        google_ads_customer_id:
          type: integer
          title: Google Ads Customer Id
        is_deleted:
          type: boolean
          title: Is Deleted
          default: false
        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:
        - analysis_type
        - google_ads_customer_id
        - is_enabled
        - should_run_daily
        - run_max_once_in_n_hours
        - constraint
        - id
        - date_added
        - date_updated
        - is_active
      title: AnalysisCustomerConfigAdminSchema
      description: Schema for reading Analysis Customer Config (admin only).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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.
    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

````