Download original files
A quick guide on how to download original files using the Alphamoon API
Download uploaded files
Alphamoon REST API enables you to download original files for specified collections. To do that, get the collection_id of the processed file from:
Upload a file endpoint (Base64 or Binary)
Get collections endpoint
URL e.g. https://workspace.alphamoon.ai/supervision/223742cc9bca43fd81b2d41b0018e4c7
Use the following endpoint to get the original files:
Download original files for specified collections
GET
/api/v0.3/collections/{collection_id}/uploaded files
Path Parameters
See the example:
If a collection contains only one document, the output will retain the same format. For instance, if you upload a single PDF document, the output will also be in PDF.
On the other hand, if you upload a folder of files as a single collection, then you'll get the ZIP archive as an output.
See next:
Last updated