---
title: "Retrieve document content as markdown"
method: GET
path: "/api/document/{id}/md"
tags: ["documents"]
---

# Retrieve document content as markdown

`GET /api/document/{id}/md`

## Path parameters

- `id` string, required

## Query parameters

- `odd` string
- `base` string

## Response `200`

Returns the entire document as markdown

## Other responses

- `404` — Document not found

## Changes

- **2026-07-17** `07216792837f` — 1 info
  - endpoint added
- **2020-10-14** `b70359972942` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/changes/api/document/:id/md/get.md)

---

[API](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo.md) · [All operations](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eeditiones/tei-publisher-documentation-and-demo/revisions/07216792837f/schema)
