Create File Category
File Category
Create File Category
Create a new file category in the specified workspace, requiring at least one sample file and at least one field configuration
POST
Create File Category
Documentation Index
Fetch the complete documentation index at: https://docs-docflow.textin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
multipart/form-data
Workspace ID
Example:
"1234567890"
File category name
Maximum string length:
50Example:
"Invoice"
Optional, extraction model, defaults to Model 1 if not specified
- Model 1: Fast speed with stable extraction results
- Model 2: Suitable for complex document understanding
- Model 3: VLM, suitable for simple extraction
Available options:
Model 1, Model 2, Model 3 Example:
"Model 1"
Sample file list, at least one sample file must be uploaded, a category can have at most 10 sample files
Required array length:
1 - 10 elementsField configuration list, at least one field must be configured
Minimum array length:
1Prompt for classification
Maximum string length:
150Example:
"VAT invoice, including fields such as invoice code, invoice number, etc."

