Skip to main content
GET
Query Task

Query Task

After a Grok unified video task is submitted, query its progress and results via GET /v1/video/query. The query parameter uses id, whose value is the task ID returned by Create Video.
  • The route entry point is GET /v1/video/query.
  • The task ID is passed via the Query parameter id, and its format is usually grok:....
  • After completion, video_url will include an accessible URL; while processing, it may be null.

Method and Path

Request Example

Response Example

Some channels may also return extended fields such as asset_id, video_file_id, and trace_id; please refer to the actual response.

Authentication

Query Parameters

string
required
Task ID, which is the same as the id returned by the creation API.

Response

string
Task ID.
string
Task status. Common values include processing, completed, failed, and unknown.
string | null
Video result URL. May be null when the task is not yet complete.
integer
The most recent status update time (Unix timestamp).
integer
Task progress percentage, included in some responses.
string
Echo of the submitted prompt.
string
Echo of the video ratio, for example 3:2.
string
Thumbnail URL, may appear after completion.