---
title: "Create RTStream scene index"
method: POST
path: "/rtstream/{stream_id}/index/scene"
tags: ["RTStream"]
---

# Create RTStream scene index

`POST /rtstream/{stream_id}/index/scene`

## Path parameters

- `stream_id` string, required

## Request body

- object
  - `extraction_type` 'time' | 'transcript'
  - `extraction_config` object
    - `time` integer
    - `frame_count` integer
  - `prompt` string
  - `model_name` string
  - `model_config` object
  - `name` string
  - `ws_connection_id` string

## Response `200`

Scene index created

- object
  - `success` boolean
  - `data` object
    - `rtstream_index_id` string
    - `extraction_type` string
    - `status` string
    - `prompt` string
    - `name` string

---

[API](https://skmtc.net/video-db/apis/videodb-server-api.md) · [All operations](https://skmtc.net/video-db/apis/videodb-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/video-db/videodb-server-api/revisions/21b1d1d3eae8/schema)
