Skip to content

Work with output and pipes

Fabio writes successful data to stdout and diagnostics to stderr.

JSON is the default:

Terminal window
fabio workspace list

For a person:

Terminal window
fabio workspace list --output table

For shell pipelines:

Terminal window
fabio workspace list --output plain --query "[].id"

--query supports full JMESPath expressions. Like Azure CLI, it runs against the raw payload — the value under data — so you do not prefix expressions with data.. Query a list command’s array directly ([].id, [?…], [0].id) and an object command’s fields directly (id, properties.status). Count a list with the JMESPath idiom length([]).

Terminal window
fabio workspace list --query "[?contains(displayName, 'Prod')].{id:id,name:displayName}"

(By contrast, jq operates on the whole envelope, so there you write .data[].id.)

Project early to reduce output size and agent token use.

Use --limit for predictable response sizes:

Terminal window
fabio item list --workspace <workspace-id> --limit 25

Use --all only when every page is required. A continuation token can resume pagination without repeating earlier requests.