Document extraction
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.
POST
Authorizations
Production OpenAPI Accessor access_key. You can find it in My API in the ADP platform. If the key is disabled, expired, or does not belong to the production environment, the API returns Accessor not found.
Headers
Field name language. Use zh for Chinese or en for English.
Available options:
zh, en Path Parameters
Tenant name. Default: laiye.
Body
application/json
- Use file URL
- Use file Base64
Unique application ID.
file_url
string<uri>
default:https://adp.laiye.com/web/agentic_doc_processor/laiye/file/2003c711818811f1a36200163e358400
required
File URL. Use either file_url or file_base64.
Whether to return document recognition results. High-speed extraction does not return recognition results.
