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

# Monitoring auth status

> Whether the Airtable connection can provision and write the Monitoring Base. Used to prompt an OAuth reconnect when write scopes are missing.



## OpenAPI

````yaml /openapi.json get /monitoring-config/auth-status
openapi: 3.0.4
info:
  title: Simplified Webhooks Backend
  version: '1.0'
  description: >-
    API for Airtable webhooks, usage (record & attachment-storage counting), and
    change-monitoring audit logs.
  contact:
    name: API Support
    url: https://www.simplified-webhooks.com/contact-us
    email: contact@simplified-webhooks.com
servers:
  - url: https://api.simplified-webhooks.com
    description: Main server
security: []
tags:
  - name: Webhooks
    description: Register, update, and delete delivery webhooks for Airtable changes.
  - name: Usage
    description: >-
      Track daily record counts and attachment storage per Airtable base, and
      read the snapshot time-series.
  - name: Audit Log
    description: >-
      Configure change monitoring that logs every record & schema change into a
      Changes table in your own Airtable base.
paths:
  /monitoring-config/auth-status:
    get:
      tags:
        - Audit Log
      summary: Monitoring auth status
      description: >-
        Whether the Airtable connection can provision and write the Monitoring
        Base. Used to prompt an OAuth reconnect when write scopes are missing.
      operationId: getMonitoringAuthStatus
      responses:
        '200':
          description: The connection's monitoring auth status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoringAuthStatus'
        '401':
          description: Unauthorized, authentication token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    MonitoringAuthStatus:
      type: object
      title: Monitoring Auth Status
      properties:
        mode:
          type: string
          nullable: true
          description: >-
            The Airtable connection mode ('oauth' or 'pat'), or null if not
            connected.
          example: oauth
        hasWriteScopes:
          type: boolean
          description: Whether the connection can create and write the Monitoring Base.
        missingScopes:
          type: array
          items:
            type: string
          description: OAuth scopes that must be granted when hasWriteScopes is false.
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: 'Missing required fields: [tableId, event]'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: API key for authentication.

````