Skip to content

Get a Video Generation Task ​

Query a video task accessible to the authenticated caller.

Endpoint Overview ​

GET/hyperone/xapi/api/v3/contents/generations/tasks/{taskId}⚡ Model API Key
SpecificationDetails
ProtocolHTTPS (recommended) / HTTP
AuthenticationAGIOne Model API Key (Authorization: Bearer <KEY>)
Polling PolicyPoll with backoff (e.g. 3–5 seconds) while status is queued or running until succeeded or failed

Request parameters ​

Headers ​

HeaderRequiredDescription
AuthorizationYesBearer <AGIONE_MODEL_API_KEY>
Content-TypeOptional; no request bodyapplication/json
AcceptRecommendedapplication/json
Accept-LanguageNozh-CN / en-US

If the deployment requires a routing header, use the name and value supplied by its administrator. Attribution headers cannot change the caller’s user, tenant or project.

Path parameters ​

ParameterTypeRequiredDescription
taskIdStringYesThe id returned by task creation, inserted into the path.

Response parameters ​

Successful responses retain the video protocol shape rather than the Platform API status/result envelope.

FieldTypeDescription
idStringTask ID.
statusStringqueued, running, succeeded, failed, expired, or another supported upstream terminal state.
content.video_urlStringVideo URL after success; save the result promptly.
error.code / error.messageStringFailure details.
created_at / updated_atIntegerUnix timestamps in seconds when returned upstream.
usageObjectUsage when returned; does not prove successful AGIOne accounting.

Example success shape ​

json
{
  "id": "video-task-example",
  "status": "succeeded",
  "content": {
    "video_url": "https://media.example.com/generated-video.mp4"
  }
}

Usage Notes ​

This endpoint has no request body. See the complete path, path parameters and headers above.

Operational Notice

Replace <AGIONE_HOST> with your instance gateway and <TASK_ID> with your task ID. See Authentication and signing.

Access scope and error handling ​

Use a published AGIOne model identifier and an authorized Model API Key. Model access and quota checks still apply.

Use the exact ID returned by AGIOne task creation, not an ID created separately in the upstream console. A missing task, protocol mismatch or denied owner check can produce a platform task error with HTTP 200. Inspect error and business status as well as HTTP status.

Error handling and troubleshooting

Reference ​

Upstream field reference: Get a video generation task.