formo analytics command exposes Formo’s pre-built analytics pipes (the same data that powers the Formo dashboard) as terminal commands. Each pipe is a subcommand: formo analytics <pipe>.
Requires
query:read scope on your API key.formo analytics <pipe>
Pipes
Options
--params may not set date_from/date_to/filters; use the dedicated
--date-from/--date-to/--filters flags for those. Object/array values in
--params are JSON-encoded automatically (e.g. funnel’s steps).--filters
A JSON array of { field, op, value } filters, e.g. [{"field":"location","op":"eq","value":"US"}]. For multi-value matching, use in / nin with an array value (e.g. ["chrome","firefox"]); pipe-delimited strings remain supported by the analytics query boundary.
This one array carries every predicate. On the user-aggregate pipes (lifecycle, frequency) it also takes profile metrics, social identity fields, a lifecycle entry ({"field":"lifecycle","op":"in","value":["New","Power user"]}), and resource entries using the stable fields chains.balance, apps.balance, tokens.balance and labels.value with named qualifiers (chain_id, app_id, token_address, scope, tag_id).
--params (pipe-specific)
Some pipes take additional, pipe-specific parameters. Pass them as a JSON object via --params:
page_scope only affects requests that carry a page filter. The default scopes metrics to activity on that page; session restores the legacy behaviour where metrics include all activity in any session that viewed the page.
Examples
{ meta, data, rows, statistics }.