About this endpoint
What it does
Extracts read data from a document at the provided URL and returns a JSON object with parsing results for azure and apyhub under data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Document URL to process. Must be a URI. |
| azure | Object | No | Custom credentials for Azure services. Nested fields: azure.key, azure.region, azure.endpoint, azure.account_id, azure.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 | Which service to use. Allowed values: azure, apyhub. Default: apyhub. |
Response
Returns a JSON object with a data object field. data may include azure and apyhub object fields containing the corresponding parsing outputs.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Result wrapper containing parsing output fields. |
| data.azure | Object | No | Raw Azure Document Intelligence parsing output. |
| data.apyhub | Object | No | Structured ApyHub Read Layout Transcription parsing output. |