# edit-alert

The llm edit-alert command modifies an existing LLM alert within your project. It allows you to update details such as the alert name, description, metric, variable, threshold, notification email, and alert period.

## Usage

```
cldkctl llm edit-alert [flags]
```

## Aliases

```
edit-alert, modify-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 edit-alert --alert [alert id]
```

2. Replace \[alert id] with the ID of the alert you want to modify. You can find the alert ID by running the command in the llm list-alert section.
3. The terminal will display the current configuration of the selected alert.
4. Update the desired fields you need.

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

5. After completing your changes, a confirmation prompt appears asking Update this LLM Alert?. Use ←/→ to toggle between Update and Cancel, then press y or Enter to confirm the update, or n to cancel the operation

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

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

<figure><img src="/files/BZagF3XjLVSScZ4oyrtD" 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                          |
| ------------------ | ------------------------------------ |
| -a, --alert string | Specify the alert ID to edit.        |
| -h, --help         | Help for the llm edit-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/edit-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.
