garden.engram.searchMemories
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Vector search over a space's memories. The caller embeds its query with the space's model and query prefix. Requires a space credential for the space, presented with an HTTP message signature whose audience is this service's DID.",
"errors": [
{
"description": "This service does not index the space.",
"name": "UnknownSpace"
},
{
"description": "The space's authority hasn't declared an embedding model.",
"name": "NoModel"
},
{
"description": "The query's model isn't the space's model. Re-read the space's config.",
"name": "ModelMismatch"
},
{
"description": "The space's index is loading. Retry shortly.",
"name": "IndexLoading"
},
{
"description": "Too many searches for this space.",
"name": "RateLimitExceeded"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"approximate": {
"description": "Set when the index couldn't re-rank in time, so results are ranked by a coarser comparison and may be less precise.",
"type": "boolean"
},
"memories": {
"items": {
"ref": "garden.engram.defs#memoryView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"memories"
],
"type": "object"
}
},
"parameters": {
"properties": {
"author": {
"description": "Only memories written by this DID.",
"format": "did",
"type": "string"
},
"limit": {
"default": 10,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"model": {
"description": "Must match the space's model.",
"type": "string"
},
"modelDigest": {
"description": "Must match the space's model digest.",
"type": "string"
},
"q": {
"description": "The query's text. Optional and not used for ranking yet; kept for keyword search later.",
"maxLength": 4000,
"type": "string"
},
"since": {
"description": "Only memories created at or after this time.",
"format": "datetime",
"type": "string"
},
"space": {
"description": "The space URI.",
"type": "string"
},
"tags": {
"description": "Only memories carrying every one of these tags.",
"items": {
"type": "string"
},
"maxLength": 16,
"type": "array"
},
"vector": {
"description": "The query's vector: little-endian IEEE half precision, base64url-encoded without padding.",
"maxLength": 43000,
"type": "string"
}
},
"required": [
"space",
"vector",
"model",
"modelDigest"
],
"type": "params"
},
"type": "query"
}
},
"id": "garden.engram.searchMemories",
"lexicon": 1
}
Metadata
- DID
-
did:plc:oisofpd7lj26yvgiivf3lxsi - CID
-
bafyreiedcrdt7ufr3tlxil3xhulx45vjaj2ncmraqi3t5zqw3bbvwafaja - Indexed At
- 2026-10-09 03:42 UTC
- AT-URI
-
at://did:plc:oisofpd7lj26yvgiivf3lxsi/com.atproto.lexicon.schema/garden.engram.searchMemories
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
List a space's memories, newest first. Same authentication as garden.engram.searchMemories.
-
garden.engram.getMemory query
Fetch one indexed memory by URI. Same authentication as garden.engram.searchMemories.
-
A space's newest memories and links between the ones that mean similar things, for drawing the space as a graph. Only memories indexed with the space's model are included. Each memory links to its nearest neighbors amon…
-
A vector for a memory, computed by its author from the memory's text and tags (with the space's document prefix).