POST
/
v1
/
agents
/
async-result
查询异步结果
curl --request POST \
  --url https://open.bigmodel.cn/api/v1/agents/async-result \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "async_id": "VHJhbnNsYXRvckVudGl0eVRhc2s6OTI5OTY5",
  "agent_id": "doc_translation_agent"
}'
{
  "agent_id": "doc_translation_agent",
  "async_id": "VHJhbnNsYXRvckVudGl0eVRhc2s6OTI5OTY5",
  "status": "success",
  "choices": [
    {
      "messages": [
        {
          "role": "assistant",
          "content": [
            {
              "type": "file_url",
              "file_url": "http://batch-api-dev.cn-wlcb.ufileos.com/17509232614dd864-976dd3acd16a4cbeb0aa61e577960c22.xlsx?ufileattname=%25E4%25BF%25A1%25E7%2594%25A8%25E8%25B4%25A6%25E6%2588%25B7%25E5%25AF%25B9%25E8%25B4%25A6%25E5%258D%2595.xlsx",
              "tag_cn": "原文档的 URL",
              "tag_en": "originalFileUrl"
            },
            {
              "type": "file_url",
              "file_url": "http://batch-api-dev.cn-wlcb.ufileos.com/1750923264dd2050-24fb03eaef954e5badadd32a015d42d8.xlsx?ufileattname=%25E4%25BF%25A1%25E7%2594%25A8%25E8%25B4%25A6%25E6%2588%25B7%25E5%25AF%25B9%25E8%25B4%25A6%25E5%258D%2595.en.xlsx",
              "tag_cn": "译文文档的 URL,翻译完成才有",
              "tag_en": "translatedFileUrl"
            },
            {
              "type": "file_url",
              "file_url": "http://batch-api-dev.cn-wlcb.ufileos.com/17509232dx562284-0f5b7f07f6774060b634b0653533dbd1.xlsx?ufileattname=%25E4%25BF%25A1%25E7%2594%25A8%25E8%25B4%25A6%25E6%2588%25B7%25E5%25AF%25B9%25E8%25B4%25A6%25E5%258D%2595.zh-CN_en.xlsx",
              "tag_cn": "双语文档的 URL,翻译完成才有",
              "tag_en": "bilingualFileUrl"
            }
          ]
        }
      ]
    }
  ],
  "usage": {
    "total_tokens": 250
  }
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Body

application/json

Response

200
application/json

业务处理成功

The response is of type object.