Create asynchronous document conversion task
Create a document conversion task and return its task_id immediately. Queue messages are currently retained for approximately one hour, a task consumer times out after approximately 180 seconds, and result files are generally valid for approximately one hour. These durations are not stable SLAs.
Creation failure may still appear as HTTP 200 with code=success and data=null. Require a non-empty data.task_id, then poll the query endpoint with a backoff strategy.
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.
Path Parameters
Tenant name. Default: laiye.
Body
- Use file URL
- Use Base64 file
Asynchronous conversion currently always returns page results as URLs. The backend ignores result_mode, so the public contract does not expose that field.
Public HTTPS URL of the file to convert.
2048Base64 content of the file to convert. The decoded file can be at most 50 MiB.
x >= 1x >= 1