N
n8n CLI
Details
- Command
-
n8n-cli - Docs
- https://docs.n8n.io/connect/n8n-cli
Authentication
$ n8n-cli config set-api-key YOUR_API_KEY Log in to your n8n instance, then go to Settings > n8n API and select Create an API key. Choose a label and expiration; on Enterprise you can also choose scopes. Copy My API Key and use it in API calls or CLI config. Docs: Authentication.