Update File Category
File Category
Update File Category
Update the specified file category information.
Note: Setting extract_model will cascade override the extraction model of all fields and tables under this category.
POST
Update File Category
Body
application/json
Workspace ID
Example:
"1234567890"
File category ID
Example:
"1234567890"
File category name
Maximum string length:
50Example:
"Invoice"
Prompt for classification
Maximum string length:
150Example:
"VAT invoice, including fields such as invoice code, invoice number, etc."
Enabled status
- 0: Disabled
- 1: Enabled
- 2: Draft
Available options:
0, 1, 2 Extraction model, cascades to all fields and tables when set
- Auto: Automatically matches the extraction model
- Acgpt: Fast speed with stable extraction results
- Acgpt-VL: VLM, suitable for simple extraction (≤10 pages)
- DF-M1: Suitable for complex document understanding
Available options:
Auto, Acgpt, Acgpt-VL, DF-M1 Example:
"Acgpt"
Whether to return full details. When true, the response returns category self info (without child-level fields/tables). When not set or false, only code/msg is returned.

