Skip to content

Query Video Status

Sora video status query API for checking the current status and result information of a specified video task.


Overview

  • Method: GET
  • Path: /v1/videos/{task_id}
  • Content-Type: application/json
  • Category: Video Models (Video) / Sora Video

Authentication

  • Header: Authorization: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
task_idstringYesVideo task ID

Request Example

curl Example

bash
curl -X GET "https://api.gpt.ge/v1/videos/your_task_id" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $YOUR_TOKEN"

JavaScript (fetch) Example

javascript
fetch('https://api.gpt.ge/v1/videos/your_task_id', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_TOKEN'
  }
})
  .then(res => res.json())
  .then(console.log)

Python Example (requests)

python
import requests

resp = requests.get(
    'https://api.gpt.ge/v1/videos/your_task_id',
    headers={
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_TOKEN'
    }
)
print(resp.json())

Response Fields

FieldTypeDescription
idstringVideo task ID
objectstringReturned object type, usually video
created_atintegerCreation timestamp
statusstringTask status
completed_atintegerCompletion timestamp
errornullError information, null on success
expires_atintegerExpiration timestamp
modelstringModel used
progressintegerTask progress
remixed_from_video_idnullRemix source video ID, currently null if unused
secondsstringVideo duration
sizestringVideo size

Success Response Example (200)

json
{
  "id": "video_68f082321ed08193a4eaf01376fa10bc0284bd663de64dc5",
  "object": "video",
  "created_at": 1760592434,
  "status": "completed",
  "completed_at": 1760592506,
  "error": null,
  "expires_at": 1760596106,
  "model": "sora-2",
  "progress": 100,
  "remixed_from_video_id": null,
  "seconds": "4",
  "size": "720x1280"
}