memory_event

Alpha, on the 3.6.x line. The API can still change within 3.x.

Records that something happened. An event is immutable: once created it cannot be edited or archived, only annotated.

Actions

actionNeedsWhat it does
createtype, name, description, occurredAt, sourceAppends a new event.
getidReturns one event.
listLists events. Filters: type, sourceFilter, after, before, limit.
annotateid, author, contentAdds an append-only annotation to the event.
sensitivityid, sensitivityRaises the sensitivity tier. Lowering it returns 422.
archiveidDoes nothing: the log is immutable.

Arguments

NameTypeRequiredDefaultNotes
actionstringyesOne of the six actions above.
idstringper actionEvent id.
typestringper actionsystem, external, user, agent or scheduled. Also a filter in list.
namestringper action1 to 500 characters.
descriptionstringper actionUp to 20,000 characters.
occurredAtstringper actionWhen it happened. ISO 8601 UTC instant.
sourcestringper actionWhere the event came from. 1 to 200 characters.
durationSintegernoDuration in seconds. For create.
relatedEntitiesstring[]noIds of the entities involved. For create.
metadataobjectnoFor create.
sensitivitystringper actioninternalInitial tier in create, new tier in sensitivity.
authorstringper actionFor annotate. 1 to 200 characters.
contentstringper actionText of the annotation. 1 to 20,000 characters.
atstringnoTimestamp of the annotation.
sourceFilterstringnoFor list: only events from this source.
afterstringnoFor list: only events after this instant.
beforestringnoFor list: only events before this instant.
limitintegernoFor list. 1 to 500.
idempotencyKeystringnoFor create. Prevents a duplicate event on a retry.
targetWorkspaceIdstringnoFor create. UUID of another workspace where you have write access.

Example

{
  "name": "memory_event",
  "arguments": {
    "action": "create",
    "type": "external",
    "name": "firmware.release",
    "description": "Firmware 4.2 shipped to the Larkspur warehouse fleet.",
    "occurredAt": "2026-11-13T16:00:00Z",
    "source": "release-pipeline"
  }
}

Returns

create, get, annotate and sensitivity return the event record: id, workspaceId, type, name, description, occurredAt, source, relatedEntities, annotations, sensitivity, createdAt and metadata. archive returns { "id", "archived": false, "immutable": true }.

Events are indexed but not returned by a default recall. Pass kinds: ["event"] to memory_recall to include them.

  • Tasks and events, the concept
  • REST: POST /events, GET /events/{id}, POST /events/{id}/annotations