Testing Document Analysis in Sandbox
Learn how to use Document Analysis in Sandbox
This guide will explain how to test the Document Analysis without incurring charges in the Sandbox environment.
In the Sandbox, we do not perform real extraction but we will provide you a simulated experience that closely mirrors the production behavior.
When initiating an Document Analysis, you must upload a file with a specific filename using the file
parameter. This filename determines the status result that will be simulated and the data that would be extracted.
Status simulation | Filename | Result description |
---|---|---|
done | done.pdf | Status is verified with fake data. |
inconclusive | inconclusive.pdf | Status is inconclusive with fake data missing |
ℹ️ If you name the test file incorrectly, the API won’t recognize it, and the Document Analysis will fail.
Once the Document Analysis has been done, you can retrieve the results through the designated endpoint.
Also, if you have subscribed in the Sandbox to the document_analysis.done
event you will also receive a webhook notification.
Updated 4 days ago