---
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.

---

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