v5

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-0112516159.5 KB
RTStream

Create RTStream scene index

post/rtstream/{stream_id}/index/scene

Path parameters

stream_idstring required
Example:rts-12345

Request body

extraction_type'time' | 'transcript'
promptstring
model_namestring
model_configobject
namestring
ws_connection_idstring

Example request

{
  "extraction_type": "time",
  "extraction_config": {
    "time": 10,
    "frame_count": 5
  },
  "prompt": "Describe the scene",
  "model_name": "GPT4o",
  "name": "My Scene Index",
  "ws_connection_id": "conn-123"
}

Response

Scene index created

successboolean

Example response

{
  "success": true,
  "data": {
    "rtstream_index_id": "scene-idx-12345",
    "extraction_type": "time",
    "status": "running",
    "prompt": "Describe the scene",
    "name": "My Scene Index"
  }
}