List Fields
Get all fields under a specified file category, including both regular fields and table fields:workspace_id(required): Workspace IDcategory_id(required): File category ID
Add Field
Add field(s) under a specified file category, supporting both regular fields and table fields:Add Regular Field
Add Table Field
To add field(s) under a table, pass thetable_id parameter:
workspace_id(required): Workspace IDcategory_id(required): File category IDtable_id(optional): Table ID. Not provided or empty: create regular field; Provided: create table fieldfields(required): Array of field objects, each containing:name(required): Field namedescription(optional): Field descriptionprompt(optional): Semantic extraction promptuse_prompt(optional): Whether to use semantic promptalias(optional): Array of field aliasesidentity(optional): Export field namemulti_value(optional): Whether to extract multiple valuesduplicate_value_distinct(optional): Whether to deduplicate values (only effective when multi_value is true)transform_settings(optional): Transformation configuration
Update Field
Update information for specified field(s), supporting both regular fields and table fields:workspace_id(required): Workspace IDcategory_id(required): File category IDtable_id(optional): Table ID. Can be omitted for regular fields; required for table fields to specify which table they belong tofields(required): Array of field objects, each containing:field_id(required): Field ID- Other parameters same as field creation
When updating table fields, pass the
table_id parameter to specify which table the fields belong to.Delete Field
Delete specified field(s), supporting batch deletion of both regular fields and table fields:Delete Regular Fields
Delete Table Fields
To delete table fields, pass thetable_id parameter:
workspace_id(required): Workspace IDcategory_id(required): File category IDfield_ids(required): Array of field IDs to deletetable_id(optional): Table ID. Not provided: delete regular fields; Provided: delete table fields
Field Configuration
Field Types
- Regular Field: Key-value fields stored in
result.fields - Table Field: Table column fields stored in
result.tables[].fields
Field Properties
- name: Field name, required
- description: Field description, optional
- prompt: Semantic extraction prompt to guide AI in field extraction
- use_prompt: Whether to use semantic prompt
- alias: Array of field aliases for field recognition
- identity: Export field name used as field identifier during result export
- multi_value: Whether to extract multiple values, supports extracting multiple values for a single field
- duplicate_value_distinct: Deduplicate values, only effective when multi_value is true
- transform_settings: Transformation configuration, supports datetime, enum, regex, and other transformations
Transform Configuration Example
Next Steps
- Learn Tables Management - Manage tables under file categories
- Learn Samples Management - Manage sample files for file categories
- Return to Category Quickstart - View basic file category operations

