Skip to main content
POST
Create a memory

Path Parameters

memory_store_id
string
required

Memory store ID

Required string length: 1 - 256

Body

application/json
path
string
required

Path inside the store, such as /notes/todo.md

Maximum string length: 256
Pattern: ^(?:\/(?:[^/\\.\u0000-\u001f\u007f-\u009f][^/\\\u0000-\u001f\u007f-\u009f]*|\.[^/\\.\u0000-\u001f\u007f-\u009f][^/\\\u0000-\u001f\u007f-\u009f]*|\.\.[^/\\\u0000-\u001f\u007f-\u009f]+))+$
content
string
required
Maximum string length: 100000

Response

Success

id
string
required
Required string length: 1 - 256
type
enum<string>
required
Available options:
memory
memory_store_id
string
required
Required string length: 1 - 256
path
string
required
Required string length: 1 - 256
content
string
required
Maximum string length: 100000
content_sha256
string
required
Required string length: 32 - 64
content_size_bytes
integer
required
Required range: 0 <= x <= 100000
version
integer
required
Required range: 1 <= x <= 9007199254740991
created_at
string
required
updated_at
string
required