---
title: "Memory API"
description: "A map of the Achiral Memory API: the token scope the main /v1/memory routes need for retrieval, writes, event ingestion, provenance, reinforcement and deletion."
date: "2026-12-04"
modified: "2026-12-04"
reviewed: "2026-12-04"
---

# Memory API

> A map of the Achiral Memory API: the token scope the main /v1/memory routes need for retrieval, writes, event ingestion, provenance, reinforcement and deletion.

Published on: 2026-12-04

Last updated on: 2026-12-04

The [Memory API](https://achiral.ai/memory-api) exposes developer-facing retrieval, encoding, event ingestion, control, provenance, and tombstone primitives under `/v1/memory`. App-specific workspace and admin surfaces remain under `/api`.

Use this section as the practical map for authentication, SDK setup, memory-augmented inference, signed-in workspace memory views, candidate review, knowledge memory, reflection, preference calibration, and habit controls.

## Authentication

| Surface                                                                                | Auth                                      | Scope                                                  |
| -------------------------------------------------------------------------------------- | ----------------------------------------- | ------------------------------------------------------ |
| `/v1/*` inference gateway                                                              | Bearer MCP access token such as `acm_...` | Token must include `inference:chat`                    |
| `/v1/memory/retrieve`                                                                  | Bearer MCP access token such as `acm_...` | Token must include `memory:read`                       |
| `/v1/memory` and `/v1/memory/events`                                                   | Bearer MCP access token such as `acm_...` | Token must include `memory:write`                      |
| `/v1/memory/:id/reinforce`, `/v1/memory/:id/suppress`, and `/v1/memory/:id/provenance` | Bearer MCP access token such as `acm_...` | Token must include `memory:control`                    |
| `DELETE /v1/memory/:id`                                                                | Bearer MCP access token such as `acm_...` | Token must include `memory:delete`                     |
| `/api/user/memory/*`                                                                   | Signed-in workspace session               | Current user in the current organization               |
| `/api/assistants/:id/memory/*`                                                         | Signed-in workspace session               | Assistant access and memory permissions                |
| `/api/organizations/:id/memory`                                                        | Signed-in workspace session               | Any active member; each scope checks the caller's role |
| Other `/api/organizations/:id/memory/*` routes                                         | Signed-in workspace session               | Organization owner or admin                            |
| `/api/memory/*`                                                                        | Signed-in workspace session               | Memory permissions required by route                   |

## API surfaces

- [Developer Memory API](/docs/memory/api/developer-memory-api): public `/v1/memory` retrieve, encode, event-ingestion, control, provenance, and tombstone endpoints.
- [SDK](/docs/memory/api/sdk): install and use `@achiral/chiro` from Node, Next.js, Express, Workers, and Vercel AI SDK projects.
- [Event ingestion](/docs/memory/api/event-ingestion): send deployments, incidents, CI runs, PRs, support tickets, and preference events into Chiro memory.
- [Inference gateway](/docs/memory/api/inference-gateway): OpenAI-compatible `/v1` chat completions for memory-augmented inference.
- [User memory](/docs/memory/api/user-memory): signed-in account memory summary and personal memory candidate review.
- [Assistant memory](/docs/memory/api/assistant-memory): assistant memory summary and assistant-scoped candidate review.
- [Organization memory](/docs/memory/api/organization-memory): scoped memory summaries for every member, member counts, the ledger, and organization candidate review.
- [Core memory candidates](/docs/memory/api/core-memory-candidates): approve or reject flashbulb candidates before they become durable core memory.
- [Knowledge memory](/docs/memory/api/knowledge-memory): create, search, update, and tombstone organization knowledge records.
- [Reflection loop](/docs/memory/api/reflection-loop): configure, inspect, and run reflection over memory.
- [Preference calibration](/docs/memory/api/preference-calibration): feedback and calibration routes for learned preferences.
- [Habit memory API](/docs/memory/api/habit-memory-api): personal controls for Chiro's habit behavior.

## Continue from here

- [API reference](/docs/reference/api-reference) for shared API conventions, base URLs, streaming, and errors.
- [ACT-R memory](/docs/memory) for the product model behind activation, retrieval, decay, and consolidation.
