Sources
Upload a document into a source
Upload a file directly into a source. The document is queued for extraction automatically. Duplicate files (by content hash) return a duplicate status with the existing document ID.
post/v1/sources/{id}/documents
Request
- Base URL: https://api.talonic.com
- URL: https://api.talonic.com/v1/sources/{id}/documents
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Response
Document ingested (or duplicate detected).
Example response
{
"document_id": "f0e1d2c3-b4a5-9687-8765-432109876543",
"filename": "invoice-042.pdf",
"size_bytes": 148213,
"status": "completed",
"source_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message": "Re-extraction started.",
"existing_document_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Changes
No recorded changes to this operation across all 1 revision of this API.