Audit trail
Phantom records every operation an agent, a model provider or the development mode performs, and the changes you make to connections: who (actor, agent, token), where (vault), what (operation, resource, action, object ids) and the outcome (ok, denied, error with its code). Arguments, content and credentials are never recorded.
Read it in Settings › AI & Agents › Activity, filtered by agent, vault and outcome.
Tamper evidence
Every minute, the rows written since the last seal are sealed as one block:
- the block hash is the SHA-256 of each row's digest (its fields as sorted, compact JSON), in id order;
- the chain hash is the SHA-256 of the previous seal's chain hash and the block hash.
Verify now recomputes every remaining block and link. A row that was changed, removed or inserted changes its block hash; a rewritten seal no longer links to the one after it. The integrity line then names the first block that does not verify and why. Rows written since the last seal are counted as waiting.
The newest chain hash is the head hash. Someone who controls the whole database could rewrite rows and every seal after them, so keep the head hash somewhere Phantom cannot write (a ticket, a notebook, an email to yourself): an export whose chain does not lead to a head hash you kept was rewritten.
Retention
The trail keeps the newest 20,000 rows and rows from the last 90 days. Older rows are removed in whole sealed blocks, never part of one, so what remains still verifies; the oldest remaining seal's previous hash is the anchor.
Export
Export trail downloads the remaining trail as JSON lines: every seal (kind: seal, its range, block hash, previous and chain hash), then every row (kind: row, its fields and digest). With it, anyone can recompute the chain without Phantom.
GET /api/v1/connections/activity/export
GET /api/v1/connections/activity/integrity
POST /api/v1/connections/activity/sealAll three are yours only; agents cannot read or seal the trail that records them.