Skip to main content
GET
/
rtstream
/
{stream_id}
/
index
/
scene
/
{scene_index_id}
Get RTStream scene records
curl --request GET \
  --url https://api.videodb.io/rtstream/{stream_id}/index/scene/{scene_index_id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "data": {
    "scene_index_records": [
      {
        "start": 1700000000,
        "end": 1700000010,
        "description": "Scene description"
      }
    ],
    "next_page": false
  }
}
Retrieve the scene records (descriptions and timestamps) generated by a scene index on a real-time stream.
  • Use start and end (Unix timestamps) to filter by time range
  • Paginated with page and page_size (default: 100)
  • Each record includes timestamps and the AI-generated scene description

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

stream_id
string
required
Example:

"rts-12345"

scene_index_id
string
required
Example:

"scene-idx-12345"

Query Parameters

page
integer
default:1
Example:

1

page_size
integer
default:100
Example:

100

start
number

Filter by start timestamp

Example:

1700000000

end
number

Filter by end timestamp

Example:

1700003600

Response

200 - application/json

Scene records

success
boolean
Example:

true

data
object