POST /v1/agents/async-result

This endpoint is used to query the result of an asynchronous request.

Request

  • Base URL
    https://api.z.ai/api
  • URL
    https://api.z.ai/api/v1/agents/async-result
  • Auth
    HTTP bearer

Headers

Accept-Language'en-US,en'

Config desired response language for HTTP requests.

Example:en-US,en

Request body

agent_idstring

Agent ID: vidu_template_agent.

async_idstring

Task ID from async response.

Response

Processing successful

statusstring

pending (processing), success (completed), failed (failed).

agent_idstring

Agent ID

async_idstring

Asynchronous task ID.

Changes

No operation changes recorded.