About this endpoint
What it does
Extracts table data from an uploaded document and returns the parsed results in a JSON object. You can optionally supply Azure credentials and choose whether to request Azure or ApyHub processing through requested_service.
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | The document file to extract table data from. |
| azure | Object | Custom credentials for Azure services. Contains optional fields: key, region, endpoint, account_id, access_token. |
| azure.key | String | Azure subscription key. |
| azure.region | String | Azure service region. |
| azure.endpoint | String | Azure endpoint URL. |
| azure.account_id | String | Azure account ID. |
| azure.access_token | String | OAuth access token for Azure service. |
| requested_service | ENUM | Service to use. Allowed values: azure, apyhub. Default: apyhub. |
Response
Returns a JSON object with a data object field. The data object may contain azure and/or apyhub fields, each of which is an object holding the corresponding table extraction output.
| Parameter | Type | Description |
|---|---|---|
| data | Object | Response wrapper containing extraction results. May include azure and apyhub objects. |
| data.azure | Object | Raw Azure Document Intelligence parsing output. |
| data.apyhub | Object | Structured ApyHub Table Extraction parsing output. |



