Retrieve video content

get/v1/videos/{task_id}/content

Retrieve the video file of a completed task.

This endpoint proxies the video file stream.

Authentication

Send your OLETOKEN API key as a Bearer token. Keys are created on the API Keys page of the console.

Authorization: Bearer $OLETOKEN_API_KEY

Parameters

FieldTypeRequiredDescription
task_idpathstringVideo task ID

Responses

200Video content retrieved

This response has no JSON body.

404Video not found or not ready

FieldTypeRequiredDescription
errorobject
messagestringError message
typestringError type
paramstring | nullThe parameter involved
codestring | nullError code

Example request

curl -X GET 'https://api.oletoken.ai/v1/videos/{task_id}/content' \
  -H "Authorization: Bearer $OLETOKEN_API_KEY"