Audit log
Who did what and when across the organisation, and how to export it.
The audit log is the organisation's record of who changed what, and when. Every change a person makes in the portal or from their coding agent is written to it, along with the sensitive changes the portal and your agents make. Use it to answer "who turned this off?", to review what an agent did with a tool, or to hand a record to your security team as a CSV file.
Before you start
- Reading the audit log needs the Admin role. Members and viewers do not see the Audit log row on Settings, and opening the address directly says that reading the audit log needs an organisation admin.
- Nobody can edit or delete a row, including admins.
Read the log
- Open Settings and choose Audit log ("Who changed what, and when").
- Read the Log table. The newest change is at the top, 50 rows to a page.
- Choose Older → to go back in time, and ← First page to return to the newest.
| Column | What it shows |
|---|---|
| When | When the change was made. |
| Who | The person's name; Someone who has left for a person no longer in the organisation; The portal for work the portal did itself; an agent's id for an agent; or <name> (operator) for someone who runs the server. Under it, how the change came in: web (the portal), mcp (a coding agent), worker (background work) or cli (the server's command line). |
| What | The change in one line. A sensitive change reads in words, for example added SSH key deploy-bot or review.packs: off → on. Any other change made on a page reads in words from its page, for example Sent a review back or Changed agents (the request's address is in the row's detail and the CSV), and one from a coding agent as the tool and its subject, for example report_fix 4f3a…. Point at it to see the exact verb and action. When the change has details, a Change fold shows them, usually as before and after values. |
| Subject | What was changed, such as Agent 4f3a2b1c, linking to its page when it has one. |
| Run | For a change made inside an agent's run, a Trace link to that run (see See how an answer was made). |
When there are no rows to show, because nothing has been recorded yet or the filter matches nothing, the page says No rows match and Every change made in this organisation is recorded here.
Filter the log
The filter row sits above the table. Fill in any of the boxes and choose Filter. The filter is part of the page address, so you can bookmark or share a filtered page with another admin.
| Box | What to type | What it matches |
|---|---|---|
| Who | A name or an id | Every person whose name contains the text (any case), plus anyone whose id is exactly the text. Type portal for the portal's own changes, an agent's id for that agent, or an operator's name. |
| Action or verb | For example manage_agents or person.role | Rows whose permission action is exactly the text, or whose verb contains it. See What is recorded for the verbs and Permissions reference for the actions. |
| Subject | A kind (agents), an id, or both as agents:<id> | Rows about that kind of thing, that id, or that one thing. |
| From | A date, YYYY-MM-DD | Rows from the start of that day (UTC). |
| To | A date, YYYY-MM-DD | Rows up to the end of that day (UTC); the day itself is included. |
A date that is not in the form YYYY-MM-DD is left out and the page says so, for example From is not a date (use YYYY-MM-DD); it was left out.
Download the log as CSV
- Filter the log to the rows you want, or leave the boxes empty for everything.
- Choose Download CSV below the table ("The rows the filter matches, up to 10,000.").
- Your browser saves
audit-log.csv, newest row first.
For more than 10,000 rows, download in parts with From and To. The download uses the same filter rules as the page, except that a bad date refuses the whole download with the same message instead of being left out.
| Column | What it holds |
|---|---|
at | When, in UTC, as an RFC 3339 time (for example 2026-11-02T09:14:05Z). |
actor_kind | Who made the change: person, agent, portal, operator or channel. |
actor | Who, in the same words as the page: the person's name (or Someone who has left), The portal, the agent's id, or <name> (operator). |
via | How it came in: web (the portal), mcp (a coding agent), worker (background work) or cli (the server's command line). |
action | The permission action the change needed, such as manage_agents; account for a change to your own account; operator for a change made from the server's command line. |
verb | What was done. A portal request reads web. and the address pattern, for example web.POST /agents/{id}/delete; other changes have a name such as person.role.set. |
subject_kind, subject_id | What was changed. |
summary | One line in plain words, at most 300 characters. |
change | The details as JSON, usually before and after values. |
run_id | The agent run the change was made in, if any. |
request_id | The request's id, so you can match the row to your proxy's logs. |
ip | The address the request came from. |
A cell that starts with =, +, -, @, a tab or a carriage return gets a leading apostrophe, so a spreadsheet opens it as text and never runs it as a formula.
What is recorded
| Source | What is written |
|---|---|
| Changes in the portal | Every change a signed-in person makes that succeeds: saving, adding, deciding, approving, deleting and so on, with the permission action it needed. Pages you only look at are not recorded, and neither are sign-in, sign-up or one-time links. |
| Changes from a coding agent | Every MCP tool call that changes something and succeeds: create_agent, put_main_skill_text, put_agent_skill, add_repository, submit_repository_draft, suggest_rule and report_fix. See MCP tools reference. |
| Sensitive changes, in detail | Written together with the change itself, so one never happens without the other: inviting people, changing a role, disabling a person; making and revoking access tokens; adding and removing SSH keys; setting a tool to Runs freely or Asks first; the approval policy; approving or rejecting an agent's action; applying, discarding or undoing a know-how change; an agent's web access, built-in tools and allowed hosts (a secret header is recorded as set, replaced or removed, never its value); code sandbox and cloud account changes and checks; tool server sign-in and sign-out; coach sessions; schedules (created, changed, turned on or off, deleted, run now); Chat API keys (created, rotated, revoked, and their learning switch); and feature switches set by an operator. |
| What agents do with outside systems | Each call an agent makes with http_request (method, host and path) and each web page it fetches (host and path, never the query); each AWS or Google Cloud call (the parameter names, never their values). |
| The Chat API | Each request your systems send to the Chat API (method, address, the conversation and message ids and the answer's status, never the text), and each identity check on a Chat API conversation (its outcome and the tries left). See Chat API. |
How it works
- Append only. Rows are added and never changed or deleted. The portal has no setting or job that removes old rows.
- No secrets. Before a row is written, any value under a name that looks like a token, secret, password, key or private key is replaced with
[masked]. A private key or API key is never in the log. - Where a request came from. The
ipcolumn is the address that connected to the portal. Behind a proxy on the same machine, it is the client address the proxy passed on.request_idis the id your proxy sent in theX-Request-Idheader, when it is plain text of at most 64 characters, and a new id otherwise. - Your organisation only. The log shows only your organisation's rows. A feature switch an operator sets for your organisation shows as <name> (operator), with the old and new state (see Feature switches).
What you can and can't do
- See every change in the organisation, newest first, with who, what, when and how.
- Filter by person, action, subject and dates, and share the filtered address.
- Download up to 10,000 matching rows as CSV per download.
- Jump from a row to the thing it changed, or to the agent run it came from.
- Read the log without the admin role.
- Edit, hide or delete a row.
- See secret values: they are masked before they are written.
- Find pages people only looked at: reads are not recorded.
Troubleshooting
| You see | What to do |
|---|---|
| From is not a date (use YYYY-MM-DD); it was left out. (or To) | Type the date as year, month and day with dashes, such as 2026-11-02. |
| No rows match | Loosen the filter. Who matches part of a name, but Action or verb matches an action only when it is spelt exactly. |
| Reading the audit log needs an organisation admin | You are a member or viewer. Ask an admin. |
Related
- Permissions reference: the actions in the Action or verb filter.
- See how an answer was made: the trace behind a row's Trace link.
- Usage: model use, on the same admin right.
- Settings, page by page