Audit and evidence

Evidence ledger

Browse sealed archive segments, verify the seal chain and stored bytes, and prove that a single event is in the archive.

The ledger is the list of sealed archive segments for your organisation. Each segment holds the events axonpush accepted during one ingest hour, encrypted, with an RFC 6962 Merkle root over them and a seal hash that links it to the segment before. Open it at Audit → Ledger.

The checks on this page answer three different questions:

QuestionCheckAPI
Is the history unbroken?Verify seal chainPOST /audit/verify, then GET /audit/jobs/{jobId}
Are the stored objects of one segment intact?Verify stored bytes on a segmentPOST /audit/segments/{segmentId}/verify
Is this one event in the archive?Download proof, then verify itGET /audit/proofs/{eventId}

What a pass does and does not prove is set out in Audit and evidence.

Archived segments

The Archived segments card lists segments for a period. It starts at the last seven days; change From and To and choose Apply period. Segments are grouped by ingest time, not event time, and one hour can produce several bounded parts.

ColumnMeaning
Ingest hourThe hour the events were accepted. The line under it is the segment ID.
StateAlways sealed for a listed segment.
EventsRows in the segment.
StoredEncrypted bytes in storage.
Locked untilThe end of the object lock on the segment’s stored objects.
VerifiedThe last time the stored bytes were checked.

The segment ID is the segment’s seal hash. Keep it if you want to check a proof for that hour later against a value you recorded yourself.

An hour appears only after it closes and its part is sealed. Until then the events are in the hot store, and the ledger shows “No sealed segments in this period”.

curl "https://api.axonpush.xyz/audit/segments?from=2026-11-01T00:00:00Z&to=2026-11-08T00:00:00Z&limit=50" \
  -H "X-API-Key: $AXONPUSH_AUDIT_KEY"

The response is { "segments": [...], "nextCursor": "..." }. Pass nextCursor back as cursor with the same from and to to page. limit is 1 to 100.

Segment detail

Select an ingest hour to open Archive segment. It shows Events, Raw bytes, Stored bytes, Locked until, Verified at and the Merkle root, and offers:

  • Verify stored bytes. Reads the segment’s manifest, metadata and content objects at their pinned versions, checks each against its recorded checksum, recomputes the Merkle root and checks it against the seal. A pass updates Verified at. Nothing is decrypted.
  • Download manifest record. Saves the segment record and its manifest as JSON: object keys, versions and checksums, the root, the previous seal hash, the lock mode and the lock date.
  • Request cold restore. For segments that storage has moved to an archive tier. See Restore and archive jobs.
  • Shorten governance retention. Shown to owners on governance-locked segments. See Retention and legal holds.

The Event proof and archived content card in the same dialog finds an event in this segment, then Download event proof or Download available content. Content needs content-read permission and a subject key that still exists; an erased subject’s content stays unavailable.

Verify the seal chain

Verify seal chain starts a background job that walks every retained segment in order. For each one it reads the stored manifest, checks that its sequence follows the previous one, that its previous-hash field matches the prior seal, and that its seal matches the recorded seal. It then checks every stored RFC 3161 timestamp token in that range against the seal it covers.

curl -X POST "https://api.axonpush.xyz/audit/verify" \
  -H "X-API-Key: $AXONPUSH_AUDIT_KEY"
# returns a job: { "id": "...", "kind": "verify", "state": "pending", ... }

curl "https://api.axonpush.xyz/audit/jobs/$JOB_ID" \
  -H "X-API-Key: $AXONPUSH_AUDIT_KEY"

The job works in batches and stays running until it reaches the head. Its result holds:

FieldMeaning
validtrue once every segment up to the head checked out
verified, totalSequence reached so far, and the head sequence
headHashThe head seal the job checked against
checkpointsVerifiedStored timestamp tokens that validated
anchorSequenceThe latest sequence covered by a valid timestamp
anchoredtrue when the head itself is covered by a valid timestamp

Any break fails the job. The dashboard shows “Archive verification passed” or “Archive verification failed”, and says whether an independent timestamp anchor was verified. Find earlier runs under Recent archive jobs.

Expired segments are not an error. When retention removes old segments, the job starts from the recorded chain base, the last seal before the retained history.

Timestamps depend on the deployment

The latest seal is timestamped once a day only when the deployment has an RFC 3161 timestamp authority configured. Without one, the chain still verifies from its seals, checkpointsVerified stays 0 and anchored stays false. The checkpointState field of GET /audit/status reports missing when no token has been stored, and valid only when the latest token verifies against the configured roots.

Prove one event

An inclusion proof shows that one event is a leaf of a sealed segment, without decrypting it. Under Event inclusion proof, search for the event and choose Download proof. The search covers recent events; for older ones call the API with the event ID.

curl "https://api.axonpush.xyz/audit/proofs/$EVENT_ID" \
  -H "X-API-Key: $AXONPUSH_AUDIT_KEY" > proof.json

The bundle holds eventId, segmentId, the segment manifest and the proof path. The server checks the path against the manifest root before returning it.

Verify a proof in your browser

Verify an inclusion proof in your browser, at the bottom of the ledger, checks a bundle without sending it anywhere.

  1. Choose the file under Proof JSON file, or paste it into Proof bundle.
  2. Enter the segment seal in Independently trusted segment seal.
  3. Choose Verify manifest and proof.

A pass reads “Manifest and inclusion path verified”: the manifest hashes to the seal you entered and the event’s leaf hashes up to its root.

Bring your own seal

A seal copied out of the same proof file proves only that the file is internally consistent. Use a seal you obtained separately: a segment ID you recorded at the time, the seal list in an evidence pack you were given, or a timestamped checkpoint.

The browser check does not download the Parquet objects, check their retention, decrypt content or validate a timestamp authority certificate.

Verify offline

The axonpush verify-evidence command verifies a segment’s manifest, metadata and content files with no network, database or decryption key, against a seal you supply. It can also print an inclusion proof for a row and check a saved RFC 3161 response. It needs the stored objects themselves, so it suits self-hosted installations and anyone you give copies of those objects. See CLI reference.

Archive status

GET /audit/status summarises the archive. The dashboard shows the same values on Audit → Retention and the Archive integrity card of Audit → Overview.

FieldMeaning
configured, enabledArchive storage is set up, and the organisation’s archive is on
segments, events, bytesRaw, bytesStoredTotals for retained segments
headSequence, headHashThe latest seal
lastSealedAtWhen the latest segment was sealed
checkpointStatemissing, unavailable, invalid or valid, for the latest timestamp token
lastTimestampedAt, anchorSequenceSet only when checkpointState is valid
pendingJobs, activeHolds, restoringWork in progress, active legal holds, and whether restore reconciliation is still running

Permissions

Reading segments, proofs and status, and running either verification, needs any member session or an API key with audit:read. API keys must be organisation-wide: a key bound to one app or environment gets 403. The dashboard shows Verify seal chain only to admins and owners.

API reference: audit.segments, audit.segment.get, audit.segment.verify, audit.evidence.verify, audit.proof, audit.status.