What Gets Logged
For every tool call, Civic records:- Tool name — e.g.
get_events,send_gmail_message,search_drive_files - Parameters — the exact inputs passed to the tool
- Response — the result returned from the external service
- Timestamp — precise time of execution
- Agent identity — which session or toolkit made the call
How to Access Audit Logs
Audit logs are currently accessible via Civic Chat. A UI view is coming soon. Open app.civic.com and use the Audit Agent with natural language queries.Aggregated Summary
Get a high-level overview of agent activity:Line-by-Line Detail
Get the full record with timestamps and parameters:CSV Export
Export the full log for analysis or incident response:Searching for Specific Activity
What Audit Can Answer
Incident Response with Audit
If something unexpected happened, this is the workflow:1
Revoke first
If the agent may still be active, revoke access immediately before investigating. See Revocation.
2
Export the log
Ask the Audit Agent for a CSV export covering the relevant time window.
3
Identify the sequence
Look for the tool calls immediately before and after the suspicious activity. Parameters often reveal what the agent was trying to do.
4
Check guardrails
Review whether guardrails would have blocked the problematic action. If not, add them before re-authorizing.
5
Re-authorize with minimum scope
Only re-enable the specific tools required. Consider whether the toolkit scope was too broad.
Limitations
- Hub layer only — Local agent actions (file writes, shell commands, network requests outside the Hub) are not captured
- No real-time streaming — Logs are available for query after the fact, not as a live stream
- 30-day retention — Logs older than ~30 days are not available via Chat export
- 5,000 line CSV limit — Export in multiple segments for longer time ranges
Revocation
How to immediately stop agent access at any granularity
Guardrails
Prevent problematic tool calls before they happen
Civic Chat
The Audit Agent and how to use it
Secret Management
How credentials are stored and isolated

