Download Document

GET /documents/{id}/download

Download the original document file

Path Parameters

id string required
curl -X GET \
-H "x-api-key: dsk_your_api_key" \
https://api.tracore.io/documents/doc_abc123/download
import { TracoreClient } from '@tracore/sdk';

const client = new TracoreClient({ apiKey: 'dsk_your_api_key' });

const file = await client.documents.download('doc_abc123');
// file is a Blob
200 Response