---
title: "Search memory"
method: GET
path: "/memory/search"
tags: ["memory"]
---

# Search memory

`GET /memory/search`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/memory/search`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Search durable workspace memory.

## Query parameters

- `query` string, required: Full-text query.
- `limit` integer

## Response `200`

Successful response

- object[]
  - `_id` string, required
  - `_creationTime` number, required
  - `key` string, required
  - `kind` 'fact' | 'decision' | 'preference' | 'goal' | 'tool_note' | 'other' | 'convention' | 'project_context' | 'agent_lesson' | 'docs_knowledge' | 'open_goal', required: Memory classification.
  - `text` string, required
  - `tags` string[], required
  - `status` 'active' | 'needs_review' | 'archived', required
  - `source` string, required
  - `visibility` 'user' | 'org': Who can see the memory. Defaults to `user`.
  - `confidence` number
  - `importance` number
  - `createdAt` number, required
  - `updatedAt` number, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
