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

# Patch Insight Endpoint

> Mark an insight resolved or attach a resolution note. Matches the
semantics of the in-app 'Mark resolved' button so state stays
consistent across clients.



## OpenAPI

````yaml /openapi.json patch /projects/{project_id}/insights/{insight_id}
openapi: 3.1.0
info:
  title: Overten API
  version: 1.0.0
  description: >-
    Generate and edit Word, Excel, and PowerPoint documents programmatically.
    Powered by the same agents as the Overten web app.
  contact:
    name: Overten Support
    url: https://overten.ai/support
    email: support@overten.ai
  license:
    name: Terms of Service
    url: https://overten.ai/terms
servers:
  - url: https://backend.overtenai.com/api/v1
    description: Production
  - url: http://localhost:8000/api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /projects/{project_id}/insights/{insight_id}:
    patch:
      tags:
        - public
        - projects
      summary: Patch Insight Endpoint
      description: |-
        Mark an insight resolved or attach a resolution note. Matches the
        semantics of the in-app 'Mark resolved' button so state stays
        consistent across clients.
      operationId: >-
        patch_insight_endpoint_api_v1_projects__project_id__insights__insight_id__patch
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
        - name: insight_id
          in: path
          required: true
          schema:
            type: string
            title: Insight Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InsightPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    InsightPatchRequest:
      properties:
        is_resolved:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Resolved
        resolution_note:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Resolution Note
      type: object
      title: InsightPatchRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Send `X-API-Key: sk_live_<your_key>`. Keys are issued via POST /signup
        or via the dashboard. Legacy callers may also use `Authorization: Bearer
        sk_live_<your_key>`.

````