v1

latestOpenAPI 3.0.1ZHIPU AI 开发者协议和政策2026-07-2649130210.9 KB
工具 API

文件解析(同步)

创建文件解析任务,支持多种文件格式和解析工具。见 文件解析服务。点击 Try it 按钮可快速试用。

post/paas/v4/files/parser/sync

Response

结果获取成功

status'processing' | 'succeeded' | 'failed' required

任务处理状态

messagestring required

结果状态描述

contentstring nullable

format_type=text时返回的解析文本内容

task_idstring required

文件解析任务ID

parsing_result_urlstring nullable

format_type=download_link时返回的结果下载链接

Example response

{
  "status": "succeeded",
  "message": "结果获取成功",
  "content": "这是解析后的文本内容...",
  "task_id": "task_123456789",
  "parsing_result_url": "https://example.com/download/result.zip"
}