---
title: "Search Memories Vector"
method: GET
path: "/v1/dev/user/memories/vector/search"
tags: ["developer"]
---

# Search Memories Vector

`GET /v1/dev/user/memories/vector/search`

Search developer-readable default memory memory through hydrated vector candidates.

This narrow developer API vector endpoint fails closed unless the authenticated
Developer API app/key has a verified memories.read scope and a persisted app/key
default-read grant. Vector hits are hydrated through the universal repository
against authoritative
`users/{uid}/memory_items` before returning results, so stale Short-term and
Archive remain unavailable by default.

## Query parameters

- `query` string, required
- `limit` integer

## Response `200`

Successful Response

- DeveloperMemoryVectorSearchResponse
  - `archive_default_visible` boolean, required
  - `items` DeveloperMemoryVectorItem[]
    - `category` string, nullable
    - `content` string
    - `id` string, required
    - `relevance_score` number, nullable
  - `policy` DeveloperMemoryVectorPolicy, required
    - `app_has_default_memory_grant` boolean, required
    - `archive_capability` boolean, required
    - `consumer` string, required
    - `raw_provenance_capability` boolean, required
  - `returned_count` integer, required

## Other responses

- `401` — Missing or invalid authentication credentials.
- `403` — Authenticated, but the token does not grant the required scope.
- `422` — Validation Error

## Changes

> 28 revisions in range; 5 could not be searched.

- **2026-07-03** `35ce57d46795` — 1 breaking, 4 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `items` to the response with the `200` status
  - added the required property `archive_default_visible` to the response with the `200` status
  - added the required property `policy` to the response with the `200` status
  - …1 more
- **2026-06-30** `fbfe4956e141` — 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
- **2026-06-30** `c2ab717efdbc` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-06-30** `fbfe4956e141` — 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
- **2026-06-30** `c2ab717efdbc` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Full history](https://skmtc.dev/basedhardware/apis/omi-developer-api/changes/v1/dev/user/memories/vector/search/get.md)

---

[API](https://skmtc.dev/basedhardware/apis/omi-developer-api.md) · [All operations](https://skmtc.dev/basedhardware/apis/omi-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/basedhardware/omi-developer-api/revisions/3add0ce9bc4f/schema)
