Skip to main content
POST
/
search
{
  "search_param": "sunset on the beach",
  "unique_id": "550e8400-e29b-41d4-a716-446655440000",
  "search_type": "BY_VIDEO",
  "top_k": 5,
  "filtering_level": "high",
  "video_nos": []
}
{
  "results": [
    {
      "video_id": "vid_123",
      "relevance_score": 0.95,
      "timestamp": "00:02:30",
      "snippet": "Beautiful sunset scene at the beach"
    }
  ]
}

Request Body

search_param
string
required
Natural language search query
unique_id
string
required
Memory bucket ID to search within
search_type
string
default:"BY_VIDEO"
Type of search: “BY_VIDEO” or other supported types
top_k
integer
default:"3"
Number of top results to return
filtering_level
string
default:"high"
Filtering level: “high”, “medium”, or “low”
video_nos
array
Optional array of specific video IDs to search within

Response

Returns search results containing matched videos/content with relevance scores and timestamps.
{
  "search_param": "sunset on the beach",
  "unique_id": "550e8400-e29b-41d4-a716-446655440000",
  "search_type": "BY_VIDEO",
  "top_k": 5,
  "filtering_level": "high",
  "video_nos": []
}
{
  "results": [
    {
      "video_id": "vid_123",
      "relevance_score": 0.95,
      "timestamp": "00:02:30",
      "snippet": "Beautiful sunset scene at the beach"
    }
  ]
}