---
title: "Get room memories"
method: GET
path: "/api/agents/{agentId}/rooms/{roomId}/memories"
tags: ["memory", "rooms", "agents"]
---

# Get room memories

`GET /api/agents/{agentId}/rooms/{roomId}/memories`

Retrieves memories for a specific room

## Path parameters

- `agentId` string, uuid, required
- `roomId` string, uuid, required

## Query parameters

- `count` integer
- `unique` boolean
- `start` integer
- `end` integer

## Response `200`

Room memories retrieved successfully

- object
  - `success` boolean
  - `data` Memory[]
    - `id` string, uuid — Unique identifier for the memory
    - `entityId` string, uuid — ID of the entity associated with this memory
    - `agentId` string, uuid — ID of the agent associated with this memory
    - `roomId` string, uuid — ID of the room this memory belongs to
    - `createdAt` integer — Unix timestamp when the memory was created
    - `content` Content
      - `text` string — Text content of the message
      - `thought` string — Agent's internal thought process
      - `plan` string — Agent's plan or reasoning
      - `actions` string[] — Actions the agent wants to take
      - `source` string — Source of the message
      - `inReplyTo` string, uuid — ID of the message this is in reply to

## Other responses

- `400` — Invalid agent ID or room ID
- `404` — Agent or room not found
- `500` — Error retrieving memories

---

[API](https://skmtc.net/elizaos/apis/eliza-os-api.md) · [All operations](https://skmtc.net/elizaos/apis/eliza-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elizaos/eliza-os-api/revisions/f43280bfdb0c/schema)
