New field types in the Box AI Extract Structured API
We have introduced two new complex field types: struct and table in the Box AI
extract_structuredAPI.
- Use
struct to group multiple related sub-fields and extract them as a single JSON object.
This is useful for extracting a set of related values that belong together, such as an address or a person’s contact details.
- Use
table to extract repeating rows of structured data as an array of JSON objects.
This is useful for extracting multi-row data such as invoice line items or tax tables,
regardless of how that data is formatted in the source document.
Both types accept a fields array that defines their sub-fields, using the same scalar
types already supported by the API (string, float, date, enum, multiSelect, and others).
Where to get support
Should you have any issues or need further guidance, please post a request to our developer forum for any help needed.