Agentset icon

Agentset

Interact with the Agentset API

Actions18

Search → Search

AI-generated

Summary

Send a search query to a specified namespace using either semantic or keyword modes, with optional filters and result customization.

Inputs

  • Namespace ID (required) — The ID of the namespace to search (prefixed with ns_)
  • Query (required) — The query to search for
  • Additional Fields — Optional parameters to refine the search, including filter JSON object, inclusion of metadata and relationships, keyword filters, minimum score threshold (0-1), search mode (semantic or keyword), reranking options, rerank limits and model, tenant ID header, and the number of top results to fetch from the vector store (1-100).

Output shape

a list of search result items as JSON objects

The operation returns an array of objects representing search results from the namespace. Pagination is not explicitly indicated, so all results are returned in a single response limited by Top K and rerankLimit settings. Optional metadata and relationships can be included in results based on input parameters.

Links

Discussion