Skip to content

Events

Log knowledge worth remembering on a node.

ParameterTypeRequiredDescription
node_idstringyesNode ID
typestringyesEvent type: decision, discovery, blocker, reference, milestone, note, change
contentstringyesWhat happened, in plain language
metaobjectnoType-specific data
refsstring[]noRelated event IDs
task_refstringnoExternal reference (task URL, CRM record)

Returns: { id, node_id, type, status: "active" }

Mark an event as resolved.

ParameterTypeRequiredDescription
event_idstringyesEvent ID
resolutionstringnoResolution description

The resolution is merged into the event’s existing metadata (other meta keys are preserved). Only active events can be resolved.

Returns: { id, status: "resolved" }

Replace an event with an updated version. Archives the old event and creates a new one referencing it.

ParameterTypeRequiredDescription
event_idstringyesEvent ID to supersede
new_contentstringyesUpdated content
metaobjectnoUpdated metadata (keeps old if omitted)

The new event inherits the old event’s node_id, type, and task_ref. The refs field is set to [old_event_id].

Returns: { new_id, superseded_id, node_id, status: "active" }

Query events with filters.

ParameterTypeRequiredDescription
node_idstringnoFilter by node
typestringnoFilter by event type
statusstringnoFilter by status
sincestringnoISO datetime — only events after this time

Returns: Array of events with node_name included, ordered by created_at DESC.