Search Graph
Perform a graph search query.
Request
Graph search query
query
The string to search for (required)
bfs_origin_node_uuids
Nodes that are the origins of the BFS searches
center_node_uuid
Node to rerank around for node distance reranking
graph_id
The graph_id to search in. When searching user graph, please use user_id instead.
limit
The maximum number of facts to retrieve. Defaults to 10. Limited to 50.
max_characters
Maximum total characters across all selected results when scope=auto. Defaults to 2000. Limited to 50000.
mmr_lambda
weighting for maximal marginal relevance
reranker
Defaults to RRF
Allowed values:
return_raw_results
When scope=auto, include the selected raw graph results alongside the materialized context block.
scope
Defaults to Edges.
search_filters
Search filters to apply to the search
user_id
The user_id when searching user graph. If not searching user graph, please use graph_id instead.
Response
Graph search results or auto-context block
context
edges
episodes
nodes
observations
thread_summaries
Errors
400
Bad Request Error
500
Internal Server Error