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
| Parameter | Type | Default | Description |
|---|---|---|---|
key | str | required | Node key to update |
description | str | None | None | New description (replaces existing) |
data | dict | None | None | Updated metadata |
assets | list[str] | None | None | Updated asset references |
node_type | str | None | None | Updated 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