CLI
Install and use the Torale command-line interface.
Installation
bash
pip install toraleVerify installation:
bash
torale --versionAuthentication
Generate an API key:
- Log in to torale.ai
- Navigate to Settings → API Keys
- Create new key
- Copy the key (shown only once)
Configure the CLI:
bash
torale auth set-api-key
# Paste your API key when promptedVerify authentication:
bash
torale auth statusCreate a Task
bash
torale task create \
--query "When is the iPhone 17 being released?" \
--condition "Apple has announced a specific release date" \
--schedule "0 9 * * *"Preview Before Creating
Test your query without creating a task:
bash
torale task preview \
--query "When is the iPhone 17 being released?" \
--condition "Apple has announced a specific release date"Manage Tasks
bash
# List all tasks
torale task list
# Get task details
torale task get <task-id>
# Update schedule
torale task update <task-id> --schedule "0 */6 * * *"
# Pause task
torale task update <task-id> --inactive
# Delete task
torale task delete <task-id>View Results
bash
# View execution history
torale task logs <task-id>
# View only notifications (condition met)
torale task logs <task-id> --notifications-onlyNext Steps
- See all CLI Commands
- Learn about Configuration
- Read Authentication Details