---
title: "Search memories for a specific bot"
method: POST
path: "/bot/{botId}/memory/search"
tags: ["Bot Memory"]
---

# Search memories for a specific bot

`POST /bot/{botId}/memory/search`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/bot/{botId}/memory/search`
- Auth: HTTP bearer

## Path parameters

- `botId` string, required: The ID of the bot to search memories for

## Request body

- object
  - `search` string, required: The keyword/phrase to search for

## Response `200`

The search was successful

- object
  - `items` object[], required: An array of memories matching the search query
    - `id` string, required
    - `text` string, required
    - `meta` object

## 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)
