DocFlow provides a file retry interface that supports reprocessing specified tasks. The retry operation will re-execute the complete processing flow including parsing, classification, splitting, extraction, etc.Documentation Index
Fetch the complete documentation index at: https://docs-docflow.textin.com/llms.txt
Use this file to discover all available pages before exploring further.
Retry File Processing
Reprocess files corresponding to specified task IDs:Parameter Description
Required Parameters
workspace_id: Workspace ID. Please refer to the Get Workspace ID documentation.task_id: Task ID. Can be obtained from the file upload interface response or through query interfaces.
Response Description
After successful retry, the interface returns a standard response:code: Response status code, 200 indicates successmsg: Response message
Use Cases
The retry interface is suitable for the following scenarios:- Failed Processing Retry: When file processing fails, you can call the retry interface to reprocess
- Retry After Configuration Update: After updating classification, extraction, and other configurations, you can reprocess already processed files to apply new configurations
Important Notes
- Task Status: The retry operation will reprocess files, and existing processing results may be overwritten
- Processing Time: The retry operation needs to re-execute the processing flow, which may take some time. It is recommended to check the task status through query interfaces
- Task Type Restriction: Only main tasks or parent tasks can be retried. Child tasks do not support retry
- Extraction Status Restriction: Only tasks with extraction succeeded or failed status can be retried

