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).
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
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/ontology/updates/config" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Adapter Schedule
Set the sync interval (owner or admin). Only ``schedule.interval_seconds`` changes: no run is claimed and no status moves. An active connection whose next run is later than now + interval is pulled forward, never pushed later.
Update Graph Node
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.