Replace a document's file (deprecated endpoint)
One step with Dify. We can help you get access.
Get something done
Replace a document's file (deprecated endpoint)
with Dify · Retrieval & Embeddings
Use Dify: its Dify Service Documents API lets you replace a document's file (deprecated endpoint) in a single step (POST /datasets/{dataset_id}/documents/{document_id}/update-by-file). capabilities.work can help you get signed up and connected.
- Is the older update-by-file endpoint for documents still supported?
- My integration uses the deprecated update-by-file call; how does it re-index a document?
Say it to your AI assistant
- Use the deprecated update-by-file endpoint to upload {file} over document {document_id} in {dataset_id}.
- Call the legacy update-by-file route for document {document_id} in knowledge base {dataset_id}.
For your developer
POST /datasets/{dataset_id}/documents/{document_id}/update-by-file in Dify Service Documents API. Full spec on APIs.io.