session_stats
Aggregate oracle usage across all instances to find which agents burn the most calls. Returns turn counts by status, oracle, and agent, plus fresh vs. total sessions.
Instructions
COORDINATION — aggregated oracle usage across ALL instances on this machine (unlike stats, which only sees the current instance's audit log). Turn counts (by status/oracle/agent) default to the last 24h (window_s: 86400); pass window_s: 0 for all retained history. Also returns fresh_sessions (heartbeat within the stale window) vs total_sessions, plus attributed_turns / unknown_turns. Defaults to this project; all_projects: true for the whole machine. Use it to answer 'which agents are burning the most oracle calls?' or 'how is the fleet doing today?'. Read-only, makes no model call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_s | No | Only count turns from the last N seconds. Default 86400 (24h). Pass 0 for all retained history. | |
| all_projects | No | Aggregate across all projects on this machine, not just the current one. |