Skip to content
View as Markdown

Semantic search over a scoped memory collection.

POST/v1/abilities/memory.search

Semantic search over a scoped memory collection. Sends TEXT; the substrate embeds server-side (gemini-embedding-001@768), cosine-ranks, applies recency decay, returns top matches. Auth-required; the collection must be in the caller key’s scope.

Required
Yes
Content type
  • application/json
  • inputMemorySearchInputrequired
    Show 4 properties
    • querystringrequired

      Natural-language query

    • collectionstringoptional

      Qdrant collection (must be in the key’s scope; defaults to the key’s first scoped collection)

    • limitnumberoptional

      Max hits (default 5)

    • filterobjectoptional

      Optional Qdrant payload filter

  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.