Read the knowledge graph, or add a relation
POST/v1/memory/graph
Without from, predicate and to, returns the live facts of the knowledge graph of the project; the body is then optional. With them, writes a relation, as the person route does, and answers it with 201.
Request
Responses
- 200
- 201
- 400
- 401
- 413
- 415
- 422
- 500
- 503
The facts.
The relation is stored: the memory, its triple and the conversation it came from.
The body is not valid JSON (plain text).
The bearer virtual key is missing (missing_key), or it is not valid or it is revoked (invalid_key).
The body is larger than the request body limit. The body of this answer is plain text.
The content-type is not application/json. The body of this answer is plain text.
The JSON does not match the body schema. The body of this answer is plain text.
A database query failed (query_failed).
The key store or the limits store is not available (keystore_unavailable, limits_unavailable), or the gateway has no database (no_db).