SmartMemory
GET
/memory/entities

List entity nodes in the current workspace, optionally filtered by name prefix.

Backs Discord-style entity autocomplete (/recall about:<entity>). Entities are graph nodes (node_category = 'entity'), not metadata fields — calling /by-metadata?metadata_key=entities does NOT work because entities are edge-connected, not embedded in a metadata list.

Workspace-scoped via scope.workspace_id. Empty prefix returns the most recent limit entities by name order.

Query Parameters

prefix?Prefix

Case-insensitive name prefix (empty = all)

limit?Limit

Max entities to return

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/entities"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}