v1

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

异步结果

查询智能体异步任务的处理结果和状态。点击 Try it 按钮可快速试用。

post/v1/agents/async-result

Request body

async_idstring required

任务ID

agent_idstring required

智能体ID

Example request

{
  "async_id": "VHJhbnNsYXRvckVudGl0eVRhc2s6OTI5OTY5",
  "agent_id": "intelligent_education_correction_polling"
}

Response

业务处理成功

agent_idstring

智能体ID

async_idstring

异步任务的ID

status'success' | 'failed' | 'pending'

任务状态,success/failed/pending