List Tables
Get all tables under a specified file category:workspace_id(required): Workspace IDcategory_id(required): File category ID
Add Table
Add table(s) under a specified file category:workspace_id(required): Workspace IDcategory_id(required): File category IDtables(required): Array of table objects, each containing:name(required): Table name, max length 50prompt(optional): Semantic extraction prompt for table, max length 200collect_from_multi_table(optional): Whether to merge multiple tables, default is false
Multi-table merge explanation: When a document contains multiple tables with the same structure, enabling
collect_from_multi_table will merge them into one table result. For example, if invoice item details span across multiple pages, enabling multi-table merge will combine all pages of details into one.Update Table
Update information for specified table(s):workspace_id(required): Workspace IDcategory_id(required): File category IDtables(required): Array of table objects, each containing:table_id(required): Table IDname(optional): Table name, max length 50prompt(optional): Semantic extraction prompt for table, max length 200collect_from_multi_table(required): Whether to merge multiple tables
Delete Table
Delete specified table(s), supporting batch deletion:workspace_id(required): Workspace IDcategory_id(required): File category IDtable_ids(required): Array of table IDs to delete
Table Field Management
After creating a table, you need to add fields to define the columns of the table. For table field management, please refer to the “Add Table Field” section in the Fields Management documentation.Example: Create Table and Add Fields
Python
Table Configuration
Table Properties
- name: Table name, required
- prompt: Semantic extraction prompt for table, used to guide AI in table extraction
- collect_from_multi_table: Whether to merge multiple tables
Multi-table Merge Scenarios
The following scenarios are suitable for enabling multi-table merge:- Cross-page tables: Table content spans across multiple pages
- Repeated tables: Multiple tables with the same structure exist in the document
- Segmented tables: Tables are separated by other content
Next Steps
- Learn Fields Management - Add fields to tables
- Learn Samples Management - Manage sample files for file categories
- Return to Category Quickstart - View basic file category operations

