Skip to main content
Every command that returns data takes --output (or -o) and --query. --query takes a JMESPath expression and runs first; the format then renders the projected value.

jsonpath and JMESPath

The jsonpath support is a small subset: .key, [n], [*], quoted literals such as {"\n"}, and {range PATH}...{end}. Filters and recursive descent are not supported; use --query for those. Multiple jsonpath matches are joined by a space. Objects and arrays print as compact JSON.
Last modified on October 31, 2026