Docs > Ontology and knowledge graph
Records, observations, and timeline
# Records, observations, and timeline Every Object in Dex's knowledge graph has two halves: the **record** itself (structured fields and links representing current state) and its **observations** (timestamped activities and notes representing what happened over time and why). ## Records vs. observations | Concept | Purpose | Mutability | | --- | --- | --- | | **Record** | Current structured state of an entity (a person's role, a company's domain, a deal's stage) | Editable by authorized users and agents; hand-edited cells survive future syncs | | **Synced observation** | Timestamped activity generated from a connected source (a Slack thread, email message, calendar meeting, GitHub PR, or document edit) | Read-only—always anchored to its underlying source Dataset rows | | **Manual note (`zeta.manual_note`)** | Timestamped note authored by a person or agent about one or more records, with optional citations | Editable and deletable by its author (with optimistic version checks) | ## Provenance and citations Every observation tracks where its evidence came from: - **Synced observations** retain structured source references (`dataset`, `connectionId`, `key`, `version`, and snapshot) pointing back to the read-only Dataset row. Access to the cited raw row is re-checked against Dataset row-level security on every read. - **Manual notes** record their author (name and email) and can cite either synced Dataset rows or unsynced external metadata (such as a Slack permalink or call link). When a teammate reads your shared note, they see the note and its metadata citations, while any private raw Dataset rows you cited remain protected by Dataset permissions. ## Cross-user timeline deduplication and windowing When several teammates sync the same shared email thread or Slack conversation, Nexus deduplicates observations sharing the same `(type, providerKey)` at read time. You see **one timeline entry** combining all entity links you are authorized to view, rather than five copies of the same message. When inspecting a specific event—either in the Timeline UI or via CLI—you can traverse surrounding context in chronological order (`--before` / `--after`, up to 20 neighboring observations on each side), even when nearby events do not match your original search query: ```bash # Search observations across a record dex zeta observations list --object person --record-id <record-id> --search "renewal" # Inspect one observation with 5 timeline events before and after it dex zeta observations get \ --id <observation-id> \ --object person \ --record-id <record-id> \ --before 5 \ --after 5 ``` ## Manual notes Capture context that never existed in a synced tool—such as an in-person hallway conversation, a call takeaway, or an agent's synthesized finding—by attaching a manual note to one or more records: ```bash dex zeta observations create \ --text "Met VP Eng at summit; pilot expansion depends on SSO timeline." \ --object person:<person-id> \ --object company:<company-id> \ --source '{"integration":"conference","author":"Maya Chen"}' ``` Repeat `--object` to link the note to multiple records so it appears on each record's timeline and creates a co-occurrence edge in the graph. ## Sharing observations By default, **nobody else sees your observations** (neither your synced activity nor your manual notes) unless you explicitly share them. Observation sharing is separate from record sharing and can only be changed by you in your own interactive session (never from a scoped automation or shared channel): - **Share by Object type** — Share all of your observations linked to records of one type (for example, `person` or `company`) with the workspace: ```bash dex zeta sharing set --target type:person ``` - **Share by saved View** — Share your observations only for records matching a specific [View](/context/nexus/#views), visible only to people who can open that View: ```bash dex zeta sharing set --target view:<view-id> ``` - **Inspect or stop sharing** — Run `dex zeta sharing list` and `dex zeta sharing remove --target <target>`. ## Related pages - [Knowledge graph](/context/knowledge-graph/) - Identity resolution, manual edit preservation, and Agent SQL - [Sources and data scopes](/context/sources-and-scopes/) - Record ownership vs. observation sharing vs. raw Datasets - [Nexus](/context/nexus/) - Browsing timelines, entity side panels, and saved Views - [Knowledge and memory](/agents/knowledge/) - When to write a Knowledge file vs. a manual noteUnderstand how Dex connects durable Object records to provenance-backed synced activities, editable manual notes, and deduplicated timelines.
Every Object in Dex’s knowledge graph has two halves: the record itself (structured fields and links representing current state) and its observations (timestamped activities and notes representing what happened over time and why).
Records vs. observations
Section titled “Records vs. observations”| Concept | Purpose | Mutability |
|---|---|---|
| Record | Current structured state of an entity (a person’s role, a company’s domain, a deal’s stage) | Editable by authorized users and agents; hand-edited cells survive future syncs |
| Synced observation | Timestamped activity generated from a connected source (a Slack thread, email message, calendar meeting, GitHub PR, or document edit) | Read-only—always anchored to its underlying source Dataset rows |
Manual note (zeta.manual_note) | Timestamped note authored by a person or agent about one or more records, with optional citations | Editable and deletable by its author (with optimistic version checks) |
Provenance and citations
Section titled “Provenance and citations”Every observation tracks where its evidence came from:
- Synced observations retain structured source references (
dataset,connectionId,key,version, and snapshot) pointing back to the read-only Dataset row. Access to the cited raw row is re-checked against Dataset row-level security on every read. - Manual notes record their author (name and email) and can cite either synced Dataset rows or unsynced external metadata (such as a Slack permalink or call link). When a teammate reads your shared note, they see the note and its metadata citations, while any private raw Dataset rows you cited remain protected by Dataset permissions.
Cross-user timeline deduplication and windowing
Section titled “Cross-user timeline deduplication and windowing”When several teammates sync the same shared email thread or Slack conversation, Nexus deduplicates observations sharing the same (type, providerKey) at read time. You see one timeline entry combining all entity links you are authorized to view, rather than five copies of the same message.
When inspecting a specific event—either in the Timeline UI or via CLI—you can traverse surrounding context in chronological order (--before / --after, up to 20 neighboring observations on each side), even when nearby events do not match your original search query:
# Search observations across a recorddex zeta observations list --object person --record-id <record-id> --search "renewal"
# Inspect one observation with 5 timeline events before and after itdex zeta observations get \ --id <observation-id> \ --object person \ --record-id <record-id> \ --before 5 \ --after 5Manual notes
Section titled “Manual notes”Capture context that never existed in a synced tool—such as an in-person hallway conversation, a call takeaway, or an agent’s synthesized finding—by attaching a manual note to one or more records:
dex zeta observations create \ --text "Met VP Eng at summit; pilot expansion depends on SSO timeline." \ --object person:<person-id> \ --object company:<company-id> \ --source '{"integration":"conference","author":"Maya Chen"}'Repeat --object to link the note to multiple records so it appears on each record’s timeline and creates a co-occurrence edge in the graph.
Sharing observations
Section titled “Sharing observations”By default, nobody else sees your observations (neither your synced activity nor your manual notes) unless you explicitly share them. Observation sharing is separate from record sharing and can only be changed by you in your own interactive session (never from a scoped automation or shared channel):
-
Share by Object type — Share all of your observations linked to records of one type (for example,
personorcompany) with the workspace:Terminal window dex zeta sharing set --target type:person -
Share by saved View — Share your observations only for records matching a specific View, visible only to people who can open that View:
Terminal window dex zeta sharing set --target view:<view-id> -
Inspect or stop sharing — Run
dex zeta sharing listanddex zeta sharing remove --target <target>.
Related pages
Section titled “Related pages”- Knowledge graph - Identity resolution, manual edit preservation, and Agent SQL
- Sources and data scopes - Record ownership vs. observation sharing vs. raw Datasets
- Nexus - Browsing timelines, entity side panels, and saved Views
- Knowledge and memory - When to write a Knowledge file vs. a manual note