Create document extraction task
Create a document extraction task and return task_id immediately. Use this endpoint for large documents or long-running extraction tasks.
With human collaboration enabled, data.metadata.collaboration_task_id is the collaboration task ID, while data.task_id is the asynchronous extraction task ID. They are not interchangeable. High-speed custom extraction does not support human collaboration.
Authorizations
Production API Key. You can find it under My API in the ADP platform. Make sure the API Key is active and belongs to the production environment.
Headers
Field name language. Use zh for Chinese or en for English.
zh, en Path Parameters
Tenant name. Default: laiye.
Body
- Use file URL
- Use file Base64
Unique application ID.
File URL. Use either file_url or file_base64.
File name. Provide it when using Base64 or when the file name cannot be inferred from the URL.
Whether to return document recognition results. High-speed extraction does not return recognition results.