formo query command lets you execute SQL queries against your Formo analytics data warehouse directly from the terminal.
formo query <sql>
Run a SQL query against your Formo analytics data.
Requires
query:read scope on your API key.Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
sql | string | ✅ | SQL query string to execute |
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.
- Pipe the output to
jqfor JSON processing in scripts.