If more than one is set, precedence is
--toon > --quiet > --json > pretty.
Pretty
The default in a terminal: tables for lists and key-value pairs for a single record. It is intended for people, not scripts.JSON
JSON wraps the resource body with breadcrumbs and, for list commands, pagination details:data is the array of records; the CLI removes the API response’s resource key. For show, data holds the API response body, such as { "article": { ... } }.
breadcrumbs is omitted when empty, and pagination appears only on list commands. The CLI automatically uses JSON when output is piped (a non-TTY); use --json to force it.
Quiet
--quiet returns only the data payload. For create and update, it prints the resource identifier; for delete, it prints success. This is useful in scripts:
TOON
--toon encodes the same data as TOON (Token-Optimized Output Notation). It keeps the JSON shape while compressing whitespace and keys, typically using 30–60% fewer tokens. Use it when giving list or show output to an AI assistant.
Pagination
List commands return results in pages. The flags below control paging, and the JSON envelope’spagination block shows your position in the result set.
Pagination Parameters
integer
The page of results to retrieve, starting from 1.
integer
The number of records to return per page (max 100).
Example Usage
Response Structure
For list commands the JSON envelope carries apagination block alongside the data:
integer
The total number of records across all pages.
integer
The total number of pages available.
integer
The page you are currently on.
integer
The number of records returned per page.
Default Behavior
If you omit both flags, the CLI lets the server use its defaults. Either flag overrides the defaults;--page-size accepts up to 100.
Best Practices
- To retrieve every page, increment
--pageuntilcurrent_page_number == total_pages. - Use
--jsonor--toonin scripts when you need thepaginationblock.--quietremoves the envelope, so it does not include pagination metadata. - Check
total_recordsbefore you begin to estimate the work involved.