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

# Update monitoring scope

> Change what is logged: all changes, records only, or schema only.



## OpenAPI

````yaml /openapi.json patch /monitoring-config/{id}
openapi: 3.0.4
info:
  title: Simplified Webhooks Backend
  version: '1.0'
  description: >-
    API for Airtable webhooks, usage (record & storage counts), and
    change-monitoring audit logs.
  contact:
    name: API Support
    url: https://www.simplified-webhooks.com/contact-us
    email: contact@simplified-webhooks.com
  x-generated: backend/scripts/generate-openapi.ts — do not edit by hand
servers:
  - url: https://api.simplified-webhooks.com
    description: Main server
security: []
tags:
  - name: Webhooks
    description: Receive Airtable change notifications at your own HTTPS URL.
  - name: Usage
    description: Daily record counts and attachment storage for your Airtable bases.
  - name: Audit Log
    description: >-
      Log record and schema changes into a Changes table in your own Airtable
      Monitoring Base.
  - name: Airtable Helpers
    description: Look up base, table, and field ids from your connected Airtable account.
paths:
  /monitoring-config/{id}:
    patch:
      tags:
        - Audit Log
      summary: Update monitoring scope
      description: 'Change what is logged: all changes, records only, or schema only.'
      operationId: updateMonitoringConfig
      parameters:
        - schema:
            type: string
            format: uuid
            description: The monitoring config id.
            example: 8f1d6b2c-3a4e-4c5d-9e6f-0a1b2c3d4e5f
          required: true
          description: The monitoring config id.
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  enum:
                    - all
                    - schema_only
                    - records_only
              required:
                - scope
              additionalProperties: false
      responses:
        '200':
          description: Updated.
          content:
            application/json:
              schema:
                type: object
                properties:
                  config:
                    type: object
                    properties:
                      id:
                        type: string
                      baseId:
                        type: string
                      baseName:
                        type: string
                      workspaceId:
                        type: string
                      monitoringBaseId:
                        type: string
                      monitoringBaseName:
                        type: string
                      monitoringTableId:
                        type: string
                      monitoringTableName:
                        type: string
                      scope:
                        type: string
                        enum:
                          - all
                          - schema_only
                          - records_only
                      timezone:
                        type: string
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - baseId
                      - baseName
                      - workspaceId
                      - monitoringBaseId
                      - monitoringBaseName
                      - monitoringTableId
                      - monitoringTableName
                      - scope
                      - timezone
                      - createdAt
                      - updatedAt
                    additionalProperties: false
                required:
                  - config
                additionalProperties: false
        '400':
          description: Bad request due to invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized, authentication token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Monitoring config not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
        - message
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sk_...
      description: >-
        Your Simplified Webhooks API key, sent as a bearer token:
        `Authorization: Bearer sk_...`. Create API keys in your [profile
        settings](https://www.simplified-webhooks.com/profile-settings).

````