---
title: "List Memories"
method: GET
path: "/api/agents/{agent_id}/memories"
tags: ["agent-memories"]
---

# List Memories

`GET /api/agents/{agent_id}/memories`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/agents/{agent_id}/memories`
- Auth: HTTP bearer

List memories for an agent, scoped to what the caller can see.

Visibility rule: caller sees memories where (user_id IS NULL) OR
(user_id == self). Other users' user-scoped memories are not visible
even when they share the same agent.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `kind` string, nullable
- `user_scope` string, nullable: 'me' = current user only, 'agent' = agent-scoped only, 'all' = both (default)
- `pinned` boolean, nullable
- `include_expired` boolean
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- MemoryList
  - `items` MemoryItem[], required
    - `id` string, uuid, required
    - `agent_id` string, uuid, required
    - `user_id` string, uuid, nullable, required
    - `text` string, required
    - `kind` 'preference' | 'fact' | 'instruction' | 'observation' | 'skill_outcome', required
    - `source` 'chat_user_explicit' | 'chat_inferred' | 'heartbeat' | 'admin' | 'skill' | 'memory_md' | 'memory_dir', required
    - `source_message_id` string, uuid, nullable, required
    - `confidence` number, required
    - `pinned` boolean, required
    - `hit_count` integer, required
    - `last_recalled_at` string, date-time, nullable, required
    - `expires_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
