Document Ingestion
Upload directly to Vault or import provider files through connected integrations.
TextMine supports two document ingestion patterns: direct upload and provider import.
Direct upload
Use direct upload when your integration already has the file bytes. The usual sequence is:
- Call
listVaultsand choose the target Vault. - Upload the file with the document upload endpoint.
- Poll the document or processing state.
- Add or update metadata, tags, assignees, or document type as needed.
- Trigger reports, playbooks, workflows, exports, or publication when processing is complete.
Provider import
Use provider import when the source file is already in a connected provider. The usual sequence is:
- Call
listIntegrationProviders. - Check the provider connection status.
- List folders and files with the integration browsing endpoints.
- Import the selected provider file into the target Vault.
- Continue with the same processing, metadata, report, and workflow steps used for direct uploads.
Provider import avoids downloading a file to the caller only to upload it again. It also gives agents a safer discovery path: list providers, list folders, list files, then import a selected file.