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

# Update preprocessing settings

> Update the preprocessing settings for your project



## OpenAPI

````yaml put /projects/{project_id}/preprocessing_settings
openapi: 3.0.1
info:
  title: BeyondWords REST API
  description: |-
    This is the documentation for the BeyondWords REST API.
              You can use this API to use BeyondWords programmatically.
              You can get your API Key and Project ID for each project in the Project settings tab in the BeyondWords
              <a href="https://dash.beyondwords.io/dashboard">dashboard</a>.
  version: 1.0.0
servers:
  - url: https://api.beyondwords.io/v1
security: []
paths:
  /projects/{project_id}/preprocessing_settings:
    parameters:
      - name: project_id
        in: path
        description: The numeric ID of your project
        required: true
        schema:
          type: string
    put:
      tags:
        - Preprocessing Settings
      summary: Update
      description: Update the preprocessing settings for your project
      operationId: preprocessing_settings_project#update
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/requestBodyPreprocessingSettings'
            examples:
              example_preprocessing_settings:
                $ref: >-
                  #/components/examples/requestBodyUpdatePreprocessingSettingsRequestExample
      responses:
        '200':
          description: successful
          content:
            application/json:
              examples:
                example:
                  $ref: '#/components/examples/preprocessingSettingsExample'
              schema:
                $ref: '#/components/schemas/preprocessingSettingsModel'
        '401':
          description: Invalid authentication token
          content:
            application/json:
              examples:
                example:
                  $ref: '#/components/examples/unauthorizedErrorExample'
              schema:
                $ref: '#/components/schemas/errorModel'
        '404':
          description: Preprocessing settings not found for project
      security:
        - apiKey: []
components:
  schemas:
    requestBodyPreprocessingSettings:
      type: object
      properties:
        ai_preprocessing_enabled:
          type: boolean
          description: Whether AI preprocessing is enabled.
    preprocessingSettingsModel:
      type: object
      properties:
        ai_preprocessing_enabled:
          type: boolean
          nullable: false
          description: Whether AI preprocessing is enabled.
    errorModel:
      type: object
      properties:
        code:
          type: integer
          description: Error code
        message:
          type: string
          description: Error message
        errors:
          type: array
          nullable: true
          items:
            type: object
            properties:
              location:
                type: string
              message:
                type: string
  examples:
    requestBodyUpdatePreprocessingSettingsRequestExample:
      summary: A sample preprocessing settings request
      value:
        ai_preprocessing_enabled: true
    preprocessingSettingsExample:
      summary: A sample preprocessing settings response
      value:
        ai_preprocessing_enabled: false
    unauthorizedErrorExample:
      summary: Unauthorized error
      value:
        code: 401
        message: Unauthorized
  securitySchemes:
    apiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````