API Reference

hm_update

Update an existing node's fields

hm_update

Modify fields on an existing node. If the description changes, the server re-embeds the vector representation for search.

Parameters

ParameterTypeDefaultDescription
keystrrequiredNode key to update
descriptionstr | NoneNoneNew description (replaces existing)
datadict | NoneNoneUpdated metadata
assetslist[str] | NoneNoneUpdated asset references
node_typestr | NoneNoneUpdated type classification

Response

Returns the updated node with its current state.

Example

{
  "key": "decision_jwt_auth",
  "description": "JWT chosen for auth — deployed to production 2026-04-15",
  "data": {"status": "deployed", "deploy_date": "2026-04-15"}
}

CLI equivalent

hm update decision_jwt_auth --desc "JWT chosen for auth — deployed to production 2026-04-15"

REST endpoint

POST /api/v1/memory/update