API v1

Read a video task

GET/v1/video/tasks/{task_id}

Check execution progress, delivery, usage and the billing summary.

View Markdown
  • Put your API key after Authorization: Bearer in the request header.
  • Returns the task status, delivery, usage and settlement summary; keep reading until status is final.
  • After success, download from output.assets[].url; the link is null when expired or unavailable.

Headers

#AuthorizationstringRequired

Bearer, a space and your API key. A missing or invalid key returns 401 authentication_failed.

#X-Request-IDstring

Your own request identifier. An invalid or repeated value is replaced; the value used comes back in the X-Request-ID response header.

Path parameters

#task_idstringRequired

ID of the video task to retrieve

ReturnsHTTP 200

The current task, including delivery, usage and billing information.

Returns The video task object; its fields are described there.

Response headers

#X-Request-IDstringRequired

The identifier of this request: the valid value you sent, or its replacement.

Status codes

Each error.code and what to do about it is on Error codes.

StatusMeaning and error.code
200The current task, including delivery, usage and billing information.
400The submitted request is not valid.
401The API key is missing or invalid.
Response headersWWW-Authenticate
404No task with this ID is visible to your team.
429The request rate limit blocks this read operation.
Response headersRetry-After
500Internal error.
503The service is temporarily unavailable.