---
title: "Read a document (metadata + content)"
method: GET
path: "/workspaces/{workspaceId}/documents/{documentId}"
tags: ["Workspace"]
---

# Read a document (metadata + content)

`GET /workspaces/{workspaceId}/documents/{documentId}`

## Response `200`

The document detail with inline content.

- DocumentDetail
  - `object` 'document', required
  - `id` string, uuid, required
  - `documentId` string, uuid, required — Legacy alias of `id` — kept for pre-restructure consumers.
  - `filename` string, required — Last segment of the VFS path — the user-facing filename.
  - `vfsPath` string, required
  - `kind` string, required
  - `status` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `content` string, required

## Other responses

- `404` — DOCUMENT_NOT_FOUND.

---

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