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

# Get Document

> Fetch a single document with its topic list.



## OpenAPI

````yaml /api-reference/openapi-oss.json get /api/v1/knowledge/documents/{doc_id}
openapi: 3.1.0
info:
  title: everos
  description: md-first memory extraction framework
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/knowledge/documents/{doc_id}:
    get:
      tags:
        - knowledge
      summary: Get Document
      description: Fetch a single document with its topic list.
      operationId: get_document_route_api_v1_knowledge_documents__doc_id__get
      parameters:
        - name: doc_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^d_[a-f0-9]{12,32}$
            title: Doc Id
        - name: app_id
          in: query
          required: false
          schema:
            type: string
            title: App Id
            default: default
        - name: project_id
          in: query
          required: false
          schema:
            type: string
            title: Project Id
            default: default
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessEnvelope_DocumentDetailResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SuccessEnvelope_DocumentDetailResponse_:
      properties:
        request_id:
          type: string
          title: Request Id
        data:
          $ref: '#/components/schemas/DocumentDetailResponse'
      type: object
      required:
        - request_id
        - data
      title: SuccessEnvelope[DocumentDetailResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DocumentDetailResponse:
      properties:
        doc_id:
          type: string
          title: Doc Id
        category_id:
          type: string
          title: Category Id
        title:
          type: string
          title: Title
        summary:
          type: string
          title: Summary
        source_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Name
        source_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Type
        original_file_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Original File Path
        topics:
          items:
            $ref: '#/components/schemas/TopicOverviewDTO'
          type: array
          title: Topics
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - doc_id
        - category_id
        - title
        - summary
        - source_name
        - source_type
        - original_file_path
        - topics
        - created_at
        - updated_at
      title: DocumentDetailResponse
      description: Response for GET /documents/{doc_id}.
    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
    TopicOverviewDTO:
      properties:
        topic_id:
          type: string
          title: Topic Id
        topic_name:
          type: string
          title: Topic Name
        topic_path:
          type: string
          title: Topic Path
        depth:
          type: integer
          title: Depth
        summary:
          type: string
          title: Summary
      type: object
      required:
        - topic_id
        - topic_name
        - topic_path
        - depth
        - summary
      title: TopicOverviewDTO
      description: Minimal topic summary inside a document detail.

````