Skip to content

Record history

Every field change on a record is logged: what changed, from what to what, who it was for, and what made the change.

The source label is recorded on every change and returned by GET /workspaces/{ws}/databases/{db}/records/{rec}/versions/changes (and by the MCP get_history tool), and it now renders in the record’s activity panel too, as a small badge next to the actor’s name.

human renders no badge at all. It’s the default a reader already assumes, and marking every ordinary edit would bury the exceptions the badge exists to surface — agent, automation and mcp each get their own labelled badge.

A row with no source recorded gets its own explicit badge, never a silent fold into human. Anything written before this tracking shipped, or from an insert site an early rollout missed, has source: null — and shows as “Source not recorded” rather than reading as an ordinary human edit. Treating “unknown” and “human” as the same badge is the single easiest way to get this wrong, so the two stay visually distinct.

History answers two questions that are easy to confuse, and keeps them as separate columns.

Who — always a person. A member’s name is on every row, including rows an agent or an automation wrote. That is deliberate: an agent acts as the member who ran it, bounded by that member’s permissions, so the person who authorised the change is the person accountable for it. Agents never appear as actors and never accumulate a permission surface of their own.

What made it — one of four:

Badge Means
human Somebody typed it, in the app.
agent An agent run produced it — including Tyron.
automation An automation rule or a button action.
mcp A write that arrived over the API with a personal access token.

So “Ada changed Status to Done · automation” is not a contradiction. It means a rule Ada owns fired, and the change is hers in the sense that matters for permissions and accountability.

An agent write names the agent, not just its owner

Section titled “An agent write names the agent, not just its owner”

An agent-badged row carries a third fact alongside who and what: which configured Agent (from your workspace’s Agents database) actually made the write — its name at the moment it wrote, snapshotted so a later rename or deletion never rewrites what a historical row appears to say.

The human owner is resolved from the credential, live, every request — never from a stale token field and never something the agent supplies about itself. An agent-scoped token whose Agent record has been deleted, or whose owner is no longer an active member, is refused outright — there is no fallback identity an agent’s writes fall back to instead. A person is never blocked by this; only an agent-scoped credential is.

Where the name appears. For an agent row, these reads return agent_id and agent_name: a record’s activity feed (GET /workspaces/{ws}/databases/{db}/records/{rec}/activity), its field changes (.../records/{rec}/versions/changes) and a database’s comments feed (GET /workspaces/{ws}/databases/{db}/activity/comments). Both are null for a person’s, an automation’s or an MCP client’s row, and for a row written before the name was recorded; the name is never guessed. It is the snapshot taken at write time, so a rename does not change earlier rows and a deleted agent’s past rows still name it. It comes from the credential, not from anything a request sends.

Query one agent’s activity in bulk — GET /workspaces/:ws/agents/:agent/activity (from/to date range) or the list_agent_activity MCP tool — for “show me everything this agent did last week,” rather than reading one record’s history at a time.

It is derived from how the request authenticated, never claimed by the caller:

  • A browser session → human.
  • The agent runtime → agent.
  • The automation executor → automation.
  • An API token → agent if the token was minted as an agent’s, mcp otherwise.

That last one is the interesting case. The label lives on the token row, not in a request header, precisely because a header is forgeable by any client — and provenance that its own subject can claim is not provenance.

An ordinary personal access token reads as mcp — and so does an AI connected through OAuth (for example Claude), which is not badged human even though a person signed in to connect it. If you write records from your own script with a PAT, those changes are badged mcp — not because they came from an MCP client, but because an unmarked token is treated as one. The badge tells you a change came in over the API with a token; it does not tell you which program held it.

human means a browser session and nothing else, so it is a reliable answer to “was a person at the keyboard” — which is the question the badge exists to answer.

An activity feed showing a plain human edit next to an MCP-badged record creation

Above: a record created by a script authenticating with a personal access token — badged mcp — next to an ordinary edit made in the app, which carries no badge at all.

Every change is stored exactly as it was written — a select’s option id, not its label. That faithfulness is the one thing a change log cannot give up: a stored label would quietly rewrite itself every time somebody renamed an option.

The translating happens when you read it, so history shows you the same thing the record shows you: field names, option labels, values rendered by type. Both old_value / new_value (the raw stored values) and old_display / new_display (rendered for a human) come back, so you can have either.

Deleted fields and deleted options still render by name. A field outliving the field is the whole point of a change log, and a row that renders as a bare uuid because its column was removed is exactly the moment you start doubting the history.

A record’s ⋯ menu → History opens a dialog with three tabs:

  • Changes — the field-by-field log above: who, what made it, and the before and after of each field. A field that has since changed again offers Revert this field, which writes the old value back as an ordinary edit (so the revert shows up in the log too).
  • Versions — whole-record snapshots. Each shows who made it and what made it — a person or an agent badge, readable at a glance without decoding an id.
  • Document — the record’s rich-text description, which has its own history (below).

Pick a version and Restore shows a diff preview first — exactly what would change from the record as it is now — before you confirm. The restore is itself a change: it appears in the log like any other, badged by whatever made it, and can be undone the same way. Over the API a version restores with POST …/versions/{version}/restore, and a read-only preview is GET …/versions/{version}.

A record’s rich-text description keeps its own versions, separate from its fields. Each time the description is saved after the first, the previous content is kept; the Document tab lists them (newest first, with the same person/agent badge), previews any one as a block-level diff against the current text, and restores it. Restoring a description version is reversible too — the text you restored over is saved first.

  • This is not the editing-conflict counter. A save that was based on a stale copy of the description is still refused with a 409, exactly as before; history is a separate record of past content.
  • The same retention rule as the field log (below) — one policy, not two.
  • Over MCP: get_history with kind: "document_versions" lists them, and restore_document_version restores one. There is no preview tool — an agent lists, restores, and can undo.

