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

# Edit Knowledge Insight Text

> Version a text correction without replacing any stored evidence references.



## OpenAPI

````yaml /api/openapi.json patch /agent/v1/knowledge/insights/{insight_id}
openapi: 3.1.0
info:
  title: CrowdListen Agent API
  description: >-
    Configure sources, collect and retain originals, run durable analysis, and
    read or revise cited insights. Humans and agents share authorized
    entity/project records, research jobs and evidence history.
  version: 1.0.0
servers:
  - url: https://agent.crowdlisten.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /agent/v1/knowledge/insights/{insight_id}:
    patch:
      tags:
        - agent-knowledge
      summary: Edit Knowledge Insight Text
      description: >-
        Version a text correction without replacing any stored evidence
        references.
      operationId: >-
        edit_knowledge_insight_text_agent_v1_knowledge_insights__insight_id__patch
      parameters:
        - name: insight_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Insight Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InsightTextEdit'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InsightTextEdit:
      properties:
        entity_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Entity Id
        project_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Project Id
        request_id:
          type: string
          format: uuid
          title: Request Id
        expected_revision:
          type: integer
          maximum: 2147483646
          minimum: 1
          title: Expected Revision
        title:
          type: string
          maxLength: 300
          minLength: 1
          title: Title
        summary:
          type: string
          maxLength: 16000
          minLength: 1
          title: Summary
        reasoning:
          type: string
          maxLength: 16000
          title: Reasoning
        limitations:
          items:
            type: string
            maxLength: 2000
            minLength: 1
          type: array
          maxItems: 30
          title: Limitations
      additionalProperties: false
      type: object
      required:
        - request_id
        - expected_revision
        - title
        - summary
        - reasoning
        - limitations
      title: InsightTextEdit
      description: >-
        A correction to interpretation text; citation context stays
        server-owned.
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.