> ## 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.

# Confidence & Audit Trace

> How sureops surfaces its reasoning and decision history so you can calibrate trust over time.

sureops records what its agents do and the key human decisions on each incident, across the incident timeline and the audit log — see [Audit log](https://docs.sureops.ai/administration/audit-log.md) for what the audit log records. This page explains what you can see, what confidence scores mean, and how to use the audit trace to calibrate your trust settings over time.

## Confidence scores

### What they mean

Confidence is not limited to diagnosis — six typed stages each produce their own confidence score: triage, root cause, recommendation, verification, recovery, and closure readiness. (Detection and resolution deliberately show no confidence dial — there's nothing yet to score at detection, and resolution is execution, not a judgment call.) Each score reflects how well the agent's output at that stage is grounded in the telemetry evidence it gathered.

Confidence is shown as an **integer from 0 to 100**, mapped to one of three bands:

* **Green (70–100)**: Multiple independent signals point to the same conclusion. Logs, metrics, and traces all corroborate.
* **Amber (40–69)**: Strong primary signal, but some corroborating data is missing or ambiguous.
* **Red (0–39)**: Limited evidence, or the available signals are conflicting. The agent is flagging this as a hypothesis, not a finding.

Each score comes with a short label in plain words, such as "Backed by corroborating evidence" or "Confirmed from metrics". The **Why this confidence?** panel under the confidence dial, in an incident's AI Analysis, explains what backs the score, what was ruled out, what limits it, and how it moved since the last round. The raw scoring inputs, such as the model's self-rating and the caps applied to the score, are not shown to your organization.

### Per-recommendation confidence

Confidence is stamped per recommendation, not just per stage. A diagnosis run may produce one high-confidence root cause and one lower-confidence secondary hypothesis. You can approve the high-confidence action and re-investigate the second.

### How confidence affects auto-approve

If you have **Auto-execute low/medium-risk fixes** (`autonomous_execution`) turned on, the system uses risk classification (not confidence) as the auto-approve gate. However, confidence is shown on each recommendation in the incident's Recommendations section, so you can decide whether a low-confidence finding warrants a manual review even for a normally auto-approved risk level.

***

## Decision trace

Every action the agent takes is written to the incident timeline as a structured entry. This gives you a step-by-step record of what the AI did and why.

### What the timeline shows

> [card] Stage transitions
>
> When each stage started and completed, with the triggering reason (AI-driven, human-approved, or human-manual).

> [card] Tool calls
>
> Every query to an observability tool — metric queries, log searches, trace lookups — with the inputs and outputs.

> [card] Recommendations
>
> Each recommendation as it was presented, with the reasoning the agent provided and the risk classification.

> [card] Approval decisions
>
> Who approved or rejected each recommendation, when, and from which interface (in-app, Slack).

> [card] Human control events
>
> When a human took control, released it, moved a stage forward or back, marked handed-off fixes as applied, resolved the incident, or closed it as stale. Including any rationale they provided.

> [card] Re-investigation rounds
>
> Each diagnosis re-run, why it was triggered, and what focus the agent was given. Prior rounds stay visible for comparison.

### Agent-derived and observed facts

The timeline and the post-incident RCA both show agent-derived conclusions (for example, a severity the agent inferred from metadata because a stage was skipped) alongside directly observed facts from your telemetry, with the reasoning for each entry included. There is currently no dedicated UI label that tags an individual entry as inferred versus observed — read the reasoning attached to each entry to see how the agent arrived at it.

***

## Audit log

The audit log is a structured record of changes made across your organization: approvals and rejections, taking and releasing control, manual stage moves, manual resolution, role changes, and settings and agent-autonomy mode changes, each with the actor, the target, and the timestamp. It is distinct from the per-incident timeline in scope and purpose.

Owners, Admins, and Compliance Officers browse and filter it in the app under **Audit log** in the sidebar, and can export it to CSV on the Enterprise plan. See [Audit log](https://docs.sureops.ai/administration/audit-log.md) for the fields, filters, and the actions it records.

AI-driven closures and automatic control auto-releases appear on the incident timeline, not in the audit log.

Each use of an API key is recorded in the audit log, with actor type API key and the action `api_key.used`, at most once every five minutes per key. Keys are created in Settings → Profile, and the actor on each entry is the key's creator. Use of an AI agent app a member connected over OAuth is recorded too, with actor type Connected app, the action `oauth_client.used` and the member who connected it as the actor, about once every five minutes per member and app. Changes an agent makes through a key or a connected app name both the member and the key or app (for example *via key ci-bot* or *via app ChatGPT*).

The log is append-only: no API lets anyone edit or delete an entry. Deleting your organization deletes its audit log along with everything else.

***

## Using the trace to calibrate trust

The decision trace and audit log are the primary tools for expanding or contracting your automation trust settings.

### When to widen autonomy

Look at the last 20–30 auto-approved incidents:

* Were the root cause diagnoses accurate? (Check: did the resolution fix the issue, or did verification fail and require a second loop?)
* Were confidence scores on auto-approved actions consistently high?
* Were there any unexpected side effects from actions taken?

If the pattern is clean and your ceiling is set to **Low only**, consider widening **Maximum auto-executed risk** (`max_auto_risk`) to **Low and Medium** (the default when auto-execute is first turned on). The Settings UI sets this ceiling at organization level; per-environment ceilings are API-only today, so ask your onboarding contact to set one for a single environment.

### When to tighten

Watch for:

* Low-confidence diagnoses that were auto-approved and led to verification failures
* Recommendations meant to execute as a fix PR or go to a human being misclassified as directly runtime-executable
* Any approval that in retrospect should have been rejected

Tighten by lowering **Maximum auto-executed risk**, or temporarily switching the environment to Supervised mode while you investigate.

### Human control decisions in post-incident RCA

When a human manually moves an incident to the next stage, steps it back, or resolves it with a note, those decisions appear explicitly in the post-incident root cause analysis. The RCA includes a "Human Control Decisions" section listing every manual action with its stated rationale and the actor.

This means your in-the-moment comments when taking manual actions become part of the permanent record used for future learning.

***

## What you cannot change

The audit trail is append-only by design. You can read and filter it in the app (and via the API), but you cannot edit or delete entries — no update or delete endpoint exists for audit log rows, so this is enforced at the API surface itself.

CSV export of the audit log is an Enterprise-plan capability — see [Audit log](https://docs.sureops.ai/administration/audit-log.md#export-to-csv-enterprise).


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