Get Grok Video

GET/v1/videos/{task_id}
Poll a public UnifyLLM task ID and check status and errors before downloading the completed video.

Polling and terminal states

  • Poll every 5–10 seconds while queued or in_progress. Never submit another creation request to check progress.
  • A timeout or network error does not prove creation failed. Do not automatically repeat a potentially paid POST when its outcome is unknown.
  • Check error even when status=completed. moderation_blocked can mean that no playable video is available.
StatusAction
queuedTask queued; continue polling
in_progressTask running; continue polling
completedStop polling; inspect error before downloading
failedStop polling; inspect error.code and error.message

Download the result

The query response does not guarantee an upstream video URL. Download /v1/videos/{task_id}/content with the exact public task id returned by creation. Use your UnifyLLM API key for creation, queries and downloads; no supplier key is required.

Path Parameters

task_id:requiredstring

Exact public id returned by creation, including its task_ prefix. Never substitute a provider-internal ID.

Exampletask_example

Response

200

A successful request returns a JSON response. The complete example is shown in the code panel.

Related endpoints