Documents
Get the OCR-converted markdown of a document
Returns the full markdown representation produced by OCR for the document. Equivalent to passing include_markdown=true on /v1/extract, but callable at any time after OCR has completed. Useful for PDF-to-markdown conversion without requiring a schema or re-running extraction.
Returns 404 if the document does not exist, is still being processed, or is an image that did not produce OCR output.
get/v1/documents/{id}/markdown
Request
- Base URL: https://api.talonic.com
- URL: https://api.talonic.com/v1/documents/{id}/markdown
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Response
Document markdown.
Example response
{
"document_id": "f0e1d2c3-b4a5-9687-8765-432109876543",
"markdown": "# Invoice INV-2024-0042\nVendor: Acme Corp..."
}Changes
No recorded changes to this operation across all 1 revision of this API.