v4

latestOpenAPI 3.1.0raw.githubusercontent.com2024-12-16121334.6 KB

Query memory

Send a query request to the graph.

post/graph/{graph_name}/query

Path parameters

graph_namestring required

Request body

querystring required
parametersstring nullable

Optional stringified JSON parameters:

  • only_context (bool = false): return only the context of the query instead of processing it via an LLM;
  • with_references (bool = false): include references in the response.

(i.e., '{"only_context": true}')

Response

Successful Response

requestIdstring required

Unique request ID to be used to track the request status

requestTimeinteger required

Further value to provide to track the request status