---
title: "Get Document"
method: GET
path: "/agents/documents/{document_id}"
tags: ["Documents"]
---

# Get Document

`GET /agents/documents/{document_id}`

Returns the details of a single [knowledge base](/line/knowledge-base) document, including its full content.

## Path parameters

- `document_id` string, required

## Headers

- `Cartesia-Version` '2026-03-01', date, required

## Response `200`

- DocumentResponse
  - `id` string, required — The ID of the document.
  - `name` string, nullable, required — The document's display name, or `null` if unnamed.
  - `content` string, required — The full document text.
  - `created_at` string, date-time, required — When the document was uploaded.
  - `metadata` object, required — User-defined string-keyed metadata.

## Other responses

- `404` — Document not found (`error_code: kb_document_not_found`).

---

[API](https://skmtc.net/cartesia/apis/cartesia-api.md) · [All operations](https://skmtc.net/cartesia/apis/cartesia-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cartesia/cartesia-api/revisions/8910812440d3/schema)
