On this page
Kater CLI Delete and restore trash
kater trash list
Lists what you can see in the Trash, the newest first: what you deleted, what was deleted from your folders, and what your own objects read.
An Admin or a Developer sees every delete. Each row gives its id, which kater restore and kater trash fix take.
Examples
# List the Trashkater trash list# List the queries and charts that were deleted from workspaceskater trash list --type query --type chart --layer workspace# Find deletes with sessions in their name, the most affected firstkater trash list --search sessions --order -affected# List Needs a fixkater trash list --fixOptions
It also takes the global options --json and --help.
What it answers
Each delete gives its id, its label and path, its layer, whose it was, who deleted it, where and when, and the number of objects it affects. It gives the kater restore command when you can restore it, or else the person who can. With --fix, each deleted object gives the number of objects and parts to fix, Kater’s fix, and the kater trash fix command that reviews it.