Recognize document (sync)
Recognize text content and block positions from an uploaded document.
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.
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.
Model parameters for this document recognition call. If omitted, the saved application parsing configuration is used. To temporarily override parsing options for this call, pass them in recognize_config.
