Update properties on a graph node (label, entity_type).
When entity_type changes, also creates an ontology pattern so the correction feeds back into the self-learning EntityRuler.
Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/memory/graph/nodes/string" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Config
Update the ontology update configuration for this workspace. TODO: Add tier enforcement, because free-tier workspaces should not be able to set enabled=True. Deferred until subscription system integration (I2 tech debt).
Update Llm Keys
Update user's LLM provider API keys (partial merge). Keys are encrypted at rest (Fernet) before storage. Omitted keys are preserved.