Skip to main content

Endpoints

These endpoints are the older search surface for spoken-word and legacy scene indexes. In the Python SDK, prefer legacy_search() when using legacy parameters:
Legacy-shaped parameters include:
  • search_type
  • index_type
  • result_threshold
  • dynamic_score_percentage
  • scene_index_id
  • algorithm
  • sort_docs_on
  • namespace
Do not mix legacy parameters with Search V2 parameters. Use search() for new high-level Search V2, and legacy_search() for legacy spoken-word / scene-index behavior.
For new retrieval flows, use Search V2:
  • search() / DeepSearch for high-level natural-language retrieval
  • semantic_search() for direct semantic index search
  • query() for structured filtering
  • aggregate() for counts/facets
  • ask() for generated answers