Skip to main content
GET
List or search an agent's memories
Returns an index of the agent’s memories. Add a search query to get ranked matches instead. Use it to find what an agent knows before you edit it. Related guide: How it works: the gateway injects credentials. Without q, the index of every memory (no content). With q, ranked full-text hits with a snippet each.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required

Query Parameters

q
string
Maximum string length: 500

Response

The index, or search hits

memories
object[]
required