v4

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

Add memory

Create a new memory in the graph using raw text.

post/graph/{graph_name}/insert

Path parameters

graph_namestring required

Request body

memorystring required

Raw text to be inserted into the graph

metadatastring nullable

Stringified JSON dictionary containing any metadata to link to the given memory.

(i.e., '{"id": "asdash-234fdsc-erwer-wqes2", "url": "https://example.com"}')

memoryIdstring nullable

Reserved

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

memoryIdstring required

Reserved