---
title: "Get document"
method: GET
path: "/v1/namespaces/{namespace}/documents/{documentId}"
tags: ["Documents"]
---

# Get document

`GET /v1/namespaces/{namespace}/documents/{documentId}`

Retrieves a single document by ID from a namespace.

## Response `200`

Successful response

- Document — A document is a record with a required `id` and arbitrary attributes. Attribute types must conform to the namespace's `attributes_schema`. If no schema is provided during upsert, one is inferred from the document structure.
  - `id` string, required — Document ID. UUID or string up to 64 characters.

## Other responses

- `401` — Missing or invalid API key.
- `404` — The requested resource was not found.

## Changes

- **2026-04-13** `ee3554910b7d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/charcoalhq/apis/charcoal-api/changes/v1/namespaces/:namespace/documents/:documentId/get.md)

---

[API](https://skmtc.dev/charcoalhq/apis/charcoal-api.md) · [All operations](https://skmtc.dev/charcoalhq/apis/charcoal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/charcoalhq/charcoal-api/revisions/eee9850f4746/schema)
