flow) is a command-line client for the same REST API documented in API Reference. Ask your Flow administrator how to get the CLI for your organization. Authenticate with API keys from Settings → API & MCP Access at https://app.letsflow.ai.
Global options on most commands:
Machine authentication uses an API key. The
--auth-principal-id flag is for development and test
environments. It sends the X-Flow-Dev-Principal-Id header, and the CLI omits it when an API key is
present. The --auth-org-id and --auth-team-id flags work with an API key. Flow uses them to
choose and check the organization and team.
First catalog request from the CLI
1
Configure API access.
Create an API key under Settings → API & MCP Access or use credentials from your administrator. Use
https://app.letsflow.ai/v1 as the API base URL in the examples below.2
List catalog items.
3
Inspect request schema.
4
Get the form reference.
The default text output does not include
form_ref. Request JSON output and extract it:5
Submit a request.
Command groups
Search and knowledge
Catalog and access
Automations and runs
Flow assistant
Webhooks and audit
API keys and setup
Choosing between text and JSON output
- Use
--output textfor interactive terminal use (default). - Use
--output jsonin scripts. Pipe tojqfor field extraction.
--verbose, request and correlation IDs help your administrator trace failures.