---
title: "Get Document"
method: GET
path: "/user/knowledgebases/{knowledgebaseId}/documents/{documentId}"
tags: ["Knowledge Bases"]
---

# Get Document

`GET /user/knowledgebases/{knowledgebaseId}/documents/{documentId}`

## Request

- Base URL: `https://app.famulor.de/api`
- URL: `https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents/{documentId}`
- Auth: HTTP bearer

Retrieve details of a specific document inside a Famulor knowledge base by ID via API. Get content, metadata and processing status for AI voice agents.

[Docs](https://docs.famulor.io/api-v1/knowledgebases/get-document)

## Path parameters

- `knowledgebaseId` integer, required
- `documentId` integer, required

## Response `200`

Success

- object
  - `data` object: The document object
    - `id` integer: The unique identifier of the document
    - `name` string: The name of the document
    - `description` string: Optional description of the document
    - `type` string: Document type: `website`, `pdf`, `txt` or `docx`
    - `type_label` string: Human-readable type label
    - `status` string: Processing status: `processing`, `active` or `failed`
    - `status_label` string: Human-readable status label
    - `created_at` string: ISO 8601 timestamp of creation
    - `updated_at` string: ISO 8601 timestamp of last update

## Other responses

- `401`: Fehlender oder ungültiger API-Key.
- `404`: Not Found
- `422`: Die Anfrage ist inhaltlich ungültig.

---

[API](https://skmtc.dev/famulor/apis/famulor-api.md) · [All operations](https://skmtc.dev/famulor/apis/famulor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/famulor/apis/famulor-api/revisions/3b938c370721?raw)
