/vector_stores/{vector_store_id}/searchSearch a vector store
Searches a vector store for relevant file chunks using one or more queries and optional file-attribute filters. Set max_num_results to control the result count and ranking_options to configure ranking; use next_page to continue when more results are available.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Search query and optional controls for filtering, result count, and ranking.
A 400 is returned when the search input or filters are invalid, or the vector store has expired; a 404 is returned when the vector store does not exist; and a 429 indicates a rate limit. The vector_store_id path parameter must identify the store, and query is required; if query is an array, it must contain at least one string. max_num_results must be from 1 to 50, ranker must be none, auto, or default-2024-11-15, and score_threshold must be from 0 to 1.