get_output() to inspect the artifact and see which fields the analyzer produced.
start and end, in seconds. Scenes may come from visual cuts or fixed time windows. Some analyzers also include frame-level observations inside a scene; those use a single timestamp.
The contents of data depend on the analyzer. When configuring index fields, paths are relative to data, so use text or frames.detections.label rather than scenes.data.text.
get_output() is for inspecting the artifact. To create an index, pass the analyzer directly so the output does not need to travel through your client:
Common output envelope
All analyzer artifacts follow the same high-level shape:data object is analyzer-specific. The top-level and scene-level metadata objects contain additional analyzer or scene details when available; either object may be empty.
Some fields can vary by model, schema version, or workspace configuration. Built-in analyzers keep stable top-level fields for indexing wherever possible.
Spoken words: spoken_words
Default artifact name: transcript
Each item in
words contains word-level timing and may include confidence and speaker values.
Objects: object_detection
Default artifact name: objects
detections list. Each detection contains a label, confidence score, and bounding-box object. The inner box array contains the coordinates, while unit describes their coordinate system.
Useful indexing fields:
OCR: ocr
Default artifact name: ocr
ocr extracts visible text from frames, such as signs, slides, labels, captions, and UI text.
Brands: brand_detection
Default artifact name: brands
brand_detection extracts logos, brand names, product labels, and sponsorships.
Activity: activity_recognition
Default artifact name: activity
activity_recognition extracts actions and activities.
Location: location_detection
Default artifact name: location
location_detection extracts setting and place context.
Scene: vlm
Default artifact name: scene
Here, scene is the default artifact name for the vlm analyzer. Its output can contain multiple timestamped scene records.
Use vlm when you want general scene descriptions or a custom prompt/schema. Without a custom schema, each scene’s description is returned in data.text:
schema, the fields inside data follow that schema instead. For example:
For object labels, brand names, OCR text, activities, or location signals, use the dedicated analyzers unless your VLM prompt/schema explicitly emits those fields.
How outputs map to indexes
When you index an artifact, choose which fields become retrieval fields. A scene is the retrieval unit. Some artifacts have one scene-level value, such asactivity, location, or OCR text. Others contain repeated values, such as brand_names or frames[].detections[].
When indexing repeated values:
- one scene can emit multiple filter or aggregate signals
- the index may flatten those signals internally, such as one row per brand, object label, or detection
- retrieval still returns the scene with its
scene_id,start, andend
Next steps
Create an Index
Turn artifacts into searchable indexes.
Index Fields
Choose which fields become searchable, filterable, aggregatable, or sortable.
Use VideoDB in your agent
VideoDB lets an AI agent watch, search and clip video.- Claude Add VideoDB from the plugin directory
- ChatGPT Add VideoDB from the plugin directory
-
Claude Code
-
Cursor or any MCP client
Add the remote MCP server and log in once: