Export
A quick guide on Alphamoon API export endpoints
Last updated
A quick guide on Alphamoon API export endpoints
Last updated
To export collection via API, 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
To export the collection, use the following endpoint:
GET
/api/v0.3/collections/{collection_id}/export
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
To export collections via API, get the collection_ids as well as process_id from one of the following sources:
Get processes endpoint
Create process endpoint
URL e.g. https://workspace.alphamoon.ai/queue/2080d36bf94c4147b2e543104342fc2f
To export multiple collections, use the following endpoint:
POST
/api/v0.3/collections/export
This endpoint creates an export process with the returned export_id. You can refer to its results using the further described endpoint - Get export by id.
To export collections via API, get the export_id from the following source:
Next up, use the following endpoint:
GET
/api/v0.3/collections/exports/{export_id]
See next:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
collection-id*
String
The id of the collection for which you want to extract the results.
Scope
String
Choose between: extraction, ocr_words, ocr_tables
Format
String
Choose between: json, csv, xlsx, pdf, txt
collectionIds*
String
The ids of the collections
processId*
String
The process id
scope
String
Extraction / ocr_words/ ocr_tables
format
String
json, csv, xlsx, pdf, or txt
export_id*
String