History is plan-gated: Free keeps 14 days, Pro 270 days (about 9 months), Business 2 years and Enterprise 5 years. Free used to capture no history at all; it now does.

A version older than your window is hidden and removed: it no longer appears in the History dialog or the API, it cannot be previewed or restored (asking for it answers “not found”, exactly as for a version that never existed), and a daily job deletes it. The newest version of each record or document is kept by that job as the restore baseline, but it is hidden too once it is past the window. None of this starts before 27 December 2026. Until then nothing is hidden or deleted for anyone, and the History dialog says “From 27 December 2026” for that reason. A self-hosted instance has no plans and keeps all history.

This is record history, not a workspace backup — it won’t bring back a deleted database; see trash and restore for that.

Everything above is scoped to one record. GET /workspaces/{ws}/audit-log (the MCP list_audit_log tool) reads the same underlying data, plus the events below. Its field-change rows come from version history, so they end at your history window (Free 14 days), while record events follow the activity window below (Free 30 days). An agent’s activity read ends at the history window too, so a Free admin sees 14 days of field changes there while the activity log itself keeps 30. Until the first purge on or after 27 December 2026, older rows still show. It is admin-only, across every user and every record in the workspace, and filterable by actor, by one entity (a record, space, database or view id), by event type, by the kind of actor (source: human, agent, automation or mcp), and by date range (default: the last 30 days).

  • In the app: Settings → Audit log, visible to admins only. Each row names the person and says what happened in words, with the record’s number, title and database, never an id. Under Filter, pick an Actor, a Type, a Record or object ID, and a From / To date, and use Load more to page back. A copy button on each row takes the record ID for that filter. A non-admin who opens the address sees only “Only workspace admins can view the audit log”, and the page makes no request for the data.
  • A removed member still appears by name on their historical rows, the same no-FK design this whole page is built on.

How long the audit log keeps record events

Section titled “How long the audit log keeps record events”

Events about a record, and an agent’s outward log, are deleted by a daily job once they are older than the window for the workspace’s plan:

Plan Record events kept
Free 30 days
Pro 1 year
Business 3 years
Enterprise Forever

Nothing is deleted before 27 December 2026, whatever the plan, and on a self-hosted instance even when ACTIVITY_EVENTS_RETENTION_DAYS is set.

A self-hosted instance has no plans. It keeps everything unless the operator sets ACTIVITY_EVENTS_RETENTION_DAYS (self-hosting configuration); 0 or never also keeps everything.

  • Never deleted: events not about one record (a space, database or view deleted or restricted, a portal link created or revoked, a Runner paired or revoked) and a change to a person field, because My Work’s “assigned by” reads it.
  • Kept past the window: an agent’s outward log for the current calendar month, which agent budgets add up, and any event not yet delivered to a webhook.
  • GET /workspaces/{ws}/audit-log and the MCP list_audit_log return retention_days, the window for this workspace in days, or null when everything is kept.
  • Not the version history above. Versions and field changes have their own plan limit and their own daily job (How long it’s kept); this job does not touch them. Enterprise keeps record events forever but version history for 5 years.

An agent that runs on a Runner writes with a credential minted for that one run. Its rows read like any agent’s: who is the agent’s owner, what made it is agent. They carry three more facts, returned by GET /workspaces/{ws}/audit-log and by list_audit_log on both event rows and field-change rows:

  • agent_id and agent_name, as for any agent.
  • run_id and run_number, the Run’s public number, so a row can read “Sales assistant, run 42”. The number is looked up when you read the log, and is null if that Run has since been deleted.
  • runner_id and runner_name, the machine’s name as it was when the row was written, so renaming a Runner later does not rewrite history.

A row written by a person has these fields null.

Every row about a record also carries the words, so you need no lookup per row: record (id, number, title, database_id, database_name, deleted, withheld), actor_name, actor_kind (member or system) and actor_removed, and on a relation event other_record. A record you may not read comes back with only its id and withheld: true, and its values are blanked.

In the app, the Settings → Audit log detail names the agent. At the time of writing it does not show the run number or the Runner’s name; those two come from the API and MCP.

Events with no record. When an agent’s write sends something to a destination an admin fixed in advance, the log also holds an outward.slack_mention_mirror, outward.mention_email, outward.watcher_email, outward.calendar_sync, outward.linear_comment or outward.ai_field event naming the agent and the run. See approval gates.

The log records deleting, restoring, restricting and unrestricting a space, a database or a view, whether it was done in the app, over the REST API or over MCP. The event types are space, database or view followed by deleted, restored, restricted or unrestricted, for example database.deleted. Pass them to the type filter as a comma list (type=space.deleted,database.deleted); the page’s Type menu offers all activity, everything structural, deleted only, restored only, and restricted or opened to everyone.

  • A row names the object and who did it, with the same source badge as everywhere else (an action made with a personal access token reads mcp).
  • Deleting a space names the databases that went with it, and restoring it names the ones that came back.
  • A repeated save of the same restricted value is not an event. Only a change is recorded.
  • A delete held for approval is logged when it is actually applied, not when it is requested.
  • Personal-space content is never logged. A personal space or personal view writes no workspace event, because it is private even from admins.
  • There is no purge. Spaces, databases and views are only ever soft-deleted and can be restored, so there is no permanent-removal event to look for.