---
title: "List memory rules"
method: GET
path: "/v1/projects/{project_id}/memory-rules"
tags: ["Memory Rules"]
---

# List memory rules

`GET /v1/projects/{project_id}/memory-rules`

## Request

- Base URL: `https://api.naturali.ai`
- URL: `https://api.naturali.ai/v1/projects/{project_id}/memory-rules`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.naturali.ai/authorize`, token URL `https://api.naturali.ai/token`, scopes: `mcp:access`)

Returns memory rules, newest first. Narrow to one store with `memory_store_id` — that form is authorized against the store itself, so it answers "what feeds this store?" in one call.

## Query parameters

- `memory_store_id` string
- `limit` integer
- `offset` integer

## Response `200`

List of memory rules

- object
  - `data` MemoryRule[], required
    - `id` string
    - `memory_store_id` string
    - `project_id` string
    - `on` 'generations.completed' | 'conversation_messages.generated': The event a firing reads. `generations.completed` fires once per completed turn whatever the transport, and is the only event the built-in extractor may bind to. `conversation_messages.generated` fires per persisted assistant reply and is conversation-backed, so it is for custom handlers.
    - `source_agent_ids` string[], nullable
    - `agent_id` string, nullable
    - `tool_id` string, nullable
    - `action` string, nullable
    - `preset_parameters` object, nullable
    - `prompt` string, nullable
    - `ai_provider_id` string, nullable
    - `model` string, nullable
    - `enabled` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal server error

---

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