Endpoints
Async parsing — Submit Task
Submit a file parsing task and immediately receive a task_id; the document is processed in the background
POST
Python
Async parsing requires both endpoints. Calling the submit endpoint alone does not return the final parsing result.
- Call this endpoint to submit the task. It immediately returns a
task_id. - Use that
task_idto poll the result query endpoint. - Read the parsing result from the result query endpoint after the task status becomes successful. The recommended polling interval is 3~5 seconds.
output_formats, element_formats, and feature_config are the same as in Sync parsing; if you want the auth and limits summary, go back to the API overview.Body
multipart/form-data
待解析的文件,支持 PDF、图片、Word、PPT 和 Excel 格式
API 密钥,格式 sk-***
输出格式,可多选。不传时默认为 ["markdown", "json"]。支持 json / markdown / zip,其中 zip 将所有输出文件打包为压缩包
Available options:
json, markdown, zip 元素格式配置,控制各类元素的输出格式
特色功能配置(参数已从 extract_config 更名为 feature_config)

