---
title: "Add Memory"
method: POST
path: "/datamates/memory/"
tags: ["MEMORY"]
---

# Add Memory

`POST /datamates/memory/`

Add a new memory to the system.

## Request body

- AddMemoryRequest
  - `messages` Message[], required
    - `content` string, required
    - `role` 'user' | 'assistant', required
  - `memory_options` MemoryOptions
    - `metadata` object, nullable
    - `org_name` string, nullable
    - `org_id` string, nullable
    - `project_id` string, nullable

## Response `200`

Successful Response

- MemoryResponse
  - `message` string, required

## Other responses

- `400` — Invalid request
- `403` — Forbidden
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
