Skip to main content

Ingest Documents

Upload one or more documents to a source for batch extraction. Documents are automatically extracted using the source's bound schema and pipeline settings.

POST/v1/sources/:id/documents

Parameters

ParameterTypeRequiredDescription
idstring (path)YesThe source ID
filefile (multipart)YesDocument file(s) to ingest

Example

curl -X POST https://api.talonic.com/v1/sources/src_def456/documents \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2" \
  -F "file=@invoice-042.pdf" \
  -F "file=@invoice-043.pdf"

Behavior

Each uploaded file creates a document and triggers extraction through the four-phase pipeline. The source's schema is applied automatically. Track progress via jobs or webhooks. Extracted data includes per-cell provenance. File size limits apply per your plan tier.