/
/Samyama Graph Database API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 6d ago
  • postExecute a Cypher query
  • getGet graph schema
  • postImport nodes from CSV
  • postImport nodes from JSON
  • getGet server status
  • getList all tenants
  • postCreate a new tenant
  • getGet a tenant
  • deleteDelete a tenant
  • patchUpdate tenant settings
  • postSample a representative subgraph
  • getList vector indexes
  • postCreate a vector index
  • postk-nearest-neighbour search over a vector index
  • postExport a tenant as a portable .sgsnap snapshot
  • postImport a .sgsnap snapshot into a tenant
  • postDeclare the governed enrichment (GAK) policy
  • postRun governed enrichment over a query's surfaced nodes
  • postPromote quarantined enrichments that clear the trust floor
  • postTranslate a natural-language question into read-only Cypher

k-nearest-neighbour search over a vector index

Supply either query_vector or query_text; supplying text requires an embedding provider to be configured.

post/api/vector-search

Request body

query_textstring
query_vectornumber[]
labelstring
property_keystring
kinteger

Number of neighbours to return.

Response

The nearest neighbours, closest first

object required

Changes