show

Display the full result of an operation, including stdout and stderr from sandbox execution.

Examples

# Show operation details
contree show 3f2a7b...

# JSON output for scripting
contree -f json show 3f2a7b...

# Show result of a detached run
contree run -d -- make test
contree show UUID

Help output

$ contree show --help usage: contree show [-h] uuid Show the result of an operation. Fetches the operation by UUID and displays its status, duration, exit code, result image, and captured stdout/stderr. Terminal operations (SUCCESS, FAILED, CANCELLED) are cached locally to avoid redundant API calls. positional arguments:   uuid        Operation UUID or session entry (e.g., @12) options:   -h, --help  show this help message and exit for coding agents:   read-only command   terminal operation states are cached locally   use -f json for structured metadata + decoded stdout/stderr fields agent note:   Before using this command in an automated workflow, read:     contree agent

Output

The command displays:

  • uuid, kind, status, duration – operation metadata

  • exit_code – the sandbox process exit code (if completed)

  • error – error message (if failed)

  • image – resulting image UUID (for non-disposable runs)

  • tag – image tag (if assigned)

  • stdout / stderr – sandbox output (for default, json, and json-pretty formats)

For csv, tsv, and table formats, stdout/stderr are omitted – use default or json to see sandbox output.

See also

  • ps – list operations to find UUIDs

  • run – the command that creates operations