---
title: "Retrieve a document"
method: GET
path: "/documents/{id}"
tags: ["Documents"]
---

# Retrieve a document

`GET /documents/{id}`

Retrieve a document by its unique identifier for the authenticated team.

## Path parameters

- `id` string, nullable, required

## Response `200`

Retrieve a document by its unique identifier

- object — A single document object response.
  - `id` string, required — Unique identifier for the document.
  - `title` string, nullable, required — Title of the document.
  - `pathTokens` string[], required — Array of path tokens representing the document's location.
  - `metadata` object, nullable, required — Metadata about the document.
    - `size` number, nullable, required — Size of the document in bytes.
    - `mimetype` string, nullable, required — MIME type of the document.
  - `processingStatus` string, required — Processing status of the document.
  - `summary` string, nullable, required — Summary or extracted content from the document.
  - `date` string, nullable, required — Date associated with the document (ISO 8601).

## Other responses

- `default` — An error occurred

---

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