> For the complete documentation index, see [llms.txt](https://docs.canso.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.canso.ai/ai-agents/api-summary/memory-api.md).

# Memory

## Store Memory

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory" method="post" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}

## Retrieve Memory

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory" method="get" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}

## Update Memory

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory" method="patch" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}

## Delete Memory

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory" method="delete" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}

## List Collections

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory/collections" method="get" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}

## Get Collection Info

{% openapi src="/files/6nxtXgCnE8uXqVUIcoEn" path="/memory/collections/{collection\_name}" method="get" expanded="true" %}
[openapi-ai-memory.json](https://4002575704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcE4BqP2R5KBg2It3L34D%2Fuploads%2Fgit-blob-9737fe9d675f1388da3d71f4f1207d75c6307d51%2Fopenapi-ai-memory.json?alt=media)
{% endopenapi %}
