List CLI Command

Send a request for a list of any instances of various types of objects. Currently, you can list a Dataset or a Workspace. A Dataset contains processed data ready to be queried, and a Workspace organizes most other objects, such as datasets.

list displays the ID, name, and other important properties of each object instance. To view the full information about an object, use the command:

observe get objecttype objectid

View the types of supported objects by running the following command:

observe list <objecttype> <substring>

For example, run the following command to list information about a Dataset:

observe list dataset Log

list Command Options

Short Command

Full Command

Description

-j

--json

Print records as JSON.

-w

--col-width int

Specify the maximum column width. Use 0 for unlimited.

-x

--extended

File contains OPAL query text.