Document Parsing API

Updated at:

Document Parsing API: submit parsing tasks and query parsing results.

The Document Parsing API parses documents, images, and audio/video files into readable structured content. Calls are asynchronous: submit a parsing task to obtain a biz_id, then poll the parsing result until the task succeeds or fails.

ImportantYou can also complete the same flow with the Bailian CLI in your terminal: bl parsex parse submit --workspace-id <workspace-id> --file-url "https://example.com/document.pdf" --output json, then query results with bl parsex parse result --biz-id <biz-id> --follow. See Use the CLI.