Page cover

create-alert

The llm create-alert command creates a new alert for your LLM project. This alert monitors specific conditions such as coin balance or spending threshold, and automatically sends notifications when the configured criteria are met.

Usage

cldkctl llm create-alert [flags]

Aliases

create-alert, add-alert

Steps

Follow the steps below to run and view the result of this command:

  1. Run the following command in your terminal:

cldkctl llm create-alert
  1. The terminal opens an interactive interface (TUI) where you can input each alert configuration field step by step.

  2. Enter a name for the alert.

  3. Provide a short description of the alert.

  4. Choose the metric to monitor.

  5. Select the condition that triggers the alert.

  6. Enter the threshold value that determines when the alert should trigger.

  7. Enter one or more email addresses (comma-separated) to receive alert notifications.

  8. Specify how often the condition should be checked in the Period field.

  9. Select the time unit for the period.

  1. When all required fields are completed, the terminal displays a confirmation prompt “Create this LLM Alert?”. Use ←/→ to toggle between Confirm and Cancel, then press y or Enter to confirm, or n to cancel.

  1. Once completed successfully, a message "✓ LLM Alert created successfully!" will appear in your terminal.

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-h, --help

Help for the llm create-alert command.

Last updated