Install the CLI
Authenticate
Use browser login (recommended):Create API keys from your PromptLoop settings page:
promptloop.com/account/settings
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install, authenticate, and run your first PromptLoop command in minutes
npm install -g @promptloop/cli
npx @promptloop/cli --help
promptloop auth login --browser
promptloop auth login --api-key YOUR_API_KEY
promptloop auth whoami
promptloop tasks list
promptloop tasks run YOUR_TASK_ID --inputs "https://promptloop.com"
promptloop batches create --task-id YOUR_TASK_ID --file ./input.csv
promptloop batches status YOUR_BATCH_ID --watch
promptloop batches results YOUR_BATCH_ID --wait
You are helping me run PromptLoop from the CLI.
1. Confirm I am authenticated:
- promptloop auth whoami
2. List available tasks:
- promptloop tasks list
3. Run a task:
- promptloop tasks run YOUR_TASK_ID --inputs "https://promptloop.com"
4. Run a batch from file:
- promptloop batches create --task-id YOUR_TASK_ID --file ./input.csv
5. Check progress:
- promptloop batches status YOUR_BATCH_ID --watch
6. Fetch results:
- promptloop batches results YOUR_BATCH_ID --wait
Ask me for missing IDs before executing commands.
promptloop auth whoami
promptloop tasks list
promptloop tasks run YOUR_TASK_ID --inputs "https://promptloop.com"
promptloop batches create --task-id YOUR_TASK_ID --file ./input.csv
promptloop batches status YOUR_BATCH_ID --watch
promptloop batches results YOUR_BATCH_ID --wait
