---
title: "Store a memory entry with poison detection and dedup"
method: POST
path: "/projects/{id}/memory"
---

# Store a memory entry with poison detection and dedup

`POST /projects/{id}/memory`

## Request

- Base URL: `https://stremai.com/api/v1`
- URL: `https://stremai.com/api/v1/projects/{id}/memory`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `title` string, required
  - `content` string, required
  - `type` 'PATTERN' | 'PITFALL' | 'ARCHITECTURE' | 'DEPENDENCY' | 'TEST_INSIGHT' | 'PERFORMANCE' | 'DECISION' | 'CONTEXT', required
  - `tags` string[]
  - `tier` 'working' | 'episodic' | 'semantic' | 'procedural'

## Response `200`

Stored entry ID, dedup status, poison check result

---

[API](https://skmtc.dev/aiagentsbay/apis/stremai-api.md) · [All operations](https://skmtc.dev/aiagentsbay/apis/stremai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiagentsbay/apis/stremai-api/revisions/8b60381f8354?raw)
