DiscordPlatform
  • Getting Started
    • Overview
    • Quick Start
    • Pricing
  • Research
    • Overview
    • Streaming
    • Reasoning Steps
    • Web Search
    • Structured Output
    • Parallel Thinking
    • Best Practices
    • Errors
    • Examples
  • Chat
    • Overview
    • Chat with Image, Video, and Audio
    • Function Calling
    • Models
    • API Versioning
    • Python SDK
  • Vision
    • Overview
    • Pricing
    • Video Management
    • Video Search
    • Video QA
    • Highlight Reel Generation
    • Metadata Tagging
    • Image Management
    • Image Search
  • Speech
    • Overview
    • Audio Transcription
    • Speech Translation
    • Speech-to-Speech Translation
  • Resources
    • FAQs
    • Changelog
    • System Status
LogoLogo
DiscordPlatform
VisionAPI ReferenceVideo Search

Search Videos

POST
https://vision-agent.api.reka.ai/search
POST
/search
1curl -X POST https://vision-agent.api.reka.ai/search \
2 -H "X-Api-Key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "query": "person walking on beach"
6}'
Try it
200Successful
1{
2 "results": [
3 {
4 "video_chunk_id": "123e4567-e89b-12d3-a456-426614174000",
5 "video_id": "550e8400-e29b-41d4-a716-446655440000",
6 "score": 0.95,
7 "start_timestamp": 10.5,
8 "end_timestamp": 25.3,
9 "s3_presigned_url": "https://s3.amazonaws.com/bucket/video.mp4?presigned=..."
10 }
11 ],
12 "total_results": 1
13}
Search through uploaded videos using natural language queries
Was this page helpful?
Previous

Stream Video QA

Next
Built with
Stream Video QA
Search through uploaded videos using natural language queries

Authentication

X-Api-Keystring
API Key authentication via header

Request

This endpoint expects an object.
querystringRequired
Natural language search query
max_resultsintegerOptional
Maximum number of results to return
thresholddoubleOptional

Confidence threshold level from 0 (lowest) to 1 (highest)

Response

OK
resultslist of objects
Array of search results
total_resultsinteger
Total number of results

Errors

API Key authentication via header
OK