Optional
filterKey-value pairs to filter results based on exact matches or comparison operators.
Supports both exact matches and operator-based comparisons:
// Exact match
filter: { status: "active" }
// With operators
filter: { score: { $gt: 4.99 } }
// Multiple conditions
filter: {
score: { $gte: 3.0 },
color: "red"
}
Optional
limitMaximum number of items to return.
10
Hierarchical path prefix to search within. Only items under this prefix will be searched.
// Search all user documents
namespacePrefix: ["users", "documents"]
// Search everything
namespacePrefix: []
Optional
offsetNumber of items to skip before returning results. Useful for pagination.
0
Optional
queryNatural language search query for semantic search. When provided, results will be ranked by relevance to this query using vector similarity search.
// Find technical documentation about APIs
query: "technical documentation about REST APIs"
// Find recent ML papers
query: "machine learning papers from 2023"
Operation to search for items within a namespace prefix.