Inferences
Item Labels Inference
You can have the inference via the API or the vision-SDK while the vision-SDK will do the network request for you, the responses from this document will remain the same.
New Inference
To create a new inference for item labels, you'll need to pass the image as a base64 encoded data URL or public web URL. There's a soft cap of about 7.5MB per image for the base64 URL.
You're also able to specify what type of image the parser is looking at, so it can better extract data accurately along with other helpful information listed below:
image string (required)
Base64 encoded image.
barcode_values Array.<String>
Any existing values you've already extracted from the barcode.
For example,
List Item Label Inferences
Retrieve a paginated list of Item Label inferences for your organization. Results are returned in descending order by default, meaning the most recently created inference appears first.
Query Parameters
Pagination
The response includes a pagination object. If has_more is true, there are additional inferences not yet returned. Use the page and limit query parameters to paginate through results. The total_count property returns the total number of inferences matching your query.
Filtering by Location
Filtering by Status
Retrieve Item Label Inference
Retrieve a single Item Label inference by its ID.
Update Item Label Inference
Update an existing Item Label inference. You can modify the inferred data, set the status, or update metadata. At least one property must be provided in the request body.
Body Parameters
Inference Object Properties
Inferences in a processing state (inferring, matching, transforming) cannot be updated. Inferences in a finished state (completed, canceled) can only have their metadata updated.
Delete Item Label Inference
Permanently delete an Item Label inference and its associated image. This action cannot be undone.