---
title: "Search Resources"
method: POST
path: "/v2/mcp/chatgpt/search"
tags: ["external", "external-v2"]
---

# Search Resources

`POST /v2/mcp/chatgpt/search`

## Request

- Base URL: `https://api.mem.ai`
- URL: `https://api.mem.ai/v2/mcp/chatgpt/search`
- Auth: HTTP bearer

## Request body

- SearchChatGPTRequestSchema
  - `kinds` string[]: Resource kinds to search. Defaults to ['note'].
  - `limit` integer: Maximum number of records to return.
  - `offset` integer: Offset into the result set.
  - `query` string, required: Free-text search string.

## Response `200`

OK

- SearchChatGPTResponseSchema
  - `limit` integer, required
  - `offset` integer, required
  - `results` SearchChatGPTResultSchema[], required
    - `created_at` string, date-time, nullable: Creation timestamp for the resource.
    - `id` string, uuid, required: Primary identifier for the resource.
    - `kind` string, required: Resource kind identifier (e.g. note).
    - `primary_label` string, required: Primary display label.
    - `secondary_label` string, nullable: Supplemental label shown beneath the primary label.
    - `snippet` string, nullable: Preview text snippet matching the query.
    - `updated_at` string, date-time, nullable: Last modification timestamp for the resource.
  - `total` integer, required

## Changes

- **2026-11-03** `503bb357d07c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mem/apis/mem-public-client-api/changes/v2/mcp/chatgpt/search/post.md)

---

[API](https://skmtc.dev/mem/apis/mem-public-client-api.md) - [All operations](https://skmtc.dev/mem/apis/mem-public-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mem/apis/mem-public-client-api/revisions/503bb357d07c?raw)
