cURL
curl --request GET \ --url https://open.bigmodel.cn/api/paas/v4/files/parser/result/{taskId}/{format_type} \ --header 'Authorization: Bearer <token>'
{ "status": "succeeded", "message": "结果获取成功", "content": "这是解析后的文本内容...", "task_id": "task_123456789", "parsing_result_url": "https://example.com/download/result.zip" }
异步获取文件解析任务的结果,支持返回纯文本或下载链接格式。见 文件解析服务
使用以下格式进行身份验证:Bearer <your api key>
文件解析任务ID
"task_123456789"
结果返回格式类型
text
download_link
"text"
结果获取成功
The response is of type object.
object