Get task
Last updated September 13, 2026
Retrieve a `x-ai/grok-imagine-video-1.5` task in the unified shape, including the amount charged.
Retrieve a x-ai/grok-imagine-video-1.5 task. This is the site's unified retrieval endpoint; image and
video tasks share one shape.
GET
https://gateway.amux.ai/v1/tasks/{id}Authorization
headerAuthorizationstringRequiredBearer <your Amux key> An API key issued by this site.
Request
idstringRequiredThe Amux task id returned at submit time.
Response
200responseReturns 200 whether or not the task has finished; the state is in status.
404responseNo such task exists in the current workspace.
Key fields
| Field | Meaning |
|---|---|
output.videos[].url | Artifact address on this site's storage, not the upstream's temporary one |
usage.output_video_seconds | Actual output seconds; the billing quantity |
cost | Amount actually charged, in USD. 0 for failed and expired tasks |
notes | What this site did to the request; present only when something was done |
⚠️ output.images is always an empty array but the field is always present — it is
retained for existing image-task clients.
Relationship to the xAI-shaped retrieval
Both read the same task. The xAI-shaped one renders the official field names but does not return cost; use this endpoint when you need it.
cURL
curl https://gateway.amux.ai/v1/tasks/{id} \
-H "Authorization: Bearer $AMUX_API_KEY"{
"id": "task_01M2D8FH1TKGP6VJJX1X3SYY7Q",
"status": "queued",
"model": "x-ai/grok-imagine-video-1.5",
"created_at": "<string>",
"output": {
"images": [
{}
],
"videos": [
{
"index": 0,
"url": "<string>"
}
]
},
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"total_tokens": 0,
"output_video_seconds": 0
},
"cost": "0.08",
"notes": [
"<string>"
],
"error": {
"message": "<string>",
"code": "<string>"
}
}