> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sureops.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit log

> Browse who changed what in your organization and when — fields, filters, pivots, and CSV export

The audit log is a record of changes made in your sureops organization: who did something, what they did it to, and — where the change is a before-and-after edit — exactly what changed. It lives in the app at **Audit log** in the sidebar, and it is separate from the per-incident timeline (see [Confidence & Audit Trace](https://docs.sureops.ai/operating-modes/confidence-and-audit-trace.md) for how the two fit together).

Viewing the list and individual records works on every plan. Only **CSV export** is an Enterprise capability — see [Export to CSV](#export-to-csv-enterprise).

***

## Who can see it

Owners, Admins, and Compliance Officers hold the `audit:read` capability and can open the audit log. Every other role doesn't get the sidebar entry; opening the address directly shows a card reading **You don't have access to the audit log** — *Owners, admins and compliance officers can view it. Ask an owner or admin for access.* See [Roles & Capabilities](https://docs.sureops.ai/administration/roles-and-capabilities.md) for the full capability list.

The log covers your whole organization. It isn't scoped to the environment you have selected.

***

## Open it

* Click **Audit log** in the sidebar. Like the other app pages, the entry is unavailable until you create an environment; its tooltip reads "available after you create an environment".
* Or press **Cmd+K** (or **Ctrl+K**) to open the command palette and type `audit`, `compliance`, `history`, or `activity`. The palette only offers the page to roles that can open it.

***

## The list

Records are listed newest first. The header shows how many records match your filters and a **Last updated** control to refresh the list. Each row shows:

* **Action** — what happened, as a dotted name such as `environment.update_mode`
* **Time** — in your browser's local time zone
* **Actor** — who did it: a name (when one is on record) and an [actor type](#actor-types) badge
* **Resource** — the kind of thing it was done to, and its id

Click a row to open the full [record](#a-single-record). Page through the list with the pager; the page size is 25 by default and can be set to 10, 25, 50, or 100.

If nothing has been recorded yet you see **No audit records yet**; if filters exclude everything you see **No audit records match these filters**.

***

## Filters

| Filter | What it does |
| - | - |
| **Actor type** | Show only one of the [actor types](#actor-types) |
| **Action** | Show only one action, for example `incident.resolve` |
| **Resource type** | Show only one kind of resource, for example `environment` |
| **Date range** | Pick a first and last day. The range runs from the start of the first day to the end of the last, in your local time zone, and both days are included |

The **Action** and **Resource type** lists show the values that actually appear in your organization's log, so you only ever pick something that can match. When any filter is set, **Clear filters** resets them all.

### Sharing a filtered view

Filters and the page you're on are kept in the page address, so you can copy it to hand a colleague who has audit access the same view. Dates are stored as absolute calendar days rather than "last 7 days", so a shared link shows the same days to whoever opens it.

Two more filters — **Actor** and **Resource** — don't have dropdowns. They come from [pivot links](#pivots) and show up as removable chips, **Actor: …** and **Resource: …**, above the list. Click the **×** on a chip to remove it.

***

## Actor types

Every row carries an actor type that says what kind of actor made the change.

| Actor type | Meaning |
| - | - |
| **Person** | A member of your organization acting in sureops |
| **SureOps system** | An automatic change sureops makes on its own — for example switching your default mode when the monthly budget cap is used up (`organization.auto_downgrade_to_guided`) and restoring it later (`organization.mode_restored_after_budget`) |
| **SureOps staff** | Our team acting directly in your organization — see [Activity by our team in your organization](#activity-by-our-team-in-your-organization) |
| **Service account** | sureops' own automation acting in your organization — for example setting up your demo environment, or a request made by a sureops support tool |
| **AI agent** | sureops skipping a fix PR for a problem because your plan doesn't include fix-PR generation (`fix_pr.generation_suppressed`) |
| **API key** | A use of one of your API keys, recorded as `api_key.used` at most once every five minutes per key. The actor is the member who created the key, and the resource is the key itself |
| **Connected app** | A use of an AI agent app a member has connected over OAuth (for example ChatGPT or Claude), recorded as `oauth_client.used` about once every five minutes per member and app. The actor is the member who connected the app, and the resource is the app |

The filter also lists **Anonymous**; activity in your organization isn't recorded under that type. What AI agents do during an incident is on the incident timeline, not in the audit log. The one agent action recorded here is the fix-PR skip listed under **AI agent** above.

A change made through the external API, with an API key or a connected app, is recorded like any other change: the actor is the member the key or app acts as, shown as a **Person**. The list shows who it acted through next to the actor's name, as **via key** followed by the key's name or **via app** followed by the app's name. The record's **Actor** line reads the same way, for example *Ada Lovelace via key ci-bot*. The same label follows the member's name on the incident timeline and in the Command Center activity feed.

***

## A single record

Click any row to open its record. The heading is the action and the time it happened. Below it:

**Who and what** shows the actor (name plus actor-type badge) and the resource (type and id). When the resource has a page in the app, an **Open …** link takes you there — for example **Open incident**. If an incident, problem, or alert has since been deleted, its link opens that page's not-found state. Some kinds of resource have no page of their own (for example API keys, MCP servers, and teams), so they show no link.

When our team acted as one of your users, the actor row also reads **Acted as … by SureOps staff**. The name is the user's name, or their id when no name is on record.

**Details** lists the extra facts recorded with the action — for example an incident id or a reason — as labelled fields. Nested values appear as compact JSON.

**Changes** appears when the action edited something. How each line reads:

| Line | Meaning |
| - | - |
| Old value struck through → new value | The value changed |
| **set to** *value* | A value that was added or set, with no earlier value to compare |
| **was** *value* | An earlier value recorded without a matching new one |
| **unchanged** *value* | Both sides were equal |

Nested settings are shown as a path, for example *Budget config › incident › max llm calls*.

Below the cards, **Show raw JSON** expands the full record exactly as sureops stores it. If you open a record that doesn't exist, or that belongs to another organization, you see **Audit record not found**.

### Where the Open link goes

| Resource type | **Open …** goes to |
| - | - |
| `incident`, `problem`, `alert` | That incident, problem, or alert |
| `approval` | The incident the approval belongs to |
| `agent`, `global_ai_config`, `llm_keys` | **Settings → Environment → AI Agents** |
| `integration` | **Settings → Environment → Integrations** |
| `environment` | **Settings → Organization → Environments** |
| `organization_member` | **Settings → Organization → Team** |
| `organization` | **Settings → Organization → Details**; budget changes open **Settings → Organization → Budget** |

The AI Agents and Integrations tabs belong to an environment, and audit records don't carry one, so those links open whichever environment you currently have selected.

***

## Pivots

Two links at the bottom of a record turn it into a question:

* **All changes to this resource** opens the list filtered to that resource type and id — the history of that one incident, environment, or integration.
* **Everything this actor did** opens the list filtered to that actor — every action by that person or account.

Each link appears only when the record has the id it needs. The actor link is also left off for the service-account and anonymous actors, because those ids cover many unrelated rows. For an **API key** or **Connected app** row, **Everything this actor did** filters on the member who created the key or connected the app, so it also lists that member's own rows, including changes made in the app. The result is the ordinary list with an **Actor: …** or **Resource: …** chip, so you can combine it with the dropdowns and the date range, and remove the chip when you're done.

***

## What's redacted

* **Secrets.** When a setting is recorded as a before-and-after change, a field whose name marks it as a secret (for example a token, password, or API key) shows `<redacted>` on both sides. In web addresses, embedded credentials are removed and any query string or fragment is replaced with `<redacted>`. A field redacted on both sides reads `<redacted> → <redacted>`, never **unchanged**, because the redaction hides whether it changed.
* **Cost.** Unless your organization uses its own LLM keys ([BYOK](https://docs.sureops.ai/ai-agents/byok-vs-managed.md)), dollar and budget figures are replaced with `<redacted>` when you read the log. On the actions that change a budget, every value is hidden; elsewhere, everything stored under a budget setting is hidden — including caps that aren't dollar amounts, such as a maximum number of LLM calls — along with any field named as a dollar amount and dollar figures in budget-breach reasons. The keys stay visible, so you can still see *which* field changed. BYOK organizations see the values. See [Budgets & Cost](https://docs.sureops.ai/administration/budgets-and-cost.md).

***

## Export to CSV (Enterprise)

**Export CSV**, at the top of the list, downloads the records that match your current filters.

* Plan: **Enterprise**. On every lower plan the button is disabled behind a lock overlay and nothing is requested. See [Pricing & tiers](https://docs.sureops.ai/getting-started/pricing-and-tiers.md) (the *Audit Log Export* row).
* Rows: the newest **5,000** matching records, newest first. When more match, the page says so — *Exports the newest 5,000 of N matching records. Narrow the date range to export the rest.* — so a larger history is exported in date-range slices.
* Columns: `id`, `actorType`, `actorId`, `actorName`, `action`, `resourceType`, `resourceId`, `createdAt`. The file has no before/after changes and no details — open the record for those.
* File name: `audit-log-YYYY-MM-DD.csv`, using today's date in your local time zone.
* Spreadsheet safety: a cell that begins with `=`, `+`, `-`, `@`, a tab, or a carriage return is written with a leading apostrophe, so a spreadsheet shows it as text instead of running it as a formula.

***

## What gets recorded

The audit log records changes people and sureops make to your organization's configuration and incidents. Each area below lists example actions exactly as the **Action** dropdown shows them. The table gives the main areas, not a complete list — your own **Action** dropdown is the definitive list for your log.

| Area | What's recorded | Example actions |
| - | - | - |
| Incidents | Creating and editing incidents, moving stages, taking, extending, and releasing control, escalating, resolving, reopening, changing an incident's mode, resetting its budget, closing it as stale | `incident.stage.progress`, `incident.control.take`, `incident.resolve`, `incident.update_mode`, `incident.budget.reset`, `incident.closed_stale` |
| Approvals | Approving, rejecting, manually executing, or re-diagnosing | `approval.granted`, `approval.rejected`, `approval.manually_executed`, `approval.rediagnose` |
| Problems | Creating and editing problem records, approving the root-cause analysis, syncing to your tracker, action items | `problem.create`, `problem.approve_rca`, `problem.sync_to_tracker`, `problem.update_action_item` |
| Alerts | Acknowledging alerts, moving them between incidents, and incoming alerts dropped by one of your exclusion rules | `alert.acknowledged`, `alert.unacknowledged`, `alert.excluded`, `alert.relocated` |
| Environments | Creating, editing, and deleting environments; agent-autonomy mode; incident policy; budget configuration; recovery cooldown; storm guard; incident channels | `environment.create`, `environment.update_mode`, `environment.update_budget_config`, `environment.update_incident_policy` |
| Organization settings | Settings, agent-autonomy mode, budget, incident policy, issue-tracking configuration | `organization.update`, `organization.update_mode`, `organization.update_budget`, `organization.update_issue_tracking_config` |
| Members | Inviting, re-sending invites, changing roles, removing | `organization.member.invite`, `organization.member.invite_resent`, `organization.member.update_role`, `organization.member.remove` |
| Your profile | Profile edits | `profile.update` |
| AI agents | Configuring agents, the global AI configuration, LLM keys, tool settings | `agent.configure`, `agent.global_config.update`, `agent.llm_keys.update`, `tool_metadata.edit` |
| Integrations | Connecting, editing, and removing integrations; OAuth; webhook secrets; GitHub App installs; Slack identity links | `integration.create`, `integration.oauth_complete`, `integration.webhook.regenerate_secret`, `integration.github_app.installed` |
| Slack | Incident channels and approval requests posted by sureops. These rows show a **Person** badge for the person whose approval triggered the post, or no name when no one did | `slack.channel_created`, `slack.approval_request_posted`, `slack.users_invited` |
| API keys, connected apps and MCP servers | Creating and revoking API keys, and each use of a key or connected app (about once every five minutes per key, or per app and member); turning Agent access on or off and revoking all agents; adding, editing, and removing MCP servers | `api_key.create`, `api_key.used`, `api_key.revoke`, `oauth_client.used`, `agents.access_disabled`, `agents.revoked_all`, `mcp_server.create`, `mcp_server.delete` |
| Knowledge base | Generating a starter contract, switching the source repository, re-ingesting, validating, pausing and resuming automation | `contract.starter.generate`, `contract.transfer`, `contract.reingest`, `contract.automation.paused` |
| External actions | Resolving an external action that needed manual recovery | `external_action_claim.resolve` |
| Requests | Asking for a roadmap feature or a trial extension | `feature_requested`, `feature_interest_tracked`, `episode.trial_grant.request_extension` |

***

## Activity by our team in your organization

Activity by our team in your organization can appear in your audit log in these shapes:

* **Direct operations.** Recorded with the actor type **SureOps staff** — for example changing your plan, granting trial credit or overage overrides, refreshing integration credentials, and setting up the knowledge-base webhook. It also covers agent tuning:
  * `ai_feedback.promoted_to_agent_tuning` (resource type `ai_feedback`): our team turned feedback your team submitted on an agent output (see [AI feedback](https://docs.sureops.ai/using-sureops/analytics.md)) into a tuning for your organization's agents. The resource is that feedback. **Details** shows a **Tuning id**, and a **Pr url** when a pull request in your repository was opened at the same time.
  * `agent_tuning.promoted`, `agent_tuning.promote_blocked` and `agent_tuning.promote_failed` (resource type `agent_tuning`): our team shared, or tried to share, a tuning with your repository as a pull request. `promoted`: a pull request in your repository shows the tuning, and **Details** shows its address as **Pr url**. `promote_blocked`: the share wasn't allowed, and no pull request was opened. `promote_failed`: no pull request could be opened.
* **Acting as one of your users.** The row's actor is that user, shown as a Person, and the record reads **Acted as … by SureOps staff**. **Show raw JSON** includes the full stamp and identifies the staff account that acted.
* **Access records.** `staff.impersonate.read` and `staff.impersonate.mutate` for requests made while viewing your organization; `staff.impersonate_user.read` and `staff.impersonate_user.mutate` for requests made while acting as one of your users; and session rows named `staff.impersonate_user.start`, `staff.impersonate_user.stop`, `staff.impersonate_user.mutate_intent`, and `staff.impersonate_user.denied`. The resource type is `http_request`. For the per-request read and change rows, **Details** shows the request method, path, and response status. The actor is the staff account that viewed or acted — a Person, or a Service account.

When our team switches into your organization in the app, the requests they make there are recorded as access records, on a best-effort basis. These records are not a complete record of every way our team can access your data. While acting as a user, repeated identical page views may be recorded once per 15 minutes rather than every time.

***

## What's not in the audit log

* **AI-driven closures and automatic control auto-releases** appear on the incident timeline, not in the audit log. AI agents' work during an incident is on the timeline too.
* **Compliance-tag changes** are recorded in a separate compliance audit trail — see [Security & compliance](https://docs.sureops.ai/operating-modes/security-and-compliance.md).

***

## The log is append-only

The audit log can be read and exported, but not edited or deleted by anyone through sureops: there is no way to change or remove an individual record. Deleting your organization deletes its audit log along with everything else.

***

## Related

* [Roles & Capabilities](https://docs.sureops.ai/administration/roles-and-capabilities.md) — which roles can read the audit log
* [Team management](https://docs.sureops.ai/administration/team-management.md) — invites, role changes, and removals, all recorded here
* [Confidence & Audit Trace](https://docs.sureops.ai/operating-modes/confidence-and-audit-trace.md) — how the audit log relates to the incident timeline
* [Pricing & tiers](https://docs.sureops.ai/getting-started/pricing-and-tiers.md) — which plans include CSV export


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.