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

# Update autopilot monitor settings

> Updates the autopilot monitor threshold (in minutes; positive integer >= 1) used by the autopilot watchdog. Admin can update own org; SuperAdmin can update any org.



## OpenAPI

````yaml /api-reference/openapi.yaml put /api/organizations/{organizationId}/autopilot-monitor-settings
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/organizations/{organizationId}/autopilot-monitor-settings:
    put:
      tags:
        - Organizations
      summary: Update autopilot monitor settings
      description: >-
        Updates the autopilot monitor threshold (in minutes; positive integer >=
        1) used by the autopilot watchdog. Admin can update own org; SuperAdmin
        can update any org.
      operationId: put_organizations_organizationId_autopilot_monitor_settings
      parameters:
        - in: path
          name: organizationId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAutopilotMonitorSettingsRequest'
      responses:
        '200':
          description: Autopilot monitor settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutopilotMonitorSettingsUpdateResponse'
        '400':
          description: thresholdMinutes must be a positive integer (>= 1)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '404':
          description: Organization not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateAutopilotMonitorSettingsRequest:
      type: object
      properties:
        thresholdMinutes:
          type: integer
          minimum: 1
          description: >-
            Minutes a conversation may remain stalled on autopilot before the
            monitor flags it for human attention (default 5).
      required:
        - thresholdMinutes
      additionalProperties: true
      example:
        thresholdMinutes: 10
    AutopilotMonitorSettingsUpdateResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        message:
          type: string
        data:
          type: object
          properties:
            thresholdMinutes:
              type: integer
              minimum: 1
          additionalProperties: true
      additionalProperties: true
      example:
        success: true
        message: Autopilot monitor settings updated
        data:
          thresholdMinutes: 10
    OrganizationErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      additionalProperties: true
      example:
        error: Organization not found
        details: No organization exists with the provided id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````