# 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
```

2. The terminal opens an interactive interface (TUI) where you can input each alert configuration field step by step.
3. Enter a name for the alert.
4. Provide a short description of the alert.
5. Choose the metric to monitor.
6. Select the condition that triggers the alert.
7. Enter the threshold value that determines when the alert should trigger.
8. Enter one or more email addresses (comma-separated) to receive alert notifications.
9. Specify how often the condition should be checked in the Period field.
10. Select the time unit for the period.

<figure><img src="/files/EqaOP3J1osLYCqIcvmZb" alt=""><figcaption></figcaption></figure>

11. 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.

<figure><img src="/files/SDnQYggpp0WbsfJDfFb8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/ku7ELNVsTwnFwgGgN6oY" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guidance-for-individual/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                            |
| ---------- | -------------------------------------- |
| -h, --help | Help for the llm create-alert command. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-llm/create-alert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
