Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

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.

Path Parameters

tenant_name
string
default:laiye
required

Tenant name. Default: laiye.

Body

application/json

Set ai_function first. Use the standard custom extraction application parameters when ai_function is 1406. Use the high-speed custom extraction application parameters when ai_function is 1425.

ai_function
enum<integer>
default:1425
required

Application type. Use 1425 to create a high-speed custom extraction application.

Available options:
1425
app_name
string
required

Application name.

Required string length: 1 - 100
extract_fields
High-speed field · object[]
required

High-speed extraction field configuration list. Up to 50 fields. Every field must provide field_key.

Required array length: 1 - 50 elements
app_label
string[]

Application labels. Up to 5 labels.

Maximum array length: 5
enable_field_value_translation
boolean
default:false

Whether to enable extracted value translation. Disabled by default.

Response

Extraction application 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