---
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

## Changes

- **2026-02-12** `fd78812f318f` — 1 info
  - endpoint added
- **2026-01-23** `7d19a3906d5b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/video-db/apis/videodb-server-api/changes/rtstream/:stream_id/index/scene/post.md)

---

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