Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Get a single memory

GET/api/v2/memory/{memoryId}
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Path parameters
memoryIdstringrequired
Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Public memory resource returned with collection and document provenance.

successbooleanrequired
Allowed:true
dataMemoryResourcerequired
Show properties
idstringrequired
matches ^mem_
contentstringrequired
metadataobjectrequired
collectionIdstringrequired
matches ^col_
documentIdstring | nullrequired
matches ^doc_
chunkIndexinteger | nullrequired
min 0
sourcestringrequired
Allowed:apiingestsummary
expiresAtstring<date-time> | nullrequired
createdAtstring<date-time>required
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
503

A required provider or platform dependency is not configured or available.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/memory/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "id": "mem_01JABC",
    "content": "Alice prefers concise answers.",
    "metadata": {
      "subject": "Alice"
    },
    "collectionId": "col_01JABC",
    "documentId": null,
    "chunkIndex": null,
    "source": "api",
    "expiresAt": null,
    "createdAt": "2026-07-13T12:00:00Z"
  }
}