audit_history
Query past session logs by session, event type, tool, date, or status to debug failures and track AI audio operations. Return raw events or per-session summaries.
Instructions
Query past session log events with optional filters.
Args: session_id: Filter by session ID event_type: Filter by type (tool_call, waapi_call, tcp_command, session_start, session_end) tool_name: Filter by tool name since: ISO date string — only events after this timestamp status_filter: Filter by result status (ok, error) limit: Max rows to return (default 50, max 500) summary_only: If true, return per-session aggregates instead of raw events
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| tool_name | No | ||
| event_type | No | ||
| session_id | No | ||
| summary_only | No | ||
| status_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |