The Stax.ai Developer API uses data models to organize its endpoints. Similar to a REST API, a data model is a resource type with CRUD (Create-Retrieve-Update-Delete) functionality plus added helper functionality.
The available data models are:
The document model consists of various endpoints to upload and download documents, and retrieve any data extracted from them. Document search functionality is also included.
Learn more about the document model endpoints.
A stack is a "smart folder" with a trainable classifier attached to it. Endpoints within the model provide the ability to CRUD, train, and list documents within specific stacks - including "pseudo-stacks" such as High Priority, Assigned To Me, Unclassified, and Not Yet Reviewed.
A field is an indexed, search-able, and filter-able key (similar to metadata). Actionable data is extracted from documents as fields. Fields are stored as key-value pairs.
The field model allows you to retrieve all field values, retrieve documents of a given key-value pair, list all recorded values for given keys.
Learn more about the field model endpoints.