Skip to main content
The formo query run command lets you execute SQL queries against your Formo analytics data warehouse directly from the terminal.

formo query run <sql>

Run a SQL query against your Formo analytics data.
Requires query:read scope on your API key.

Arguments

Examples

Tips

  • SQL queries execute against your project’s analytics data warehouse.
  • Wrap your query in double quotes to prevent shell interpretation.
  • Use single quotes inside your SQL for string literals.
  • Pass --json and pipe the output to jq for processing in scripts (default output is TOON).