---
title: "Fetch memory"
method: GET
path: "/memory/{memoryId}/fetch"
tags: ["Memory"]
---

# Fetch memory

`GET /memory/{memoryId}/fetch`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/memory/{memoryId}/fetch`
- Auth: HTTP bearer

## Path parameters

- `memoryId` string, required: The ID of the memory to retrieve

## Response `200`

The memory was retrieved successfully

- object: Instance list properties
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `id` string, required: The instance ID
  - `createdAt` number, required: The timestamp (ms) when the instance was created
  - `updatedAt` number, required: The timestamp (ms) when the instance was updated
  - `contactId` string: The contact associated with the memory
  - `botId` string: The bot associated with the memory
  - `text` string: The text of the memory
  - `expiresAt` number, nullable: The timestamp (ms) at which the memory expires and is automatically deleted

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
