Learn about REST API, CLI, and Agent Skill integration methods, and the product planning status of Skill.
Integration Method Comparison
| Channel | Type | Use Case | Description |
|---|---|---|---|
| REST API | REST | Your own backend services | DashScope HTTP API |
| CLI | Command line | Local debugging / scripts | bailian-cli with bl parsex to submit and query tasks |
| Agent Skill | Skill package | Qoder / Claude Code / Codex | Integrate as a skill package, automatically loaded by AI coding tools |
REST API
All document parsing and information extraction capabilities are provided through the DashScope API at:
| API | Method | Business Path | Purpose |
|---|---|---|---|
| Parse task submission | POST | /api/v2/apps/parse-x/parse/submit | Submit a Parse task |
| Parse task query | POST | /api/v2/apps/parse-x/parse/result | Query Parse status, results, or shards |
| Extract task submission | POST | /api/v2/apps/parse-x/extract/submit | Submit an Extract task |
| Extract task query | POST | /api/v2/apps/parse-x/extract/result | Query Extract status and results |
CLI
The Bailian CLI wraps ParseX parsing and field extraction into commands. See Installation for setup and Use the CLI for steps and examples.
Agent Skill
Run the install command in a terminal. Make sure you have Node.js (≥18) and skills (≥1.5.12) installed.Supported agents: qoder, qwen-code, claude-code, openclaw, codex, cursor, gemini-cli, github-copilot Project-level installation: