Retrieve a task (Alibaba Model Studio shape)

Returns the same task as GET /v1/tasks/{id}, rendered in the Model Studio shape. It is an alias, not a second store — one task, two renderings.

It is provided because DashScope clients construct this address themselves; without it, changing base_url would produce successful submissions and 404s on retrieval.

New integrations should use GET /v1/tasks/{id}, which carries usage and cost; this shape has no corresponding fields.

This endpoint maps only the fields clients actually read. Upstream additionally returns submit_time / scheduled_time / end_time / orig_prompt, which this endpoint does not; use GET /v1/tasks/{id} for timing and usage.

One further behavioural difference: upstream task records expire after 24 hours and then return UNKNOWN. Amux task records are never deleted and always return the real terminal state, so a client treating UNKNOWN as a give-up condition will not reach that branch here.

get/api/v1/tasks/{id}

Request

  • Base URL: https://gateway.amux.ai
  • URL: https://gateway.amux.ai/api/v1/tasks/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The Amux task ID returned at submit time.

Response

Always 200, finished or not. The state lives in output.task_status.

request_idstring

Mirrors the task ID, so a log line always carries something you can look up.

Changes

No recorded changes to this operation across all 1 revision of this API.