Skip to main content
Docflow performs the complete parsing->classification->extraction workflow by default.
If business requirements only need classification results, you can add the target_process=classify parameter to the upload interface, and the workflow will terminate after completing classification, skipping the extraction process.

Upload Files for Classification Only

Query Classification Results

Use the file/fetch interface to query classification results:

Recognition_status Status Description for Classification Only

When using target_process=classify for classification only, the recognition_status field will have the following status changes:

Status Value Description

  • 0 - Pending recognition: File just uploaded, waiting for processing
  • 3 - Classifying: Classification processing in progress
  • 10 - Classification complete: Final state for classification-only workflow, indicating classification is complete and extraction will not be performed
  • 2 - Classification failed: Error occurred during classification process

Difference from Complete Workflow

Complete workflow (default) status changes:
  • 0341 (Pending recognition → Classifying → Extracting → Recognition successful)
Classification-only workflow status changes:
  • 0310 (Pending recognition → Classifying → Classification complete)

Return Example