unbound download exports your organization’s data as CSV — the same exports offered in the dashboard, from the terminal.
Requires Admin role. Run unbound status to check.
What can be exported
unbound download kinds also lists the filters each one accepts. It reads a list the CLI carries rather than asking the server, so a kind added to Unbound works before it appears here.
Export something
-o it writes a file named by the server in the current directory, and refuses to overwrite one that already exists.
Time range
Omit both and the server applies its own default window.
Filters
--search <text> matches free text, on the logs kinds only.
Repeat --filter with the same key to pass a list. Each value is sent separately, which is how the server reads list filters:
Check before you export
--check counts the rows without starting anything:
If you stop waiting
A large export takes a few minutes. The job ID is printed when it starts:--no-wait starts an export and returns the ID immediately, for a script that would rather collect it later:
Output flags
For scripts and agents
An export is prepared by a background worker, so it is three steps: start it, poll until it is ready, then download it.unbound download start does all three and blocks until the file is on disk.
Without -o, the destination depends on where output is going: a file named by the server when you are at a terminal, and stdout when it is piped or redirected. Diagnostics go to stderr either way, so the stream stays clean. The exit code is 0 on success and 1 on any error.
Requires CLI 1.15.0 or later. Tool Use data can also be exported with
unbound analytics tool-use <dataset> --format csv, which uses this same flow — see Analytics.
