Retrieve a video task
get/v1/videos/{task_id}
OpenAI-compatible endpoint that returns detailed status for a video task.
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_KEYParameters
| Field | Type | Required | Description |
|---|---|---|---|
| task_idpath | string | Video task ID |
Responses
200Video task status retrieved
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | — | |
| object | string | — | |
| model | string | — | |
| status | string | — | |
| progress | integer | — | |
| created_at | integer | — | |
| seconds | string | — |
404Task not found
| Field | Type | Required | Description |
|---|---|---|---|
| error | object | — | — |
| message | string | — | Error message |
| type | string | — | Error type |
| param | string | null | — | The parameter involved |
| code | string | null | — | Error code |
Example request
curl -X GET 'https://api.oletoken.ai/v1/videos/{task_id}' \
-H "Authorization: Bearer $OLETOKEN_API_KEY"
