Search a vector store
Performs semantic search within a vector store to find the most relevant document chunks for a query.
Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
The ID of the vector store to search.
Body
Request body for searching a vector store.
A query string for a search, or an array of query strings.
A filter to apply based on file attributes.
- Option 1
- Option 2
The maximum number of results to return. This number should be between 1 and 50 inclusive.
1 <= x <= 50Ranking options for search.
Whether to rewrite the natural language query for vector search.
Response
OK
A page of search results from the vector store.
The object type, which is always 'vector_store.search_results.page'.
The query that was used for the search.
Array of search results.
Whether there are more results available.
Cursor for the next page of results, or null if no more results.