---
title: "Get Document by ID"
method: GET
path: "/knowledge-base/document/{document_id}"
tags: ["knowledge-base"]
---

# Get Document by ID

`GET /knowledge-base/document/{document_id}`

Get a single document by document_id

## Path parameters

- `document_id` string, required — The document ID to retrieve

## Response `200`

200 OK

- object
  - `document_id` string — The unique identifier for this document
  - `type` string — Type of entry (document)
  - `question` string — Question of the document
  - `answer` string — Answer of the document
  - `attachments` string[] — Attachments of the document
  - `metadata` object — Metadata of the document
  - `embedding` number[] — Embedding of the document
  - `created_at` string — Creation timestamp

## Other responses

- `404` — Document not found

---

[API](https://skmtc.net/periskope/apis/api-local.md) · [All operations](https://skmtc.net/periskope/apis/api-local/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/periskope/api-local/versions/f2738ced87d8/schema)
