Skip to main content
Version: Studio 2.2.32

Lens Audit

Lens Audit brings one chat's or Flow execution's recorded work into a single reading surface: the request and outcome, what was produced, what needed judgement, the resources used, the evidence and controls, and every recorded activity. Use it to review a piece of work after the fact, for example a risk pack or an attribution run, and to download its audit pack.

Choose a record​

  1. Choose Lens Audit in the Dock. The page reads "Review outputs, decisions and supporting evidence."
  2. Choose Chats (the chats you own and the shared chats you are in) or Flow executions. The list is a table of 20 records to a page. Chats has the columns Chat (with its status and agent version, and Shared while other people are in it), Owner ("You" for your own), People (each person and their role, or "Not shared"), Created, Last activity and Messages; Flow executions has Flow / run (with its status, version and trigger), Started, Completed, Duration and Progress.
  3. Narrow the page with Search chats or Search Flow Runs, and order it with the sort menu or a column header; both apply only to the records on the current page. Page through with the controls at the foot of the list.
  4. Choose a record. The breadcrumbs read Lens Audit and "Chat record" or "Flow execution record"; choose Lens Audit to return to the list.

Refresh records in the Action Bar reloads the list. An empty page of chats reads "No recorded chats on this page".

Read the review​

The record opens on Review. The tabs across the top, or Audit view on a narrow screen, switch between six views.

ViewWhat it shows
ReviewRequest and outcome: the Initial request and the Latest recorded agent response (or the Recorded execution summary for a Flow execution, with its recorded run inputs). Explore the record asks four questions, each with counts: "What was produced?", "What needed judgement?", "Which resources were used?" and "What evidence and controls were recorded?". Review scope gives the scope, the number of recorded activities and the first and last recorded times. Record information gives a chat's Status, Last activity and Created time.
OutputsProduced outputs: each declared file and chart, newest first, with "Produced by @step" or "Producer not recorded" and its time.
DecisionsApproval history: each recorded response with its exact feedback and phase, and each request still "Awaiting decision". Execution exceptions: failed, blocked, needs-re-run and cancelled tasks, and failed tool, Kernel and Data Bridge calls, including failures followed by a successful retry.
Usage & resourcesTokens: recorded input, output and total tokens, then Recorded response counters and Recorded step usage. Agents, Intelligence Graphs (retrievals, distinct concepts and Created graph versions) and Data Bridge (connections referenced by recorded calls, including unsuccessful attempts).
Evidence & controlsSources and oversight: Sources and retrievals, Governor interventions and Approval history, each with counts. Data protection when the record has it. Understanding this record: how many activities have no timestamp, and how to read the inventory.
Lens TimelineEvery recorded activity, oldest at the top, with Search audit activities, Collapse all and Filter.

For a chat that was shared, Review also shows People and access ("Who owns this chat, who else is in it, and whose access every request used."): the Owner, the People, Access ("Every request in this chat ran with Sam Taylor's access.") and Shared with the time and the text the owner confirmed. Membership and requests lists, oldest first, each Shared, Joined, Role changed, Removed and Read only change and each Request with who asked and whose access it ran with. These lines are written by Studio as they happen; nobody can edit them, the owner included.

Selecting an output, decision, exception or input opens Lens Timeline at that activity. Sources and retrievals, Governor interventions and Approval history open Lens Timeline filtered to that category. Read the complete timeline opens it at the latest activity.

Allowed by approval rules​

From Studio 2.2.16, Lens Audit has a section Allowed by approval rules. It reads "N requests decided without asking anyone. Open an entry for the action, the target and what decided it." It lists every request that an approval rule, Don't ask, nobody answering or your organisation's policy decided for you (Approval modes and rules). Each entry names the action and its target, for example "Send data outside your connections · example.com", with one of these statuses and where it came from:

Decided byStatusSource shown
RuleAllowed by rule"Rule set by Sam Taylor", "Rule set by Sam Taylor for this run", "Approval rule on this Flow" or "Approval rule for this run", then "Rule:" and the rule's own label.
Don't askAllowed by Don't ask"Don’t ask on this Flow" or "Don’t ask in this chat".
Nobody answeredAllowed when nobody answered"Nobody answered in time": the Flow's When nobody answers setting.
OrganisationRefused by your organisation"Your organisation never allows this: Delete from connected storage", where the action is on your organisation's Never allowed list.

With none, the section reads "Nothing decided by approval rules" and "No request in the available record was decided by an approval rule, Don’t ask, nobody answering or your organisation."

A request that was not run because nobody answered is not in this section: it reads "Not run: nobody answered" in Approval history. Lens Timeline shows the entries of this section as well, and an approval in the history says in words whether a person, a rule, Don't ask or the wait decided it.

Search the timeline​

  1. Open Lens Timeline. The status line reads, for example, "84 of 212 activities · Export includes all recorded data · Display times are local; CSV timestamps are UTC".
  2. Type in Search audit activities. It matches titles and details, and also IDs, run and step identifiers, approval feedback, reasoning text and the original recorded payloads.
  3. Use Filter to choose categories (Conversation, Approval History, Work and Decisions, Outcomes, Sources, Executions and Reasoning, Governor) or event types within them, or tick Needs Attention.
  4. Open an entry to read it. Opening a step, file or detailed view takes you into the chat or Flow execution itself; View in chat on a message opens the chat at that message.

Data protection​

For a Flow execution, Data protection shows the policy that applied and what redaction recorded:

FieldWhat it records
Effective PII mode, Categories, Applies to, Semantic passThe policy in force for the run.
Redaction applied, Redaction complete"Yes", "No" or "Not recorded".
Values redacted, Rows dropped, Semantic calls, Call cap reachedThe recorded totals.

The stages follow, then Recorded policy and redaction report with the full records, and Full execution details for the run. For a chat, the section appears only when the history holds redaction activities, and lists them. See PII redaction.

Download the audit pack​

  1. Wait until the line under the record reads "Audit pack ready · All available activity, CSV index and JSON records". Until then it reads "The audit pack becomes available when recorded history has loaded."
  2. Choose Download audit pack (ZIP) in the Action Bar. Studio prepares the pack in your browser and downloads lens-audit- followed by the date and time.

The pack holds the complete recorded history, whatever view, filter or search you have on screen:

FileContents
activities.csvOne row per activity, original source record and context record, with its ID, UTC time, categories, type, title, run and step, status, file path, approval phase, decision and feedback, tool name, error and duration. The record_json column names the row's JSON document.
records/activities/, records/sources/, records/context/One complete JSON document per row, including raw payloads, tool inputs and recorded tool results.
manifest.jsonThe pack's format, export time, counts and scope.
README.txtHow to read the pack.

Open Chat or Open Flow execution in the Action Bar returns to the live record. Everyone in a shared chat can download its audit pack.

Notes​

  • "The record shows what was captured. It does not verify file contents, recover omitted data or establish a compliance verdict." Output declarations do not preserve earlier versions of a file.
  • The pack holds file paths and keys, not file contents; download files from Folio.
  • Missing timestamps stay empty in the pack. A cell that starts with =, +, - or @ is written with a leading apostrophe so spreadsheets do not run it as a formula.
  • Token figures "are recorded usage figures, not a billing total. Missing counters are not treated as zero."
  • "Some run data was purged": parts of the original evidence may no longer be available.
  • "No effective PII policy is recorded in this history. That does not establish that redaction was off."
  • "Unable to load the available records." or "Unable to prepare the audit ZIP pack. Please try again.": choose Try again.