Get Document Markdown
Retrieve the markdown text representation of a processed document. The markdown includes headings, tables, and structured content extracted from the original file.
GET
/v1/documents/:id/markdownPath parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | The document ID |
Example
curl https://api.talonic.com/v1/documents/doc_xyz789/markdown \
-H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2"Use cases
The markdown endpoint is useful for building document previews, feeding content into LLMs, and creating searchable indexes. It complements the structured extraction data by preserving the document's original text layout.