Skip to main content
POST
Create RTStream scene index

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

stream_id
string
required
Example:

"rts-12345"

Body

application/json
extraction_type
enum<string>
default:time
Available options:
time,
transcript
Example:

"time"

extraction_config
object
prompt
string
Example:

"Describe the scene"

model_name
string
Example:

"GPT4o"

model_config
object
name
string
Example:

"My Scene Index"

ws_connection_id
string
Example:

"conn-123"

Response

200 - application/json

Scene index created

success
boolean
Example:

true

data
object