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

# Update an existing ticket details from AI context



## OpenAPI

````yaml /openapi.json patch /tickets/ai/{ticketId}
openapi: 3.0.0
info:
  title: InteraOne API
  version: 1.0.0
  description: >-
    REST API for InteraOne authentication, organizations, support operations,
    channels, knowledge, AI coordination, and administration.
servers:
  - url: http://localhost:3002/api/v1
    description: Local development gateway
security: []
tags:
  - name: Authentication
    description: Signup, login, OTP, password recovery, refresh, logout, and profile.
  - name: Organizations
    description: Tenant lifecycle, switching, billing entitlements, and usage.
  - name: Memberships
    description: Invitations, members, roles, and membership status.
  - name: Agent
    description: Support-agent profile and presence.
  - name: Conversations
    description: Inbox, messages, routing, status, memory, handoff, and agent assist.
  - name: Contacts
    description: Customer profiles, notes, tags, and conflict resolution.
  - name: Tickets
    description: Ticket creation, assignment, updates, notes, replies, and AI operations.
  - name: Templates
    description: Saved support response templates.
  - name: Widget
    description: Widget configuration, public sessions, conversations, and QR scans.
  - name: Channels
    description: >-
      Email, WhatsApp, Telegram, provisioning, verification, and inbound
      webhooks.
  - name: Email
    description: Internal email sending and contact verification.
  - name: Knowledge
    description: >-
      Knowledge sources, uploads, indexing, reindexing, and unanswered
      questions.
  - name: Storage
    description: Presigned object upload/download and metadata operations.
  - name: Notifications
    description: Tenant and user notifications.
  - name: Analytics
    description: Organization, owner, and agent support metrics.
  - name: Observability
    description: AI call ingestion and aggregate performance data.
paths:
  /tickets/ai/{ticketId}:
    patch:
      tags:
        - Tickets
      summary: Update an existing ticket details from AI context
      parameters:
        - in: header
          name: x-ai-tool-secret
          required: true
          schema:
            type: string
        - in: path
          name: ticketId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subject:
                  type: string
                description:
                  type: string
                priority:
                  type: string
      responses:
        '200':
          description: Ticket updated successfully

````