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

# Get content extraction settings

> Returns extraction settings for a project, including JavaScript rendering and request header configuration.



## OpenAPI

````yaml get /projects/{project_id}/content_extraction_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}/content_extraction_settings:
    parameters:
      - name: project_id
        in: path
        description: The numeric ID of your project
        required: true
        schema:
          type: string
    get:
      tags:
        - Extraction settings
      summary: Get extraction settings
      description: >-
        Returns extraction settings for a project, including JavaScript
        rendering and request header configuration.
      operationId: content_extraction_settings_project#show
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                example:
                  $ref: '#/components/examples/contentExtractionSettingsExample'
              schema:
                $ref: '#/components/schemas/contentExtractionSettingsModel'
        '401':
          description: Invalid authentication token
          content:
            application/json:
              examples:
                example:
                  $ref: '#/components/examples/unauthorizedErrorExample'
              schema:
                $ref: '#/components/schemas/errorModel'
        '404':
          description: Content extraction settings not found for project
      security:
        - apiKey: []
components:
  examples:
    contentExtractionSettingsExample:
      summary: A sample content extraction settings response
      value:
        mode: automatic
        javascript_enabled: true
        static_ip_enabled: false
        request_headers:
          X-Paywall-Token: my-secret-token
    unauthorizedErrorExample:
      summary: Unauthorized error
      value:
        code: 401
        message: Unauthorized
  schemas:
    contentExtractionSettingsModel:
      type: object
      properties:
        mode:
          type: string
          enum:
            - automatic
            - manual
            - legacy
          description: The mode to use for content extraction
        javascript_enabled:
          type: boolean
          description: >-
            Whether to evaluate JavaScript when extracting content. Useful for
            single-page applications.
        static_ip_enabled:
          type: boolean
          description: >-
            Whether requests should originate from a static IP address when
            extracting content.
        request_headers:
          type: object
          description: >-
            Headers that you want to include in the HTTP request when fetching
            and extracting the content.
    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
  securitySchemes:
    apiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````