Skip to main content
POST

Authorizations

X-API-KEY
string
header
required

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

accept-language
enum<string>
default:en

Field name language. Use zh for Chinese or en for English.

Available options:
zh,
en

Path Parameters

tenant_name
string
default:laiye
required

Tenant name. Default: laiye.

Body

application/json
app_id
string
default:ootb_k7m2x9p4v1n8w3q6r5t0y2b4
required

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.

file_name
string

File name. Provide it when using Base64 or when the file name cannot be inferred from the URL.

model_params
object

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.

Response

Document recognition result.

code

Business code. A successful response is usually success or 200.

message
string

Response message.

tips
string | null

Details. Defaults to null.

data
object