Share and export
Turn any result into a no-login preview link with PII redacted, or page an entire result set to a file on disk.
Two ways to get a result out of the CLI: a link someone can open, or a file you can query.
Share links
eximagent share create --collectionId <id>
eximagent share list
eximagent share set-expiry --id <shareId> --days 14
eximagent share set-passcode --id <shareId> --passcode <value>
eximagent share revoke --id <shareId>
A share link is an anonymous, no-login web preview of a result. Contact PII is redacted in the shared view.
File export
eximagent analytics query \
--groupBy importer --measures shipments \
--out buyers.ndjson --format ndjson
eximagent analytics sql --query_sql "SELECT ..." --out rows.csv --format csv
--out auto-pages the entire result set to disk at 10,000 rows per page and
prints only a summary — row count, pages, columns, a three-row sample, and byte
size.
Analyse the file with code and read back only the aggregates:
duckdb -c "SELECT importer, sum(shipments) FROM 'buyers.ndjson' GROUP BY 1 ORDER BY 2 DESC LIMIT 10"
Choosing between them
| You want | Use |
|---|---|
| Hand a result to a colleague or buyer | share create |
| Compute something the CLI does not expose | --out and query the file |
| Keep a record outside the account | --out |