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

# Retrieve Semantic Layer Document

> One document, with its full content.

The listing carries every field already, so reach for this when you have an id in hand — from a
[list](/platform-api/semantic-layer/list), from a grant, or from something you created earlier.

```bash theme={null}
curl --request GET \
  --url "https://api.nekt.ai/api/v1/semantic-layer/documents/DOCUMENT_ID/" \
  --header "x-api-key: YOUR_API_KEY"
```

<Note>
  A document your API key's creator cannot see answers **404**, not `403` — an id you cannot read is
  indistinguishable from one that does not exist, and saying otherwise would confirm that a document
  with that id exists in the workspace.
</Note>

## Related

* [Document object](/platform-api/semantic-layer/document) — every field, and which are read-only.
* [Update a document](/platform-api/semantic-layer/update).


## OpenAPI

````yaml GET /api/v1/semantic-layer/documents/{id}/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/semantic-layer/documents/{id}/:
    get:
      tags:
        - v1
      summary: Retrieve a Semantic Layer document
      description: >-
        A single document, including its content and the `@type::identifier`
        mentions parsed from it.
      operationId: v1_semantic_layer_documents_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SemanticLayerDocument'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SemanticLayerDocument:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          maxLength: 255
        content:
          type: string
        mentions:
          readOnly: true
        folder:
          type: string
          format: uuid
          nullable: true
          description: >-
            Folder to place the document in. Omit or send null to put it at the
            root.
        order:
          type: integer
          readOnly: true
          nullable: true
          description: >-
            Manual position among its siblings; NULL falls back to created_at
            ordering.
        created_by:
          type: string
          readOnly: true
          description: Created by (Expandable)
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - created_at
        - created_by
        - id
        - mentions
        - name
        - order
        - updated_at
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````