About this endpoint
What it does
Extracts table data from a document at the provided URL and returns 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 | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Document URL to extract table data from. Must be a valid URI. |
| azure | Object | No | Custom credentials for Azure services. Contains optional fields: key, region, endpoint, account_id, access_token. |
| azure.key | String | No | Azure subscription key. |
| azure.region | String | No | Azure service region. |
| azure.endpoint | String | No | Azure endpoint URL. |
| azure.account_id | String | No | Azure account ID. |
| azure.access_token | String | No | OAuth access token for Azure service. |
| requested_service | ENUM | No | 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 | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Response wrapper containing extraction results. May include azure and apyhub objects. |
| data.azure | Object | No | Raw Azure Document Intelligence parsing output. |
| data.apyhub | Object | No | Structured ApyHub Table Extraction parsing output. |