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

# Reset file to original (re-parse)

> Re-downloads the original binary from storage, re-converts it to Markdown, and updates the knowledge_sources row. **Destructive** — discards any manual Markdown edits and clears `hasManualMarkdownEdits`. If the embedding hash is unchanged, skips firing the `knowledgeSourceChanged` event (saves a needless Weaviate upsert) but still bumps `modifiedAt`. Use `refreshIndex` to re-embed the current text non-destructively.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api post /knowledgeSource/filesConnector/{id}/resetToOriginal
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /knowledgeSource/filesConnector/{id}/resetToOriginal:
    post:
      tags:
        - Files connector
      summary: Reset file to original (re-parse)
      description: >
        Re-downloads the original binary from storage, re-converts it to
        Markdown, and updates the knowledge_sources row. **Destructive** —
        discards any manual Markdown edits and clears `hasManualMarkdownEdits`.
        If the embedding hash is unchanged, skips firing the
        `knowledgeSourceChanged` event (saves a needless Weaviate upsert) but
        still bumps `modifiedAt`. Use `refreshIndex` to re-embed the current
        text non-destructively.
      operationId: resetFilesConnectorFileToOriginal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          description: Knowledge source ID
      responses:
        '200':
          description: File re-indexed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        '404':
          description: File not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Could not download original file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: Data format of Enneo error messages
      properties:
        error:
          type: string
          example: Contract 121 could not be processed
          description: Readable error message that should be shown to the user
        details:
          type: string
          example: >-
            Uncatched null point exception in testFunction() in
            /app/src/file:212
          description: Not easily readable error message that is for the developer
        txId:
          type: string
          example: c916167c94
          description: >-
            Internal transaction id. Useful for debugging. Corresponds to the
            OpenTelemetry trace ID.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````