---
title: "Create memory store"
method: POST
path: "/orgs/{orgID}/projects/{projectID}/memory-stores"
tags: ["Memory Stores"]
---

# Create memory store

`POST /orgs/{orgID}/projects/{projectID}/memory-stores`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/memory-stores`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session` and API key in header `X-Omnara-Csrf`

## Path parameters

- `orgID` string, required
- `projectID` string, required: Project ID (proj_...).

## Request body

- CreateMemoryStore
  - `name` string, required: Machine-readable memory store identifier consisting of lowercase ASCII segments separated by single hyphens.
  - `description` string
  - `agent_access` 'read' | 'read_write'

## Response `201`

Success.

- MemoryStore
  - `id` string, required
  - `project_id` string, required: Project ID (proj_...).
  - `name` string, required: Machine-readable memory store identifier consisting of lowercase ASCII segments separated by single hyphens.
  - `description` string, required
  - `agent_access` 'read' | 'read_write', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `500`: An unexpected internal server error occurred.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-09** `ca3154961cfa`: 1 info
  - added the required property `project_id` to the response with the `201` status
- **2026-10-05** `3d9e2cf46e07`: 1 info
  - endpoint added
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/memory-stores/post.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
