---
title: "Summarize one agent session"
description: ""
canonical: "https://pgbeam.com/docs/api/agents/getAuditSessionSummary"
last-updated: "2026-09-13T16:16:22.000Z"
---

# Summarize one agent session

> 

URL: https://pgbeam.com/docs/api/agents/getAuditSessionSummary

Groups a session's audit entries into one deterministic summary: the credentials and origins involved, the window it spans, how many statements were allowed, blocked, masked and truncated, the rows and bytes it moved, and the tables it read, wrote and was refused. No model is involved, so the same entries always summarize the same way. Returns metadata only (table names and counts), never row values, and requires the same audit:read permission the list and export endpoints do.