Memories

Create a memory

POST /v1/memories
Permission
write:memories
Tokens
API key, CLI user token, Session token

Create a memory at a path. A path that already holds a memory returns 409.

{
"content": str,
"path": str
}

Request

contentstringrequired

The memory's markdown content, at most 100 KiB unless your account has a custom allowance.

pathstringrequired

Where to keep the memory. A memory path is segments of letters, digits, `.`, `_`, and `-` joined by `/`, at most 512 characters, ending in `.md`.

Response

memoryMemoryrequired

The memory.

On this page

No Headings
Schedule a demo
For HumansFor Agents