---
title: "Add Memory"
method: POST
path: "/v1/memories"
tags: ["agent-protocol"]
---

# Add Memory

`POST /v1/memories`

## Request

- Base URL: `https://api.app.membase.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.membase.ai/v1/memories`
- Auth: none declared

Save one fact. Static facts go to the user's profile; the rest to a container.

## Request body

- AddMemoryRequest
  - `content` string, required: The fact, as the user said it.
  - `container` string, nullable: Which container keeps it; required when more than one.
  - `static` boolean: A standing fact about the user themselves.
  - `title` string

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error
- `default`: Error envelope (ADR 0027)

---

[API](https://skmtc.dev/membase/apis/membase-hosted-api.md) · [All operations](https://skmtc.dev/membase/apis/membase-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/membase/apis/membase-hosted-api/revisions/e0ac58cdb320?raw)
