Skip to main content
unbound analytics tool-use reads the Analytics → Tool Use tables from the terminal: what agents ran, which MCP tools they called, and which policies matched. Requires Admin or Analytics Viewer role. Run unbound status to check.

Datasets

Run mcp-servers first when you need a value for --server — it lists the names the other datasets accept.

Filters

All of these take comma-separated values and work on every dataset unless noted.

Output

The default is a table sized to your terminal, showing a curated set of columns. Use --wide, or --format json, to see the columns the table hides.
Use --format csv for everything, rather than paging a table.

Paging

Each page prints where it sits in the result set:
Paging stops at an offset of 25,000 — past that the request is rejected with Offset cannot exceed 25000. Use format=csv to export everything. A result set deeper than that is a job for --format csv, which returns every row in one file.

For scripts and agents

--format json is a stable contract:
Every cell is a string, and rows align to columns. Page with --offset next_offset until has_more is false — use the next_offset you were given rather than working one out, or pages will overlap. Diagnostics go to stderr and stdout carries only the payload, so it is safe to pipe. The exit code is 0 on success and 1 on any error.

Exporting

--format csv exports every matching row rather than one page. The file is prepared in the background and the command waits for it — see Exports for how that works, and for exporting Logs, Tasks and Users the same way.
Requires CLI 1.15.0 or later.