Skip to content

Audit log and export

Download your company's activity log as CSV or NDJSON, export up to 13 months, read it through the API, and learn what its hash chain shows and does not show.

WP Waterfall writes an entry to your company's audit log for every change a person, an API key, an AI assistant, or WP Waterfall makes: who did it, from where, what they did, and whether it worked. You read it as User Activity. For the per-site view, see Site activity.

What is listed

User activity lists what you and your team did, and what your API keys and AI assistants did. It never lists what the platform does on its own, such as a scheduled backup, a certificate renewal, or a check of your plugins. The export keeps the full record.

Actions by WP Waterfall support are not listed. WP Waterfall keeps its own record of them. See How WP Waterfall support gets into your site.

Export the log

  1. Open User Activity in Account settings.
  2. Choose Export.
  3. Pick a start date, an end date, and a format, then choose Download.

Things to know:

  • Dates are days in UTC. The file starts at the beginning of the first day and ends at the end of the last day.
  • A range of up to 92 days downloads at once. A longer range, up to 13 months, is built in the background (see below).
  • The format is CSV for a spreadsheet, or NDJSON for a program (one JSON record per line).
  • Rows come oldest first.
  • Owners, admins, developers, and viewers can export. Billing users cannot, and neither can a member limited to some sites, because the log covers the whole company.
  • The log is kept 13 months. Older entries are deleted.
  • Each export writes its own entry, Exported the audit log, with the range and the format.

Export more than 92 days

Choose a range longer than 92 days and the button changes to Request export. WP Waterfall builds the file in the background, so you can close the page. When it is ready, you get a notice in the bell (and an email, if your notification settings send one), and the file is listed on the same dialog under Recent exports, where Download gives you a link that works for 15 minutes.

  • The range can reach back 13 months, as long as the log is kept. An earlier start is refused.
  • The file waits 48 hours, then WP Waterfall deletes it. Ask again if you need it later.
  • One long export is built at a time for your company.
  • The size of your company sets the limits. The row limit is for one file, and the file says when it stopped there. Export a shorter range to get the rest.
Company size Rows in one file Long exports in 24 hours
Up to 5 sites 250,000 3
6 to 50 sites 1,000,000 6
More than 50 sites 5,000,000 12
  • The file has the same columns, the same masking, and the same spreadsheet protection as a short export. It never holds actions by WP Waterfall support.
  • Asking for a long export, and each download, are entries in the log.
  • An AI assistant can ask for a long export with the export_activity_log tool and read its state with get_activity_log_export. The assistant gives you the link. The file does not pass through the chat.

What a row holds

Column What it is
id The entry's id.
created_at When it happened, in UTC.
actor_type, actor_id, actor_label Who did it: user, api_key, mcp_agent, or system, with an id and a name or email. Every call an AI assistant makes through MCP is mcp_agent, with the client name, the tool, the site or environment it named, and whether it carried a confirmation. Approving or reconnecting an assistant is logged too.
action What was done, such as POST /v1/sites or job.restore_snapshot.
target_type, target_id What it was done to.
ip, user_agent The address and browser of the caller. Empty after a person's account is deleted.
metadata The details, as JSON in one cell. Passwords, keys, and tokens are replaced with [redacted].
chain_seq, prev_hash, row_hash The entry's place in the chain and its fingerprints (see below).

A CSV cell that starts with =, +, -, or @ gets a single quote in front, so a spreadsheet shows the text and does not run it as a formula.

Use the API

Send the same request from a script. The API key needs the activity:read scope, and the person who made it needs a role that can read activity.

GET /v1/audit/export?from=2026-07-01T00:00:00Z&to=2026-07-31T23:59:59Z&format=ndjson
  • from is required. to defaults to now and must be at most 92 days after from.
  • format is csv (the default) or ndjson.
  • actor keeps what one person or key did. action keeps one action name.
  • The answer streams, so a large log does not need much memory on your side. Two exports for one company run at once. A third answers 429.

For a range longer than 92 days, start a long export, read its state, and ask for the link:

POST /v1/audit/exports                      {"from": "2026-01-01T00:00:00Z", "format": "csv"}
GET  /v1/audit/exports/{id}                 queued, building, ready, failed, or expired
POST /v1/audit/exports/{id}/download-link   a link that works for 15 minutes
GET  /v1/audit/exports/limits               your row limit and exports left today

GET /v1/companies/me/activity lists the log page by page. The start answers 202 with the request. It answers 422 for a start before the 13 months, and 429 while another export is being built or when the day's limit is used.

What the chain shows

Each entry carries a fingerprint (row_hash) made from its own content and the fingerprint of the entry before it (prev_hash). New entries are signed: the fingerprint is a keyed hash made with a secret that is not stored in the database, so someone who can only read and write the database cannot make an entry that passes the check. Change any entry later and its fingerprint no longer matches, and every entry after it points at a fingerprint that no longer exists. WP Waterfall can check a company's whole log against this chain. Once a day it also writes the newest fingerprint to a second table that the database refuses to update or delete. A change to an entry made before a daily record shows up as a mismatch with that record. WP Waterfall also copies each finished day of those records to a storage bucket in another region that its own credentials can write to and read, and never delete or overwrite. A daily check compares the copy with the table and raises an alert if they differ.

The words to use are: the audit log is append only and tamper evident in the database.

What that means:

  • The database refuses to edit or delete an entry through the application.
  • A change made another way, by someone with full access to the database, is detectable by a check and by the daily records.
  • The name and the address of a person you removed can be erased, as the privacy policy promises, without breaking the chain. They are not part of an entry's fingerprint.

What it does not mean:

  • It does not make the log immutable. A person with full access to the database can still change rows. The chain makes that visible. It does not make it impossible.
  • It cannot show a change made after the newest daily record that also rewrote every later fingerprint and the daily record itself, by someone who holds the signing secret. The daily records narrow that window to a day. Someone with only the database can rewrite every signed entry as a plain one, and then only the daily records show it.
  • It does not show what was never logged.

Still stuck?

Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.