---
title: "Get document details"
method: GET
path: "/v1/documents/{id}"
tags: ["documents"]
---

# Get document details

`GET /v1/documents/{id}`

Returns full details for a specific document including metadata and tree info.

## Path parameters

- `id` string, required

## Response `200`

Document details

- DocumentDetail
  - `id` string
  - `title` string
  - `root_node_id` string — Root node ID of the tree
  - `total_nodes` integer
  - `max_depth` integer
  - `source_path` string
  - `mime_type` string
  - `file_size` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `404` — Document not found
- `500` — Storage error

---

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