Export Data Product
Download a data product as CSV: a plain values export, or an audit export with per-cell provenance that marks held review-queue cells as PENDING_REVIEW.
Export a data product as a CSV file with a single GET request. Two variants are available: a plain export of the values, and an audit export that preserves the handover trail. Both stream the file as a text/csv attachment with a Content-Disposition filename, so a plain curl -o or a browser download works without further headers.
The plain export is the spreadsheet view: one row per document, one column per schema field, values only. The audit export is the handover trail in long ("tidy") form — for pipeline-backed products it emits one row per document, field, and audit-trail stage, pivoted from the cell version history, with a stage column and an is_final flag marking each field's delivered row, plus reviewer attribution for human decisions.
For a pipeline-backed product, cells still held in the review queue (pending_approval) are treated carefully: the plain export writes them as empty, and the audit export writes a PENDING_REVIEW marker with every intermediate stage row withheld, so the held value is never serialized into the file. This keeps an in-flight review from leaking an unapproved value while still letting you export everything that has cleared.
Internal diagnostic fields — keys prefixed with __, such as assembly diagnostics — never appear in either export, matching their exclusion from the results endpoint and delivery payloads. Exports always reflect the current state of the product: re-download after review decisions resolve to pick up the newly cleared values.
Choose the variant by audience. The plain CSV is what you hand to a consumer who wants the data — it loads directly into a spreadsheet or a COPY-into-database step. The audit CSV is what you hand to a reviewer or auditor who wants to know where each value came from: filter it to is_final = true to reconstruct the plain view, or group by document and field to walk a single value's history through extraction, resolution, and review.
/v1/data-products/{id}/export/plainPath parameters
/v1/data-products/{id}/export/auditPath parameters
curl
curl -s https://api.talonic.com/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655/export/plain \
-H "Authorization: Bearer tlnc_your_api_key" -o data-product.csv
# Audit variant with the handover trail
curl -s https://api.talonic.com/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655/export/audit \
-H "Authorization: Bearer tlnc_your_api_key" -o data-product-audit.csvPlain export (excerpt)
filename,invoice_number,vendor_name,total_amount,currency
inv_0042.pdf,INV-2026-0042,Acme Corp,1250.00,USD
inv_0043.pdf,INV-2026-0043,,842.10,USDtext/csv), not JSON. An empty cell in the plain export is ambiguous between "no value extracted" and "held in review" — when the distinction matters, use the audit export, where a held field reads PENDING_REVIEW.