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

List collections

GET/api/v2/memory/collections
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.

Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Memory collections returned.

successbooleanrequired
Allowed:true
dataMemoryCollectionResource[]required
Show properties
Array of MemoryCollectionResource
idstringrequired
matches ^col_
namestringrequired
descriptionstring | nullrequired
embeddingModelstringrequired
embeddingDimensionsintegerrequired
min 1
memoryCountintegerrequired
min 0
metadataobjectrequired
statusstringrequired
Allowed:activereadonlymigrating
defaultTtlSecondsinteger | nullrequired
min 1 · max 31536000
createdAtstring<date-time>required
updatedAtstring<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
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/collections' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "id": "col_01JABC",
      "name": "default",
      "description": "General agent memory",
      "embeddingModel": "text-embedding-3-small",
      "embeddingDimensions": 1536,
      "memoryCount": 42,
      "metadata": {},
      "status": "active",
      "defaultTtlSeconds": null,
      "createdAt": "2026-07-13T12:00:00Z",
      "updatedAt": "2026-07-13T12:00:00Z"
    }
  ]
}