Query Timeline
engramic_timelineQuery the organisational timeline — what happened, what was decided, what's outstanding. The read counterpart to engramic_record_draft + engramic_record_publish.
TYPE SELECTION (omit to query all types):
"decision" — what was decided, including the reasoning and options considered
"action" — something done or agreed by an actor
"event" — something that occurred: milestones, incidents, state changes
"discovery" — contradictions, gaps, patterns, insights (defaults to all)
DEFAULT BEHAVIOUR:
All types return all items unless filtered by status
STATUS FILTER (discoveries and actions; ignored for other types):
"open" — unresolved items
"resolved" — resolved items (for actions: done)
"all" — both
Actions carry status ("open" or "done") and dueAt when set.
Use the optional query parameter for free-text search within results. Filter by actor (who did it), creator (who recorded it), participant (who was involved), topic, or date range.
RESULTS ARE SNIPPETS, NOT FULL BODIES:
Each event carries a short snippet — a plain-text excerpt of its detail — not the complete body, so a timeline query stays scannable. When an event warrants the full detail, call engramic_event with its id to read the whole event, complete detail included. (For a topic's full detail, call engramic_topic with the topic id.)
TIMESTAMPS (every event carries both):
"occurredAt" — when it happened. Sort order and since/until filters use this.
"createdAt" — when it entered the record. A backdated entry (recorded days after it happened) has createdAt later than occurredAt; that lateness is deliberately visible so contemporaneous and after-the-fact records can be told apart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by event type. If not specified, returns all types. | |
| actor | No | Filter by actor topic ID (who did it) | |
| limit | No | Maximum results to return (default: 20) | |
| query | No | Full-text search in labels and details | |
| since | No | ISO8601 date - events after this date | |
| topic | No | DEPRECATED: use topicId instead. Accepted for one release. | |
| until | No | ISO8601 date - events before this date | |
| status | No | Filter by resolution status. Applies to discovery and action types. "open" shows unresolved items, "resolved" shows items with a resolving reference, or conflicts a later decision has resolved, or actions marked done, "all" shows both. Defaults to "all". | |
| creator | No | Filter by creator user ID (who imported it) | |
| subtype | No | Filter by subtype. For type=graph, valid values are read|create|update|update_state|delete. For type=discovery, valid values are contradiction|violation|gap|drift|pattern|staleness|insight. | |
| topicId | No | Filter by topic ID (events involving this topic) | |
| participant | No | Filter by participant topic ID (who was involved) |