Search Graph

POST

Perform a graph search query

Request

This endpoint expects an object.
querystringRequired

The string to search for (required)

center_node_uuidstringOptional

Node to rerank around for node distance reranking

group_idstringOptional

one of user_id or group_id must be provided

limitintegerOptional

The maximum number of facts to retrieve

min_scoredoubleOptional

minimum similarity score for a result to be returned

mmr_lambdadoubleOptional

weighting for maximal marginal relevance

rerankerenumOptional
Allowed values: rrfmmrnode_distanceepisode_mentionscross_encoder

Defaults to RRF

scope"edges" or "nodes"Optional
Allowed values: edgesnodes

Defaults to Edges. Nodes and Communities will be added in the future.

user_idstringOptional

one of user_id or group_id must be provided

Response

Graph search results

edgeslist of objectsOptional
nodeslist of objectsOptional

Errors