Skip to main content
GET
/
video
/
{video_id}
/
index
/
scene
Get video scene index status
curl --request GET \
  --url https://api.videodb.io/video/{video_id}/index/scene/ \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "status": "done",
  "data": {
    "scene_count": 25,
    "total_duration": 120.5,
    "last_updated": "2023-11-07T05:31:56Z"
  }
}
Retrieve all scene indexes created for a video.
import videodb

conn = videodb.connect(api_key="your_api_key")
coll = conn.get_collection()
video = coll.get_videos()[0]

# List all scene indexes
indexes = video.list_scene_index()

for index in indexes:
    print(f"Index ID: {index['scene_index_id']}")
    print(f"Name: {index.get('name', 'Unnamed')}")
    print(f"Status: {index.get('status')}")
  • Returns all scene indexes associated with a video
  • Each index contains metadata including ID, name, and creation status
  • Scene indexes allow different indexing strategies for the same video
  • Use returned IDs to retrieve specific index details or delete indexes

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Example:

"m-12345"

Response

200 - application/json

Scene index status

success
boolean
Example:

true

status
enum<string>
Available options:
done,
processing,
failed
Example:

"done"

data
object