---
title: "List AI memory entries"
method: GET
path: "/v1/ai/memory"
tags: ["AI Memory"]
---

# List AI memory entries

`GET /v1/ai/memory`

Retrieve AI memory entries readable by the caller: all environment entries, the caller's own user entries, and entries of objects the caller can read. Users with the "manage AI memory" system access right see all entries of all users and objects.

## Query parameters

- `scope` 'environment' | 'user' | 'object'
- `scopeId` integer

## Response `200`

List of memory entries

- AiMemoryEntry[]
  - `id` integer — Unique entry identifier
  - `scope` 'environment' | 'user' | 'object' — Entry scope
  - `scopeId` integer — User ID for user scope, object ID for object scope, 0 for environment scope
  - `title` string — Entry title (unique within scope)
  - `content` string — Entry content
  - `createdBy` 'model' | 'human' — Who created the entry
  - `sourceUserId` integer — ID of the user on whose behalf the entry was created
  - `sourceType` 'chat' | 'task' | 'operator' | 'human' — Execution context that created the entry
  - `sourceId` integer — Chat ID, AI task ID, or AI operator instance ID depending on source type (0 for human)
  - `createdAt` integer — Creation time (UNIX timestamp)
  - `updatedAt` integer — Last modification time (UNIX timestamp)
  - `locked` boolean — True if the entry cannot be changed or deleted by the model

## Other responses

- `400` — Invalid scope

## Changes

- **2026-10-01** `b4fc7bfd5bd3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/ai/memory/get.md)

---

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