> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/maiagent-user-guide/en/build/agent-ops/evaluations.md).

# Automated Evaluation and Agent Monitoring

AgentOps automated testing and evaluation: assess response quality with test cases, and use Agent monitoring to review performance, cost, and user thumbs-up/thumbs-down feedback.

## Auto Evaluation <a href="#auto-evaluation" id="auto-evaluation"></a>

Auto Evaluation lets you use pre-built test datasets to automatically test the response quality of your Agent. The system sends test questions to the Agent, compares the actual responses with the expected responses, and generates a detailed evaluation report.

### Access Auto Evaluation <a href="#access-auto-evaluation" id="access-auto-evaluation"></a>

In the left sidebar, go to "<mark style="color:blue;">AgentOps</mark>" and click "<mark style="color:blue;">Automated Testing</mark>".

The page lists all evaluation records, including evaluation name, test set, Agent, success rate, average seconds, and creation time.

### Create and Run a Test <a href="#create-and-run-test" id="create-and-run-test"></a>

1. Make sure you have created a test dataset (see [Test Dataset Management](/maiagent-user-guide/en/build/agent-ops/test-datasets.md))
2. Click the "<mark style="color:blue;">Create Evaluation</mark>" button
3. Enter a name and description, then select a test set, an AI assistant, and an [evaluation model](#evaluation-llm)
4. Click "<mark style="color:blue;">Confirm</mark>". The system first opens the "<mark style="color:blue;">Confirm Evaluation Cost</mark>" window, which lists the estimated Credits for this evaluation and your current balance
5. If everything looks right, click "<mark style="color:blue;">Confirm and Start Evaluation</mark>" and the system runs all test cases automatically; to change the settings, click "<mark style="color:blue;">Go Back and Edit</mark>"

You can also use the API to create test sets, run evaluations, and read results—for example, to automatically rerun the same test set from your own system after you adjust an Agent's settings. For endpoints, required permissions, and how Credits are calculated, see [Evaluations and Test Sets](https://docs.maiagent.ai/api/api-reference/ping-gu-he-ce-shi-ji) in the API documentation.

{% hint style="info" %}
Evaluation time depends on the number of test cases. 50 test cases typically take about 2-3 minutes.
{% endhint %}

### Evaluation Model <a href="#evaluation-llm" id="evaluation-llm"></a>

The evaluation model is the LLM that scores the Agent's answers. Based on each metric, it judges whether the reply is faithful to the retrieved content, whether it addresses the question, and so on. Custom metrics are also scored by it according to the evaluation criteria you write. In multi-turn evaluations, it also plays the simulated user and judges whether the expected outcome has been achieved. Choosing an evaluation model does not change the model the Agent uses to answer.

* **Default**: "<mark style="color:blue;">Select Evaluation Model</mark>" in the Create Evaluation window is required. The system's default evaluation model is marked "<mark style="color:blue;">Default</mark>" and filled in automatically; you can pick another model from the list.
* **Available models**: The list shows all enabled language models on the platform as "Model name (provider)", where the provider is shown as a system code, such as "(bedrock)" or "(openai)". Self-hosted vLLM models connected by the system administrator are also listed. Custom models that your organization created in AI Gateway do not appear in this list.
* **How to choose**: The capability of the evaluation model directly affects how trustworthy the scores are. Weaker models are prone to misjudgments or may fail to return judgments in the required format; a metric the evaluation model cannot score is given the lowest score and marked as failed, with no explanatory text. We recommend choosing a more capable model, and using the same evaluation model whenever you compare results on the same test set.
* **Cost**: Evaluation model usage is charged in Credits at the model's rate, and is usually the largest item in the evaluation cost. When the evaluation model accounts for the largest share in the "<mark style="color:blue;">Confirm Evaluation Cost</mark>" window, it shows the message "<mark style="color:blue;">The evaluation model accounts for most of the cost. Switching to a lighter model can greatly reduce it.</mark>"; click "<mark style="color:blue;">Change Evaluation Model</mark>" to return to the Create window and choose another one.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-44872deb05f317faec9f90d5ea3f20b567abb593%2Fevaluation-llm-select.png?alt=media" alt="The Select Evaluation Model dropdown in the Create Evaluation window, listing models by name plus provider, with Claude 5.5 Sonnet (bedrock) marked as the default"><figcaption><p>Select the evaluation model: the system's default model is marked "Default" and filled in automatically</p></figcaption></figure>

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-851bcd935dbd630718d0972944fc579e6b400143%2Fevaluation-cost-confirm-llm.png?alt=media" alt="The Confirm Evaluation Cost window, with the evaluation model marked as the largest share, and a prompt below suggesting a lighter model with a Change Evaluation Model link"><figcaption><p>When the evaluation model accounts for the largest share, click "Change Evaluation Model" to return to the Create window and choose another one</p></figcaption></figure>

### Use Custom Evaluation Metrics <a href="#custom-evaluation-metrics" id="custom-evaluation-metrics"></a>

In addition to the built-in metrics, you can define your team's own scoring criteria in natural language. For example, Mai, a customer service manager, wants to confirm that her support assistant stays polite and empathetic. She creates a "Support Tone" metric, writes the judging criteria, and sets a pass threshold. Once the evaluation is complete, she can view the "Support Tone" score for each case in the results and find the replies that need adjustment.

{% stepper %}
{% step %}
When creating an evaluation, complete the basic settings such as name, test set, Agent, and evaluation model.
{% endstep %}

{% step %}
In the "<mark style="color:blue;">Custom Metrics</mark>" area, click "<mark style="color:blue;">Add Custom Metric</mark>" and enter an easily recognizable metric name and the evaluation criteria.
{% endstep %}

{% step %}
Adjust the pass threshold to your team's quality standard, click "<mark style="color:blue;">Confirm</mark>", then click "<mark style="color:blue;">Confirm and Start Evaluation</mark>" in the cost confirmation window to start the evaluation.
{% endstep %}
{% endstepper %}

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-92abd700ffd6e9610bbafe2d50e8e347b29fc8e0%2Fevaluation-multi-turn-settings.png?alt=media" alt="Multi-turn conversation settings in the Create Evaluation window"><figcaption><p>After switching to multi-turn conversation, you can set the maximum turns, minimum turns, three evaluation metrics, simulation language, and custom metrics</p></figcaption></figure>

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-d56c6a2a2384f1f8aab3561aa424ae4364d3f37e%2Fevaluation-custom-metric.png?alt=media" alt="Custom metric settings in the Create Evaluation window"><figcaption><p>Set the evaluation criteria for support tone in natural language</p></figcaption></figure>

### Safety Metrics <a href="#safety-metrics" id="safety-metrics"></a>

When you create a single-turn evaluation, the "<mark style="color:blue;">Safety Metrics</mark>" section offers four optional guardrail metrics, suited to compliance scenarios such as finance and healthcare. The score direction is not the same across the four metrics: for Abuse, a lower score is better; for the other three, a higher score is better.

| Metric                                                     | What it checks                                                                                  | Per-question pass direction                                                      |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| <mark style="color:blue;">PII Leakage</mark>               | Whether the reply leaks personally identifiable information                                     | Higher is better; <mark style="color:blue;">passes when score ≥ threshold</mark> |
| <mark style="color:blue;">Role Violation</mark>            | Whether the reply departs from the identity and scope set by the role instructions              | Higher is better; <mark style="color:blue;">passes when score ≥ threshold</mark> |
| <mark style="color:blue;">Abuse</mark>                     | Whether the assistant is being used for unintended purposes                                     | Lower is better; <mark style="color:blue;">passes when score ≤ threshold</mark>  |
| <mark style="color:blue;">Avoid Professional Advice</mark> | Whether the reply avoids giving professional advice such as medical, legal, or financial advice | Higher is better; <mark style="color:blue;">passes when score ≥ threshold</mark> |

{% hint style="info" %}
The note next to "<mark style="color:blue;">Safety Metrics</mark>" in the Create Evaluation window says the score direction is always higher-is-better. This refers to the average score in the [metric statistics](#view-evaluation-results): when computing statistics, Abuse is converted to "1 − score", so the average scores of all four metrics are higher-is-better. The Abuse score in the test case details is still the raw score, where lower is better. The details are shown on a 0–100 scale; for example, Abuse shows 20 (a score of 0.2), and with a threshold of 0.5 it passes, with the score shown in green. You can confirm the pass direction actually used for each evaluation in the [evaluation metric settings](#evaluation-metric-settings).
{% endhint %}

{% hint style="info" %}
The system compares names case-insensitively: a custom metric in a single-turn evaluation cannot duplicate the English name of any of the 15 built-in metrics, and in a multi-turn evaluation it cannot duplicate Turn Faithfulness, Turn Relevancy, or Conversation Completeness. For the list of built-in metrics, see [Response Evaluation and Monitoring Results](https://docs.maiagent.ai/tech/advanced-genai-tech/evaluation#evaluation-metrics) in the technical manual. If a name conflicts, use a name that expresses what your team is trying to judge.
{% endhint %}

### Evaluate Multi-Turn Conversations <a href="#multi-turn-evaluation" id="multi-turn-evaluation"></a>

Multi-turn evaluation suits tasks that require back-and-forth confirmation. Take a returns support scenario: Mei, a quality manager, wants the Agent to first ask for the order number, then confirm the reason for the return and explain the next steps. She creates a multi-turn test case, writes the scenario and expected outcome, and runs the evaluation. When it finishes, she can expand the conversation transcript and check each turn's reply and the knowledge base content retrieved, rather than looking only at the final answer.

{% stepper %}
{% step %}
First go to "<mark style="color:blue;">Test Sets</mark>" and open the target test set, then add a scenario, expected outcome, and simulated user persona to a multi-turn test case.
{% endstep %}

{% step %}
Return to "<mark style="color:blue;">Automated Testing</mark>", click "<mark style="color:blue;">Create Evaluation</mark>", and switch to "<mark style="color:blue;">Multi-turn Conversation</mark>".
{% endstep %}

{% step %}
Select the test set, Agent, and evaluation model, set the maximum turns, evaluation metrics, and simulation language, then start the evaluation. At least one evaluation metric must be enabled. If a case needs a condition to hold across many turns (for example, "never reveal internal pricing throughout"), you can also set <mark style="color:blue;">Minimum Turns</mark>: even if the expected outcome has been achieved, the simulated user keeps talking until at least this many turns; the minimum turns cannot exceed the maximum turns. For the stopping rules and defaults, see [Set Minimum and Maximum Turns](#min-and-max-turns) below.

While the evaluation runs, the model tokens and retrieval resources the Agent uses to generate answers for each case are charged at conversation rates and are counted under that evaluation; see [Credits Billing System](/maiagent-user-guide/en/others/credits.md#model-rates).
{% endstep %}

{% step %}
When the evaluation is complete, open the results and click an individual case to expand its details, then review each metric's score, the conversation transcript, and the "<mark style="color:blue;">Retrieved Content</mark>" for each turn. If a single case fails, only that case shows the error; it does not hide the results of other cases.
{% endstep %}
{% endstepper %}

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-123f84448a9ae205a2a7adcc1f96b8a63ceaf02d%2Fevaluation-multi-turn-results.png?alt=media" alt="Metrics, transcript, and retrieved content after expanding a case in a completed multi-turn evaluation"><figcaption><p>Expand a case to check, turn by turn, the Agent's reply and the knowledge base content used in that turn</p></figcaption></figure>

If you no longer need a running multi-turn evaluation, click "<mark style="color:blue;">Cancel Evaluation</mark>" on the evaluation details page and confirm. The system stops subsequent cases after the current case finishes processing. Completed scores and transcripts are kept, the status shows "<mark style="color:blue;">Partially Completed</mark>", and cases not yet processed show "<mark style="color:blue;">Pending</mark>".

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-926b7035060aac6e77573489d86fb8297fab864f%2Fevaluation-multi-turn-cancel.png?alt=media" alt="The partially completed state after a multi-turn evaluation is cancelled"><figcaption><p>After cancelling, completed cases are kept and unprocessed cases remain pending</p></figcaption></figure>

On the multi-turn evaluation details page, "<mark style="color:blue;">Evaluation Settings</mark>" shows the evaluation metrics and conversation settings used this time. After the evaluation completes, you can also export an Excel report; see [View This Evaluation's Metric Settings](#evaluation-metric-settings) and [Export Report Contents](#export-report-contents) below.

#### Set Minimum and Maximum Turns <a href="#min-and-max-turns" id="min-and-max-turns"></a>

In a multi-turn evaluation, one turn = one message from the simulated user plus one reply from the Agent. <mark style="color:blue;">Maximum Turns</mark> sets the most turns the conversation can run, and <mark style="color:blue;">Minimum Turns</mark> sets the fewest turns that must run before the conversation is allowed to end because "the expected outcome has been achieved".

Take financial customer service as an example. A quality manager wants to confirm that the Agent never reveals internal preferential rates when a customer keeps asking in different words. If only the maximum turns were used, the system might decide "the expected outcome has been achieved" and stop after the Agent refuses in turn 1, so only one turn would actually be tested. When creating the evaluation, she sets the maximum turns to 5 and the minimum turns to 3; this case then runs at least 3 turns, and the Agent must hold the line three times in a row for the result to be meaningful.

Before each simulated user is about to speak, the system decides whether to end the conversation in the following order:

1. Maximum turns reached: end. The maximum turns always take priority.
2. Minimum turns not yet reached: continue to the next turn, without checking the expected outcome.
3. Minimum turns reached: check the expected outcome; if achieved, end; if not, continue until the maximum turns.

| Field                                          | Default | Allowed range                                  |
| ---------------------------------------------- | ------- | ---------------------------------------------- |
| <mark style="color:blue;">Maximum Turns</mark> | 6       | 2–10                                           |
| <mark style="color:blue;">Minimum Turns</mark> | 1       | 1 or more, and cannot exceed the maximum turns |

When the minimum turns stays at the default of 1, behavior is the same as before this field was introduced: the conversation ends as soon as the expected outcome is achieved, starting from the first turn. If you want every case to always run the full length, set the minimum turns equal to the maximum turns.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-638d0e5a055294731944fbc384d80feffa7eb098%2Fevaluation-multi-turn-min-turns-default.png?alt=media" alt="The default settings in the Create Evaluation window, with maximum turns 6 and minimum turns 1"><figcaption><p>After switching to multi-turn conversation, the minimum turns field sits below the maximum turns, with a default of 1</p></figcaption></figure>

If the minimum turns is greater than the maximum turns, the message "<mark style="color:blue;">Minimum turns cannot exceed maximum turns</mark>" appears below the field. Clicking "<mark style="color:blue;">Confirm</mark>" then shows the same error message, and the evaluation is not created. The input box accepts only integers within the range; numbers outside the range are automatically adjusted to the nearest allowed limit.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-f66597e00ea9f6531e7f7de6f480b53dc0263f7f%2Fevaluation-multi-turn-min-turns-invalid.png?alt=media" alt="With maximum turns 3 and minimum turns 5, the minimum turns field shows a red error message"><figcaption><p>Minimum turns 5 is greater than maximum turns 3, so it cannot be submitted</p></figcaption></figure>

After the evaluation is created, the top of the multi-turn evaluation details page shows both the maximum turns and the minimum turns used. For evaluations created before this field was introduced, the minimum turns shows as 1.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-c6aeb466ca382618ad29f28ffb3f2d968f9101e3%2Fevaluation-multi-turn-min-turns-detail.png?alt=media" alt="The multi-turn evaluation details page showing maximum turns 2 and minimum turns 1"><figcaption><p>The statistics cards on the details page list the maximum turns and minimum turns of this evaluation</p></figcaption></figure>

{% hint style="info" %}
After the expected outcome is achieved, the simulated user still keeps talking until the minimum turns is reached. Cases such as "holding a condition under sustained pressure" suit a higher value; for cases that complete fixed steps in order (such as filling in a questionnaire question by question), setting the minimum turns too high may produce off-task chit-chat turns, so we recommend setting it to the number of turns needed to complete the task.
{% endhint %}

### View Evaluation Results <a href="#view-evaluation-results" id="view-evaluation-results"></a>

In the "<mark style="color:blue;">Actions</mark>" column of the evaluation record row, click the first icon (the document) to view the detailed report. The detailed report includes:

* **Success rate**: The percentage of test cases that passed (test data marked as flaky is not counted; see [Mark Flaky Test Cases](/maiagent-user-guide/en/build/agent-ops/test-datasets.md#flaky-test-cases))
* **AI Insights**: An evaluation summary and improvement suggestions analyzed automatically by the system
* **Metric statistics**: Scores such as quality score and answer relevance
* <mark style="color:blue;">**AI Assistant Settings (This Evaluation)**</mark>: A snapshot of the Agent's settings (model, answer mode, role instructions, knowledge bases, tool settings, and so on) when this evaluation ran; click "<mark style="color:blue;">View Configuration Details</mark>" to expand it. Even if you change the Agent's settings later, the version from that time is kept here, making it easy to compare "what changed that made the score change". At the bottom of the expanded section are this evaluation's [evaluation metrics](#evaluation-metric-settings)
* **Test case details**: For each question, the expected response, actual response, score, and status

{% hint style="info" %}
**Answers blocked by a Hook**

In a single-turn evaluation, if the Agent's answer is blocked by a [Hook](/maiagent-user-guide/en/build/hook.md), the system treats the question as a failed answer given by the Agent rather than an execution error. This applies in three situations: user input is blocked, AI output is blocked, or a tool result is blocked and the Agent ends that turn without giving any reply.

* The status in the test case details shows "<mark style="color:blue;">Failed</mark>" and counts toward the success rate.
* Every metric is given the worst score directly: in the test case details and the evaluation detailed report, regular metrics score 0; metrics where lower is better, such as bias, offensiveness, hallucination, and abuse, score 100. The question is not passed to the evaluation model for scoring. The "<mark style="color:blue;">Metric Statistics</mark>" cards at the top convert lower-is-better metrics to higher-is-better for display, so hallucination for the same question appears as 0% on the statistics card.
* Click the document icon on that row to open the "<mark style="color:blue;">Evaluation Detailed Report</mark>". Every metric card is marked "<mark style="color:blue;">Evaluation Failed</mark>" (this is the label for a single metric that did not pass; any metric that fails is shown this way, regardless of the status of the evaluation as a whole). The explanatory text below the score is a system message in English indicating the stage that was blocked: `Hook engine blocked input` (input), `Hook engine blocked output` (output), `Hook engine blocked tool result` (tool result).
* "<mark style="color:blue;">AI Reply</mark>" shows the Hook's blocking message; when a tool result is blocked, the AI reply is blank.
* Such cases are not retried automatically, and clicking "<mark style="color:blue;">Resume Evaluation</mark>" will not rerun them. If the blocking is not the intended behavior, adjust the Hook rules or the test question, then create the evaluation again.
  {% endhint %}

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-a94a3d91528e2dc3a2e89e10137ad49cb9ae4424%2Fevaluation-hook-blocked-metrics.png?alt=media" alt="The evaluation metrics area of the evaluation detailed report, with all six metric cards marked Evaluation Failed, hallucination at 100 and the rest at 0, and Hook engine blocked input below each score"><figcaption><p>A question whose user input was blocked by a Hook: every metric card is marked "Evaluation Failed", hallucination is 100 and the other metrics are 0, and the explanatory text is Hook engine blocked input</p></figcaption></figure>

#### Cancel, Resume, and Export <a href="#cancel-resume-export" id="cancel-resume-export"></a>

While an evaluation is running, the details page shows progress in real time: for single-turn evaluations, "<mark style="color:blue;">Evaluation Progress</mark>" shows completed and total test cases (for example, "12/50 test cases completed"), and for multi-turn evaluations it appears under "<mark style="color:blue;">Completed Cases</mark>". If the number is increasing, the evaluation is still running—there are just many cases or replies are slow. Real-time progress is pushed only to the member who created the evaluation. When other members open a multi-turn evaluation, the page refreshes automatically every 30 seconds; a single-turn evaluation does not refresh automatically, so reload the page to see the latest progress and status.

* <mark style="color:blue;">**Cancel Evaluation**</mark>: A running evaluation can be cancelled. The system stops after the current batch completes and ends as "Partially Completed"; scores already calculated are kept, and remaining cases are not run. From the time you click cancel until it actually stops, the status and button show "<mark style="color:blue;">Stopping...</mark>"; during this period you cannot click cancel again—just wait for the cases being processed to finish (members other than the creator need to reload the single-turn evaluation page to see the status after stopping). If no case has completed when it stops, the evaluation ends as "<mark style="color:blue;">Evaluation Failed</mark>".

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-1fe899d2f3308705941b7e217256133830e09dd6%2Fevaluation-cancel-stopping.png?alt=media" alt="On a single-turn evaluation details page after clicking Cancel Evaluation, the status tag next to the title and the button at top right both show Stopping..., with the button disabled; the Evaluation Progress card shows 0/3 test cases completed"><figcaption><p>After cancelling, both the status tag and the disabled button show "Stopping..."</p></figcaption></figure>

* <mark style="color:blue;">**Resume Evaluation**</mark>: When the evaluation status is "Partially Completed", you can click "Resume Evaluation" to rerun test cases that **had errors** or **have not yet run** (for example, cases that were not reached after the evaluation was cancelled midway); completed cases are kept and not rerun, and only newly completed cases are charged.
* <mark style="color:blue;">**Export Report**</mark>: Both single-turn and multi-turn evaluations can be exported, but only after the evaluation completes (partially completed evaluations cannot be exported). Clicking it creates an export request that generates an Excel file in the background. When it finishes, the page shows "The export request is complete and the file is ready to download", and the button changes to "<mark style="color:blue;">Download Report</mark>". Evaluation reports are not listed on AgentOps' [Export Requests](#export-requests) page; download them from the evaluation details page. For the worksheets a report contains, see [Export Report Contents](#export-report-contents) below.

{% hint style="warning" %}
**When evaluation progress stalls**

If progress does not increase for more than 10 minutes while an evaluation is running, the top of the details page shows "<mark style="color:blue;">Progress has stalled — the evaluation may have been interrupted.</mark>". First reload the page and check whether the completed count is still stuck at the same number: members other than the creator do not receive real-time progress on the single-turn evaluation page, and may see this warning even when the evaluation is running normally. Once you confirm it is really stuck, handle it by evaluation type:

* **Single-turn evaluation**: Usually no action is needed. When the background process running the evaluation is interrupted, the system takes over automatically after progress has been stuck for about 30–35 minutes, puts the stuck cases back into the queue, and continues the evaluation. If you want to stop right away, you can click "<mark style="color:blue;">Cancel Evaluation</mark>", but "<mark style="color:blue;">Stopping...</mark>" may last about 30–35 minutes until the system reclaims the stuck cases and the status changes to "<mark style="color:blue;">Partially Completed</mark>"; afterward you can click "<mark style="color:blue;">Resume Evaluation</mark>" to rerun the cases that had errors or have not yet run.
* **Multi-turn evaluation**: The system does not take over automatically. Wait until progress has been stuck for about 25 minutes before clicking "<mark style="color:blue;">Cancel Evaluation</mark>": the system only reclaims cases that have been stuck for more than about 24 minutes, so if you click too early, the evaluation only enters "<mark style="color:blue;">Stopping...</mark>" and you cannot click cancel again. After reclaiming, if there are no cases that have not yet started, the evaluation ends as "<mark style="color:blue;">Partially Completed</mark>" and you can click "<mark style="color:blue;">Resume Evaluation</mark>" (if no case has completed, it ends as "<mark style="color:blue;">Evaluation Failed</mark>"); if there are still cases that have not started, the evaluation stays at "<mark style="color:blue;">Stopping...</mark>" until the 4-hour rule below marks it as failed.

For both single-turn and multi-turn evaluations, when an evaluation (including one stuck at "<mark style="color:blue;">Stopping...</mark>") has had no progress for more than 4 hours, the system marks the unfinished cases as errors and changes the evaluation status to "<mark style="color:blue;">Evaluation Failed</mark>". A failed evaluation cannot be resumed; create a new evaluation with the same test set.
{% endhint %}

#### View This Evaluation's Metric Settings <a href="#evaluation-metric-settings" id="evaluation-metric-settings"></a>

The evaluation details page lists which metrics were actually used in this evaluation, each one's pass threshold and pass direction, and the evaluation criteria and steps for custom metrics. The settings are saved with the evaluation, so you don't have to remember what you selected when you created it.

For example, Mai, the customer service manager, forwards a multi-turn evaluation report to a quality colleague, who asks what standard produced the 0.8 score for "Data Confirmation" in one of the conversations. Mai opens the details page of this multi-turn evaluation and expands "<mark style="color:blue;">Evaluation Settings</mark>". She sees that this custom metric has a threshold of 0.5 and the evaluation criteria "Before processing the request, does the assistant first confirm the necessary numbers or information with the customer, rather than guessing directly?", and below that are listed the steps the evaluation model actually used when scoring. She then clicks "<mark style="color:blue;">Export Report</mark>" and hands the Excel file, which includes the "Evaluation Metrics" worksheet, to her colleague, who can see the basis for scoring without logging in to the admin console.

Where to find the metric settings:

* **Single-turn evaluation**: Under "<mark style="color:blue;">AI Assistant Settings (This Evaluation)</mark>", click "<mark style="color:blue;">View Configuration Details</mark>", then find "<mark style="color:blue;">Evaluation Metrics</mark>" at the bottom of the expanded section.
* **Multi-turn evaluation**: Click "<mark style="color:blue;">View Configuration Details</mark>" to the right of "<mark style="color:blue;">Evaluation Settings</mark>". The expanded section has two areas, "<mark style="color:blue;">Evaluation Metrics</mark>" and "<mark style="color:blue;">Conversation Settings</mark>"; the conversation settings list the evaluation mode, minimum turns, maximum turns, and simulation language.

Each metric shows:

| Item                                                                                                     | Description                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type                                                                                                     | <mark style="color:blue;">Built-in</mark> or <mark style="color:blue;">Custom</mark>. Built-in metrics are listed first; custom metrics follow in the order they were added when the evaluation was created                                                                |
| Metric name                                                                                              | Built-in metrics show their display names (built-in metrics in multi-turn evaluations also show the original English name); custom metrics show the name you gave them                                                                                                     |
| <mark style="color:blue;">Pass Threshold</mark>                                                          | The score threshold for passing. For a built-in metric, "—" is shown if no case produced a score in this evaluation                                                                                                                                                        |
| Pass direction                                                                                           | Most metrics use "<mark style="color:blue;">Score ≥ threshold passes</mark>"; metrics where a lower score is better, such as bias, toxicity, hallucination, and misuse, use "<mark style="color:blue;">Score ≤ threshold passes</mark>"                                    |
| <mark style="color:blue;">Evaluation Criteria</mark> / <mark style="color:blue;">Evaluation Steps</mark> | Shown only for custom metrics; this is the criteria or steps you entered when creating the evaluation                                                                                                                                                                      |
| <mark style="color:blue;">Actual Scoring Steps</mark>                                                    | Shown only for custom metrics in multi-turn evaluations: displayed when the steps the evaluation model actually used to score each case differ from what you entered (for example, when you entered only evaluation criteria and the system generated the steps from them) |

When there are more than 3 evaluation steps or actual scoring steps, they are collapsed first; click "<mark style="color:blue;">Show all N steps</mark>" to expand them. If this evaluation uses no custom metrics, the bottom of the section shows "<mark style="color:blue;">No custom metrics used in this evaluation</mark>".

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-e1a656dbe4a78004ef84829a158a981bf1f10f6c%2Fevaluation-metric-settings-single-turn.png?alt=media" alt="The evaluation metrics section of a single-turn evaluation, listing the thresholds, pass directions, and evaluation steps of five built-in metrics and one custom metric"><figcaption><p>Single-turn evaluation: pass thresholds and pass directions of the built-in metrics and the custom metric "Customer Service Tone", with its evaluation steps expanded</p></figcaption></figure>

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-f25daa655839f3dc1876cddccbeeaa8f5155bc20%2Fevaluation-metric-settings-multi-turn.png?alt=media" alt="The evaluation settings of a multi-turn evaluation, including evaluation metrics and conversation settings"><figcaption><p>Multi-turn evaluation: the custom metric has only evaluation criteria, with the actual scoring steps listed below; the conversation settings list the evaluation mode, number of turns, and simulation language</p></figcaption></figure>

#### View a Single Test Case and Its Reference Sources <a href="#test-case-detail" id="test-case-detail"></a>

In the test case details at the bottom of a single-turn evaluation details page, click the document icon on a row to open the "<mark style="color:blue;">Evaluation Detail Report</mark>" window. It lists, in order, the basic information, the question, the expected answer, the AI response, the score and reason for each evaluation metric, and the "<mark style="color:blue;">Reference Data</mark>" for this question.

"<mark style="color:blue;">Reference Data</mark>" lists every knowledge base passage the Agent retrieved when answering this question, with the source file name shown at the top right of each passage. Hover over a file name to see "<mark style="color:blue;">View Document</mark>"; click the file name to open a full-screen file preview and view the entire file, so you can check whether the Agent cited the right document and whether its content is outdated.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-6fe986070c8372e1b4bcadee2c81107cba1c6f08%2Fevaluation-record-reference-files.png?alt=media" alt="The reference data section of the evaluation detail report; the top right of passage 1 shows the source file name MaiAgent-平台功能總覽FAQ.md"><figcaption><p>Passage 1 of the reference data; the top right is the source file name link</p></figcaption></figure>

For example, a quality manager notices that the contextual precision for one question is low. She opens the evaluation detail report for that question and sees that the second reference passage comes from last year's price list. She clicks the file name to preview it and confirms the content is outdated, then updates the file in the knowledge base and re-runs the evaluation with the same test set.

{% hint style="info" %}

* If the source file has been deleted from the knowledge base, only the file name is shown and it cannot be opened for preview.
* For earlier evaluations, and for passages whose source file the system did not record, the source file name is not shown. If a passage has a corresponding file but no file name, a "<mark style="color:blue;">View Document</mark>" link is shown instead, and clicking it opens the same preview.
* If no knowledge base content was retrieved for this answer, the window does not show the "<mark style="color:blue;">Reference Data</mark>" section.
* The per-turn "<mark style="color:blue;">Retrieved Content</mark>" in multi-turn evaluations does not show source file names; see [Evaluate Multi-Turn Conversations](#multi-turn-evaluation).
  {% endhint %}

#### Export Report Contents <a href="#export-report-contents" id="export-report-contents"></a>

Single-turn and multi-turn evaluations export different worksheets:

| Evaluation type        | Worksheets (in order)                                                                                                                |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Single-turn evaluation | Evaluation Summary, Test Case Results, Metric Analysis, AI Assistant Configuration, Evaluation Metrics, Recommendations and Insights |
| Multi-turn evaluation  | Evaluation Summary, Conversation Results, Evaluation Metrics                                                                         |

* **Evaluation Metrics**: One row per metric, with columns for type, metric name, pass threshold, pass direction, evaluation criteria, and evaluation steps; multi-turn evaluations have an additional column for actual scoring steps. Steps are numbered "1. 2. 3." on separate lines. Metric names use the system's internal names: built-in metrics use English names (for example, Faithfulness), and custom metrics have "\[GEval]" appended to the name. When no custom metrics are used, the last row states "No custom metrics used in this evaluation".
* **Evaluation Summary for multi-turn evaluations**: The upper part shows the evaluation name and description, test set, Agent, status, number of conversations, number passed, pass rate, and start and end times; the lower part lists the average score of each metric and the number of conversations missing a score (averages count only conversations that have scores).
* **Conversation Results for multi-turn evaluations**: One row per conversation, in the same order as the details page, including the serial number, scenario, number of turns, the score and pass status for each metric, and the overall pass status; metrics without a score show "—".

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-cd0eb9fce6af8d6f9aefa7811688b078d265841e%2Fevaluation-multi-turn-download-report.png?alt=media" alt="The details page of a completed multi-turn evaluation, with the button at the top right showing Download Report"><figcaption><p>After the multi-turn evaluation export completes, the button at the top right changes to "Download Report"</p></figcaption></figure>

**Success rate benchmarks:**

| Agent type                     | Recommended success rate |
| ------------------------------ | ------------------------ |
| Product inquiry assistant      | ≥ 95%                    |
| Customer support assistant     | ≥ 90%                    |
| General conversation assistant | ≥ 80%                    |

{% hint style="info" %}
For more about the insights report, see: [Evaluation Insights Report](/maiagent-user-guide/en/build/agent-ops/evaluation-insights.md)
{% endhint %}

### Manage Evaluation Records <a href="#manage-evaluation-records" id="manage-evaluation-records"></a>

* **Search and filter**: Filter records by test set, Agent, or keyword
* **Re-evaluate**: After modifying the knowledge base or AI settings, create another evaluation with the same test set to compare the improvement (the list has no one-click re-run button)
* **Export**: Export evaluation results in Excel format

#### Edit the Evaluation Name and Description <a href="#edit-evaluation-name-description" id="edit-evaluation-name-description"></a>

After a test is complete, you can still change the evaluation name and description without deleting the test or running it again. The test dataset, Agent, evaluation results, and execution status are not affected.

For example, after creating a weekly customer service quality test, Mai notices that the week number in the evaluation name is wrong. She opens the edit window from the automated testing list, corrects the name, and adds the purpose of the test; after saving, the list immediately shows the new content, and the existing test results are kept.

{% stepper %}
{% step %}

### Open the Automated Testing List

In the left sidebar, go to "<mark style="color:blue;">AgentOps</mark>" → "<mark style="color:blue;">Automated Testing</mark>".
{% endstep %}

{% step %}

### Open the Edit Window

Find the evaluation you want to change, and click the "<mark style="color:blue;">Edit</mark>" icon in the "<mark style="color:blue;">Actions</mark>" column of that row.
{% endstep %}

{% step %}

### Modify and Save

Change the "<mark style="color:blue;">Evaluation Name</mark>" or "<mark style="color:blue;">Description</mark>", then click "<mark style="color:blue;">Confirm</mark>". The evaluation name is required and can be up to 200 characters; the description can be left blank.
{% endstep %}
{% endstepper %}

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-70248a3c57f79ffa643153dad76b27d464f20916%2Fgap-agentops-edit-evaluation.png?alt=media" alt="The edit test window of the automated testing list, where the evaluation name and description can be changed"><figcaption><p>The edit window is pre-filled with the current evaluation name and description</p></figcaption></figure>

{% hint style="info" %}
You can change the name and description of evaluations that are running, completed, or failed. This only updates identifying information and does not re-run the test.
{% endhint %}

***

## Agent Monitoring <a href="#ai-agent-monitoring" id="ai-agent-monitoring"></a>

For web voice and phone records, transcripts, and per-turn latency, see [Voice Conversation Records and Latency Analysis](/maiagent-user-guide/en/build/agent-ops/evaluations/voice-monitoring.md).

Agent Monitoring provides real-time conversation operation data, so you can understand the processing details, performance metrics, and quality scores of every conversation.

### Access Agent Monitoring <a href="#access-ai-agent-monitoring" id="access-ai-agent-monitoring"></a>

In the left sidebar, go to "<mark style="color:blue;">AgentOps</mark>" and click "<mark style="color:blue;">AI Assistant Monitoring</mark>".

### Monitoring Field Descriptions <a href="#monitoring-field-descriptions" id="monitoring-field-descriptions"></a>

The list in the "<mark style="color:blue;">Text Conversation Records</mark>" tab shows the following fields by default:

| Field              | Description                                                                                                                                                                                                                    |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| User Input Message | The question the user sent to the AI                                                                                                                                                                                           |
| Output Message     | The Agent's response                                                                                                                                                                                                           |
| AI Assistant       | The name of the Agent that handled this conversation                                                                                                                                                                           |
| Source             | Whether this record is an <mark style="color:blue;">Interactive Conversation</mark> (a user actually asked a question) or a <mark style="color:blue;">Scheduled Run</mark> (triggered automatically by an agent schedule)      |
| User Feedback      | Thumbs up 👍 or thumbs down 👎                                                                                                                                                                                                 |
| Quality Score      | The faithfulness score is used as the representative score; hover over the score to see sub-metrics such as faithfulness, answer correctness, answer relevancy, answer similarity, contextual precision, and contextual recall |
| Token Usage        | The total LLM and embedding tokens consumed by this response                                                                                                                                                                   |
| Credit Consumption | The Credits consumed by this response                                                                                                                                                                                          |
| Processing Time    | The total time to complete the response; hover over the time to see how long attachment processing, embedding, reranking, AI model inference, and system overhead each took                                                    |
| Created At         | When this record was created                                                                                                                                                                                                   |
| Member             | The organization member who started this conversation; shows "—" when there is no corresponding member (for example, a scheduled run)                                                                                          |

Columns such as ID, Modified Input Message, Character Count, LLM, Error Type, and User are hidden by default; you can show them with the gear icon at the top right of the list.

#### How Quality Scores Are Calculated <a href="#quality-score-calculation" id="quality-score-calculation"></a>

The faithfulness, answer relevancy, and contextual precision scores are all judged by the evaluation model (LLM) based on DeepEval's Faithfulness, Answer Relevancy, and Contextual Precision metrics, on a scale of 0–1; they are not keyword matching. Faithfulness looks at how many statements in the response can be supported by the retrieved passages; answer relevancy looks at how much of the response addresses the user's question; contextual precision looks at how relevant the retrieved passages are to the question. The evaluation model judges statement by statement, so re-running the same response may produce small differences. For the definition of each metric, the score direction, and where to look when a score is low, see [Response Evaluation and Monitoring Results](https://docs.maiagent.ai/tech/advanced-genai-tech/evaluation) in the technical manual.

Click the "<mark style="color:blue;">Details</mark>" icon in the "<mark style="color:blue;">Actions</mark>" column at the far right of each record to open the conversation details page. There you can see the execution timeline of this response (time, tokens, credits, and bottlenecks for each step), the complete conversation record sent to the model, and the usage and performance panels, and you can export JSON / Markdown / Credit audits; see [Conversation Details and Execution Timeline](/maiagent-user-guide/en/build/agent-ops/evaluations/trace-timeline.md).

### View Image Search Usage <a href="#view-image-search-usage" id="view-image-search-usage"></a>

When an Agent uses the knowledge base's image search, the system records image embedding usage separately. You can check which resources a response used from a single conversation record:

{% stepper %}
{% step %}
Go to <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">AI Assistant Monitoring</mark>, and switch to <mark style="color:blue;">Text Conversation Records</mark>.
{% endstep %}

{% step %}
Find the response you want to check, and click the <mark style="color:blue;">Details</mark> icon on the far right.
{% endstep %}

{% step %}
Scroll down to the Token and Credit breakdown. Regular text embedding is listed under <mark style="color:blue;">Embedding</mark>; when the response used image search, <mark style="color:blue;">Image Embedding</mark> is also shown, and the Token total and Credit total include this item. For descriptions of the other fields, see [Usage and Performance Panels](/maiagent-user-guide/en/build/agent-ops/evaluations/trace-timeline.md#usage-panels).
{% endstep %}
{% endstepper %}

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-85207671ac13857484431a19afc621223e83dadc%2Fgap-agentops-image-embedding.png?alt=media" alt="The usage and Credit breakdown of a single conversation in Agent Monitoring"><figcaption><p>Usage breakdown of a single conversation; "Image Embedding" appears only for responses that actually used image search</p></figcaption></figure>

{% hint style="info" %}
Not seeing <mark style="color:blue;">Image Embedding</mark> does not mean the record is missing. This item is shown only when the response actually generated image embedding usage; when image search is not used, the screen keeps the original embedding breakdown.
{% endhint %}

For example, a customer service manager at Mai's company has the product Agent identify the appearance of parts from catalog images. After testing, she opens the details of the conversation and sees image embedding and the corresponding Credits, which lets her distinguish the cost of image search from that of regular text retrieval, and then decide whether to adjust the image catalog or the Agent settings.

### Search and Filter <a href="#search-and-filter" id="search-and-filter"></a>

Fields available in the filter bar above the text conversation records:

| Field                                                 | Description                                                                                                                                                   | Shown by default |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| <mark style="color:blue;">Date Range</mark>           | Last 24 hours, last 7 days, last 30 days, last 90 days, or <mark style="color:blue;">Custom Range</mark>                                                      | Yes              |
| <mark style="color:blue;">Keyword</mark>              | Searches user input messages and Agent responses                                                                                                              | Yes              |
| <mark style="color:blue;">AI Assistant</mark>         | Select a specific Agent to track how it is performing                                                                                                         | Yes              |
| <mark style="color:blue;">Tool</mark>                 | Shows only Q\&A where a specific tool was called, including failed tool executions; see [Filter Conversation Records by Tool Used](#filter-by-tool)           | No               |
| <mark style="color:blue;">Source</mark>               | Shows only <mark style="color:blue;">Interactive Conversations</mark> or <mark style="color:blue;">Scheduled Runs</mark>                                      | No               |
| <mark style="color:blue;">Member</mark>               | Select one or more organization members to see only the conversations they started; scheduled runs do not have this field                                     | No               |
| <mark style="color:blue;">Error Status</mark>         | <mark style="color:blue;">Any</mark>, <mark style="color:blue;">Has Errors</mark>, or <mark style="color:blue;">No Errors</mark>                              | No               |
| <mark style="color:blue;">Large Language Model</mark> | Select a specific language model to compare the performance of different models                                                                               | No               |
| <mark style="color:blue;">Error Type</mark>           | Specify an error type (the same categories as in [How the Error Rate Is Calculated](#error-rate-calculation))                                                 | No               |
| <mark style="color:blue;">Rating</mark>               | Filter by user feedback: <mark style="color:blue;">Thumbs Up</mark>, <mark style="color:blue;">Thumbs Down</mark>, <mark style="color:blue;">No Rating</mark> | No               |

#### Customize Filter Fields <a href="#customize-filter-fields" id="customize-filter-fields"></a>

The funnel icon "<mark style="color:blue;">Customize Filter Fields</mark>" at the right of the filter bar lets you choose which fields to show (the "Show Filter Fields" list), so you can hide rarely used ones and keep the screen clean; click "<mark style="color:blue;">Restore Defaults</mark>" to return to the default combination in the table above. The setting is stored in your browser and does not affect other members. <mark style="color:blue;">Reset Filters</mark> only clears the conditions currently entered and does not change which fields are shown.

<mark style="color:blue;">Export</mark> creates an export request (Excel or CSV) based on the current filter conditions; see [Export Requests](#export-requests). Export supports only interactive conversations; when the source is set to scheduled runs, you are prompted to clear the source filter first.

### Filter Conversation Records by Member and Source <a href="#filter-by-member-and-source" id="filter-by-member-and-source"></a>

<mark style="color:blue;">Text Conversation Records</mark> offers two filter fields, <mark style="color:blue;">Source</mark> and <mark style="color:blue;">Member</mark> (collapsed by default; select them first in [Customize Filter Fields](#customize-filter-fields)), and the list also has matching <mark style="color:blue;">Source</mark> and <mark style="color:blue;">Member</mark> columns, so you can look separately at "who asked" and "whether a person asked or a schedule ran automatically".

For example, a customer service manager wants to understand how a new colleague has been using the internal Agent over the past few weeks. She goes to the text conversation records, sets <mark style="color:blue;">Source</mark> to <mark style="color:blue;">Interactive Conversation</mark> to exclude records generated automatically by schedules, and then selects this colleague from <mark style="color:blue;">All Members</mark>, leaving only their conversations in the list. After reviewing the content, she clicks <mark style="color:blue;">Export</mark> and hands the same list to the training coordinator, without needing an engineer to pull the data.

#### 1. Filter by Member <a href="#filter-by-member" id="filter-by-member"></a>

Go to <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">AI Assistant Monitoring</mark>, switch to <mark style="color:blue;">Text Conversation Records</mark>, select <mark style="color:blue;">Member</mark> in [Customize Filter Fields](#customize-filter-fields), then click <mark style="color:blue;">All Members</mark> and check the members you want to view from the list (multiple selection is supported, and you can type a keyword to search).

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-33bb6d331b3f178a4edd1be5aff3612384a07697%2Fagentops-records-member-filter.png?alt=media" alt="The conversation records filter bar with the member dropdown expanded"><figcaption><p>Select the members to view from the "All Members" dropdown (member names and emails are masked)</p></figcaption></figure>

Once selected, the list shows only conversations started by those members, and you can combine this with other filter conditions such as keyword, Agent, error status, and date. The <mark style="color:blue;">Member</mark> column on the right side of the table shows the member for each record.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-a8a097caa9ac5aef1c80a74873f7444e9a6db8f8%2Fagentops-records-member-column.png?alt=media" alt="The conversation records list and member column after filtering by member"><figcaption><p>Conversation records after filtering by one member; the "Member" column on the right shows the corresponding member (masked)</p></figcaption></figure>

#### 2. Filter Scheduled Runs by Source <a href="#filter-scheduled-runs" id="filter-scheduled-runs"></a>

Tasks run automatically through an <mark style="color:blue;">Agent Schedule</mark> also appear in the text conversation records, with the <mark style="color:blue;">Source</mark> column marked as <mark style="color:blue;">Scheduled Run</mark>; records of questions asked by regular users are marked as <mark style="color:blue;">Interactive Conversation</mark>. After selecting <mark style="color:blue;">Source</mark> in [Customize Filter Fields](#customize-filter-fields), click <mark style="color:blue;">All Sources</mark> to see only one of the two.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-0d649032c0cf8cb9e3979e8b2a9ad6204a0b1f8b%2Fagentops-records-scheduled-filter.png?alt=media" alt="The conversation records when the source filter is set to scheduled runs"><figcaption><p>After selecting "Scheduled Run" as the source, the member filter and export button become unavailable; hover over the export button to see the reason</p></figcaption></figure>

{% hint style="info" %}
**Limitations when "Scheduled Run" is selected**

* Scheduled runs have no corresponding member or user feedback, so the <mark style="color:blue;">Member</mark> and <mark style="color:blue;">Rating</mark> filters are disabled and cleared.
* <mark style="color:blue;">Export</mark> currently supports only interactive conversations; when the source is <mark style="color:blue;">Scheduled Run</mark> the button is disabled, so clear the source filter before exporting.
* Statistics on the <mark style="color:blue;">Dashboard</mark> count only interactive conversations; view scheduled runs in <mark style="color:blue;">Text Conversation Records</mark>.
  {% endhint %}

Click <mark style="color:blue;">Details</mark> on a scheduled run record. <mark style="color:blue;">Basic Information</mark> shows the <mark style="color:blue;">Schedule Name</mark>, <mark style="color:blue;">Source</mark>, and the <mark style="color:blue;">Status</mark> of this run, and <mark style="color:blue;">Identification</mark> also includes the <mark style="color:blue;">Schedule ID</mark>, so you can trace back which schedule produced it.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-c2463bbc35f85580d016676cd78243c9c913e5ff%2Fagentops-records-scheduled-detail.png?alt=media" alt="The basic information in the conversation details of a scheduled run record"><figcaption><p>Basic information of a scheduled run record: schedule name, source "Scheduled Run", and status "Success"</p></figcaption></figure>

#### 3. Build an Improvement List from Thumbs-Down Feedback <a href="#triage-downvotes" id="triage-downvotes"></a>

Set the <mark style="color:blue;">Rating</mark> filter to <mark style="color:blue;">Thumbs Down</mark> (this field is collapsed by default; select it first in [Customize Filter Fields](#customize-filter-fields)), and the list shows only responses that users gave a thumbs down. Click <mark style="color:blue;">Details</mark> on each record to see the passages the Agent retrieved and its execution process; the reasons and additional comments users selected when giving a thumbs down can be viewed message by message in the [Conversation Viewer for All Conversations](/maiagent-user-guide/en/serve/daily-operations/reply/conversation-viewer.md#user-feedback). Determine whether the knowledge base lacks the data, the role instructions are not clear enough, or retrieval did not find the right passages: if the knowledge base lacks the data, [add it to the FAQ](/maiagent-user-guide/en/build/agent-ops/add-to-faq.md) directly from the conversation record; for the others, go back to the Agent settings to adjust them, then re-run the test set with [Auto Evaluation](#auto-evaluation) to confirm.

Conversation records have no "pending" or "owner" fields; if several people need to divide up and track the work, click <mark style="color:blue;">Export</mark> to export the filtered results to Excel and use it as the improvement list.

### Filter Conversation Records by Tool Used <a href="#filter-by-tool" id="filter-by-tool"></a>

<mark style="color:blue;">Text Conversation Records</mark> can list only the Q\&A where a particular tool was called, such as an API tool built by your organization or a built-in platform tool like Tavily Web Search. The filtered results can be combined with conditions such as date, Agent, and rating, and after you click <mark style="color:blue;">Export</mark>, the Excel file gains a column recording which tools each Q\&A used and whether they succeeded or failed.

For example, a customer service manager receives a report that customers "can't find their orders". In the text conversation records she shows the <mark style="color:blue;">Tool</mark> filter and selects the order lookup tool, so the list shows only Q\&A where the Agent called this tool; she then clicks <mark style="color:blue;">Export</mark> and, in the Excel <mark style="color:blue;">Tools Used (Execution Result)</mark> column, filters for rows marked "Failed". This gives her the list of conversations to send to engineers for investigation, without opening each record's details one by one.

{% stepper %}
{% step %}

### Show the Tool Filter <a href="#show-tool-filter" id="show-tool-filter"></a>

Go to <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">AI Assistant Monitoring</mark>, and switch to <mark style="color:blue;">Text Conversation Records</mark>. The <mark style="color:blue;">Tool</mark> filter is not shown by default; click the funnel icon "<mark style="color:blue;">Customize Filter Fields</mark>" at the right of the filter bar and select <mark style="color:blue;">Tool</mark> in the "<mark style="color:blue;">Show Filter Fields</mark>" list, and the <mark style="color:blue;">All Tools</mark> dropdown appears in the filter bar.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-243ce04b3e1e1fd21b437e2ccc27bdd22bd78780%2Fagentops-records-tool-filter-field.png?alt=media" alt="Tool selected in the customize filter fields list, with the All Tools dropdown appearing in the filter bar"><figcaption><p>After selecting "Tool" in "Show Filter Fields", "All Tools" appears in the filter bar</p></figcaption></figure>
{% endstep %}

{% step %}

### Select the Tool to Filter By <a href="#select-tool" id="select-tool"></a>

Click <mark style="color:blue;">All Tools</mark> and choose a tool from the list; you can also type a name keyword to search. The list includes the organization's tools and the platform's built-in tools, and you can select one at a time. Once selected, the list updates immediately to show only Q\&A where this response called that tool; if the same response called it multiple times, it is still listed only once.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-1d9b44db2774cda8c9fd964609fd9b2bbe5a8885%2Fagentops-records-tool-filter-result.png?alt=media" alt="Conversation record list after an order lookup tool is selected in the tool filter"><figcaption><p>After a tool is selected, the list shows only Q&#x26;A that called this tool, with the number of matching records shown below</p></figcaption></figure>
{% endstep %}

{% step %}

### Export and View Tool Execution Results <a href="#export-tool-usage" id="export-tool-usage"></a>

Click <mark style="color:blue;">Export</mark>. The export file applies the current tool filter; download it from [Export Requests](#export-requests). The last column in the Excel file is <mark style="color:blue;">Tools Used (Execution Result)</mark>, in a format such as "Order Lookup (Success), Tavily Web Search (Failed)":

* Tools are listed in the order they were first called in this response. A tool called multiple times is listed only once, and it is marked "Success" if any one of the calls succeeded.
* Calls that have not finished or that timed out count as "Failed".
* The tool name is the name recorded at the time of the call, so later renames do not affect existing records; older records that did not record a name show the tool's current name. If a tool has been deleted and an old record did not save the name at that time, it shows "Deleted Tool".
* If this response did not call any tools, the column is left blank.
  {% endstep %}
  {% endstepper %}

{% hint style="info" %}

* Deleted tools no longer appear in the <mark style="color:blue;">All Tools</mark> list, but the export file still keeps their past call records.
* Clicking <mark style="color:blue;">Reset Filters</mark>, or clearing <mark style="color:blue;">Tool</mark> in "<mark style="color:blue;">Customize Filter Fields</mark>", removes the currently selected tool.
* The list includes scheduled runs, while the export includes only interactive conversations; if a scheduled run also called that tool, the number of records in the list will be higher than in the export.
  {% endhint %}

### View MaiGPT Conversations <a href="#view-maigpt-conversations" id="view-maigpt-conversations"></a>

Questions members ask in MaiGPT and the AI's replies are also recorded in the <mark style="color:blue;">Text Conversation Records</mark> of <mark style="color:blue;">AI Assistant Monitoring</mark>, where the <mark style="color:blue;">AI Assistant</mark> column shows MaiGPT. When an admin wants to understand how a particular member uses MaiGPT, the member filter finds that member's conversations.

#### Who Can See Members' MaiGPT Conversations <a href="#maigpt-conversations-permissions" id="maigpt-conversations-permissions"></a>

| Identity                                                                               | Can they see members' MaiGPT conversations in the conversation records?        |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| Organization owner                                                                     | Yes. Organization owners can see all conversation records in the organization  |
| Role has <mark style="color:blue;">AI Assistant Monitoring permission</mark>           | Yes                                                                            |
| Role does not have <mark style="color:blue;">AI Assistant Monitoring permission</mark> | Cannot enter the <mark style="color:blue;">AI Assistant Monitoring</mark> page |

<mark style="color:blue;">AI Assistant Monitoring permission</mark> is located under <mark style="color:blue;">AgentOps Permissions</mark> in role permissions. In the conversation records, non-owners can see records of "Agents assigned to their roles"; when the system creates MaiGPT, it assigns it to the default role, and all members belong to the default role, so every member with <mark style="color:blue;">AI Assistant Monitoring permission</mark> can see MaiGPT conversations. They can also see them when their role has <mark style="color:blue;">MaiGPT permission</mark>. For how to configure this, see [Role Permission Management](/maiagent-user-guide/en/org/roles/role-permission.md).

#### Steps to View <a href="#view-maigpt-conversations-steps" id="view-maigpt-conversations-steps"></a>

{% stepper %}
{% step %}
Go to <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">AI Assistant Monitoring</mark> and switch to <mark style="color:blue;">Text Conversation Records</mark>.
{% endstep %}

{% step %}
In [Customize Filter Fields](#customize-filter-fields), select <mark style="color:blue;">Member</mark>, click <mark style="color:blue;">All Members</mark>, and check the members you want to view (multiple selection is supported, and you can type a keyword to search). If needed, also show <mark style="color:blue;">Source</mark> and set it to <mark style="color:blue;">Interactive Conversation</mark>, and adjust the time range; the filter bar shows only records from the <mark style="color:blue;">last 90 days</mark> by default.
{% endstep %}

{% step %}
In the list, find records whose <mark style="color:blue;">AI Assistant</mark> column is MaiGPT, and click <mark style="color:blue;">Details</mark> at the far right to view the complete question and reply.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
The <mark style="color:blue;">All Assistants</mark> dropdown does not list MaiGPT; use the member filter instead, then identify MaiGPT records from the <mark style="color:blue;">AI Assistant</mark> column. If you need the results as a list, click <mark style="color:blue;">Export</mark>; the export file applies the current filter conditions.
{% endhint %}

For the member-facing privacy explanation, see [MaiGPT Security and Privacy](/maiagent-user-guide/en/work/maigpt/faq/security.md#admin-access-to-chat).

### Export Requests <a href="#export-requests" id="export-requests"></a>

After you click <mark style="color:blue;">Export</mark> in <mark style="color:blue;">Text Conversation Records</mark>, the system generates an Excel file in the background based on the current filter conditions (including member, source, and tool) and shows "Export request created and is being processed...". Go to <mark style="color:blue;">AgentOps</mark> → <mark style="color:blue;">Export Requests</mark> in the left sidebar to see each export's <mark style="color:blue;">Status</mark>, the <mark style="color:blue;">User</mark> who started it, <mark style="color:blue;">Record Count</mark>, <mark style="color:blue;">File Size</mark>, <mark style="color:blue;">Processing Time</mark>, and the creation/completion times. Once the status is <mark style="color:blue;">Completed</mark>, you can download it from the <mark style="color:blue;">Actions</mark> column.

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-f417d42249de3cc61fd2e3255da547a9a669a793%2Fagentops-export-requests-user.png?alt=media" alt="Export request list including the User column"><figcaption><p>Export request list: shows the status, the user who started the export (masked), record count, and file size</p></figcaption></figure>

{% hint style="info" %}
When multiple admins share the same organization, the <mark style="color:blue;">User</mark> column shows who created each export file, so you can decide which one to download or delete.
{% endhint %}

### Dashboard Metrics and Error Rate <a href="#dashboard-metrics" id="dashboard-metrics"></a>

Switch to the "<mark style="color:blue;">Dashboard</mark>" tab. The "<mark style="color:blue;">Overview</mark>" at the top is divided into two cards, <mark style="color:blue;">Text Assistant</mark> and <mark style="color:blue;">Voice Assistant</mark>. The Text Assistant card lists the metrics below, each with its change rate compared with the previous period of the same length (vs previous period); below the card are the <mark style="color:blue;">Credit Consumption</mark> and the number of assistants in the period, and clicking "<mark style="color:blue;">View Records</mark>" jumps straight to the text conversation records:

| Metric                | Description                                                                                                                                                                                                                    |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Conversations         | The **number of Agent replies** in the period. Each AI reply round in the same conversation counts once; replies made by a human agent who took over, and scheduled automatic runs, are not counted (see the definition below) |
| Error Rate            | The proportion of replies that hit a system error (see below for the calculation)                                                                                                                                              |
| Average Response Time | The average time from receiving a message to completing the reply                                                                                                                                                              |
| Average TTFT          | The average time from the user sending a message to seeing the first word                                                                                                                                                      |

The filter bar lets you choose a date range, <mark style="color:blue;">All Assistants</mark>, <mark style="color:blue;">All LLMs</mark>, and a granularity of <mark style="color:blue;">Hourly</mark>, <mark style="color:blue;">Daily</mark>, or <mark style="color:blue;">Monthly</mark>. The dashboard counts only interactive conversations; view scheduled runs in "Text Conversation Records".

<figure><img src="https://1360999650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6v6TNkkOQVfRYfcNirHL%2Fuploads%2Fgit-blob-c25472c7f3765cfc8f340690d9ec7776e240797a%2Fagentops-dashboard-metrics.png?alt=media" alt="Filter bar and overview cards of the Agent Monitoring dashboard"><figcaption><p>Dashboard filter bar and overview: the Text Assistant card shows conversations, error rate, average response time, average TTFT, and Credit consumption</p></figcaption></figure>

#### Dashboard Charts <a href="#dashboard-charts" id="dashboard-charts"></a>

When "<mark style="color:blue;">Detailed Analysis</mark>" below the overview is switched to <mark style="color:blue;">Text Assistant</mark>, the following charts are shown. Click a legend item to toggle that series:

| Chart                                                          | What it shows                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Conversation Volume Trend                                      | Changes in the number of Agent replies in the period                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Response Time Trend                                            | Changes in the average reply time (Reply AVG), P95, and the average LLM inference time (LLM AVG)                                                                                                                                                                                                                                                                                                                                                                                                             |
| Error Rate Trend                                               | Changes in the overall error rate (see below for the calculation)                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <mark style="color:blue;">Error Rate Category Trend</mark>     | Breaks errors into five categories, <mark style="color:blue;">Timeout</mark>, <mark style="color:blue;">LLM</mark>, <mark style="color:blue;">System</mark>, <mark style="color:blue;">Tool Failure</mark>, and <mark style="color:blue;">Other</mark>, with a trend for each. System means a configuration error (for example, a problem with the model or key settings); an interrupted model stream is classified as Timeout; a user-initiated interruption (Client Interrupt) is not counted as an error |
| <mark style="color:blue;">Streaming Performance Metrics</mark> | Left axis <mark style="color:blue;">TTFT</mark> (time from sending a message to the first word), right axis <mark style="color:blue;">TPS</mark> (tokens generated per second). A higher TTFT means pre-processing or model startup has slowed down; a lower TPS means generation has slowed down                                                                                                                                                                                                            |
| <mark style="color:blue;">Answer Quality Scores</mark>         | The average <mark style="color:blue;">Faithfulness</mark> and <mark style="color:blue;">Relevancy</mark> (answer relevance) scores in the period, ranging from 0 to 1; data is available only for Agents with auto evaluation enabled, see [AI Customer Service Quality Management](/maiagent-user-guide/en/serve/ai-quality-guide.md)                                                                                                                                                                       |
| LLM Model Distribution                                         | Share of replies by model                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Assistant Service Ranking                                      | Compares each Agent's conversations, error rate, average response time, average TTFT, and TPS; click a column header to sort                                                                                                                                                                                                                                                                                                                                                                                 |

The same set of charts for a single Agent is also available under "<mark style="color:blue;">Usage Analytics</mark>" → "<mark style="color:blue;">Monitoring Metrics</mark>" on that Agent's settings page (requires AI Assistant Monitoring permission).

#### How Conversations Are Counted <a href="#conversation-count-definition" id="conversation-count-definition"></a>

The dashboard's "Conversations" and "Conversation Volume Trend" are counted per **Agent reply**, not per "number of conversations opened":

| Scenario                                                                | Counted? | Count |
| ----------------------------------------------------------------------- | -------- | ----- |
| A user enters the service but sends no message                          | No       | 0     |
| A user sends 1 message and the AI replies once                          | Yes      | 1     |
| A user asks 5 times in the same conversation and the AI replies 5 times | Yes      | 5     |
| A user sends a message but a human agent takes over the reply           | No       | 0     |
| A user sends a message and an error occurs while the AI replies         | Yes      | 1     |
| A scheduled automatic task                                              | No       | 0     |

{% hint style="info" %}
To see "how many conversations were opened", check "Conversation Count" on the Agent's "Usage Analytics" tab instead: it counts 1 when the user sends the first message, a conversation counts only once no matter how many rounds it has, and conversations taken over by a human agent are also included. The two numbers are defined differently, so under normal circumstances the dashboard's "Conversations" is greater than the "Conversation Count" in "Usage Analytics". For details, see [Usage Analytics](/maiagent-user-guide/en/build/agent/usage.md#conversations-count).
{% endhint %}

#### How Error Rate Is Calculated <a href="#error-rate-calculation" id="error-rate-calculation"></a>

> Error Rate = Number of replies with a system error ÷ Total number of replies × 100%

Only **system-level** errors are counted (for example, a failed model call or a timeout). The following cases are **not counted** as errors, to avoid overestimating:

* A user actively interrupts the reply (Client Interrupt)
* A normal interception by a content safeguard (Hook)

{% hint style="info" %}
Error rate is a "service stability" metric, not an answer quality score. When the error rate rises abnormally, we recommend opening that Agent's conversation records to find the cause (for example, a model problem or a failed external tool integration); to evaluate "whether the answers are good", review the quality scores (faithfulness / answer relevance) together with users' like / dislike feedback.
{% endhint %}

### Monitoring Best Practices <a href="#monitoring-best-practices" id="monitoring-best-practices"></a>

**Daily review**: Check conversations from the last 24 hours to identify abnormal response times or errors

**Identify performance bottlenecks**:

* Reply time > 10 seconds: check knowledge base retrieval efficiency or consider a faster LLM
* Token usage too high: assess whether the System Prompt or conversation history can be shortened

**Quality issue tracking**:

1. Use keyword search to find problem conversations
2. Analyze the root cause (insufficient knowledge base / AI misunderstanding / model limitations)
3. Add the problem cases to the test dataset, and run auto evaluation to verify the fix

***

## FAQ <a href="#faq" id="faq"></a>

### Q: What is the difference between Auto Evaluation and Agent Monitoring? <a href="#faq-evaluation-vs-monitoring" id="faq-evaluation-vs-monitoring"></a>

|              | Auto Evaluation                          | Agent Monitoring                  |
| ------------ | ---------------------------------------- | --------------------------------- |
| Purpose      | Periodic quality testing                 | Real-time operation monitoring    |
| Data source  | Preset test datasets                     | Actual user conversations         |
| Main metrics | Success rate, response time              | Performance, cost, quality scores |
| Best for     | Quality verification, regression testing | Daily monitoring, troubleshooting |

### Q: How often should I run evaluations? <a href="#faq-how-often-to-evaluate" id="faq-how-often-to-evaluate"></a>

Recommendation: weekly for core features, monthly for full tests, and immediately after major updates.

The back end has no schedule setting that automatically reruns test sets periodically; every evaluation is started manually by you by clicking <mark style="color:blue;">Confirm and Start Evaluation</mark> in the <mark style="color:blue;">Confirm Evaluation Cost</mark> window. If you need to rerun periodically, you can call the [Run Single-Turn Evaluation API](https://docs.maiagent.ai/api/api-reference/ping-gu-he-ce-shi-ji#evaluations-evaluate-create) from your own scheduler. <mark style="color:blue;">Enable Auto Evaluation</mark> in the Agent's advanced settings is a different thing: once enabled, every actual conversation is scored in real time, and the results appear in Agent Monitoring (see [AI Customer Service Quality Management](/maiagent-user-guide/en/serve/ai-quality-guide.md)); it does not run test sets periodically.

### Q: Will evaluations affect real users? <a href="#faq-evaluation-impact-on-users" id="faq-evaluation-impact-on-users"></a>

No. Auto evaluation uses a separate environment and does not interfere with real users' conversations.

### Q: What does it mean when users see "Unable to generate a response. Please try again later."? <a href="#faq-unable-to-generate-response" id="faq-unable-to-generate-response"></a>

This is the generic message shown to users when a system-level error occurs in the reply flow, such as a failed model call, a failure processing images or text, or a failure processing templates and hybrid mode. It is not an out-of-quota message (when quota runs out, the [quota exhausted message](/maiagent-user-guide/en/build/conversation-settings/platform-settings/interaction-settings.md#quota-exhausted-message) set in the conversation platform settings is shown), and it is not a Hook interception (which shows the interception message set in the Hook); when an Agent execution times out, the [custom timeout message](/maiagent-user-guide/en/build/agent/custom-max-tokens.md#agent-timeout-message) is shown if one is configured. To troubleshoot, go to the text conversation records, first select <mark style="color:blue;">Error Status</mark> and <mark style="color:blue;">Error Type</mark> in [Customize Filter Fields](#customize-filter-fields), set <mark style="color:blue;">Error Status</mark> to <mark style="color:blue;">Has Errors</mark>, narrow the scope with <mark style="color:blue;">Error Type</mark>, and then click <mark style="color:blue;">Details</mark> to see the error content; for failures in external tools, also see [Tool Execution Records](/maiagent-user-guide/en/build/agent-ops/tool-execution-records.md).

### Q: What should I do if the evaluation status shows "Evaluation Failed" or scores are abnormally low? <a href="#faq-evaluation-failed" id="faq-evaluation-failed"></a>

First tell which of the following situations applies:

* **The evaluation status is "**<mark style="color:blue;">**Evaluation Failed**</mark>**"**: this means the evaluation did not end normally. It may be that no test case completed (for example, the Agent's reply errored on every question, the evaluation model for a multi-turn evaluation could not be called at all, or the evaluation could not run from the start because the organization's Credits were used up; if the Credits run out after some cases have already completed, the evaluation ends as "<mark style="color:blue;">Partially Completed</mark>", and after you top up Credits you can click "<mark style="color:blue;">Resume Evaluation</mark>" to continue), or the evaluation may have made no progress for more than 4 hours and been ended automatically by the system. On a single-turn evaluation's details page, there is an info icon next to the status that shows "<mark style="color:blue;">Evaluation failures are usually caused by insufficient evaluation model capability. We recommend using a higher-quality model for more accurate evaluation results.</mark>". After an evaluation fails, you cannot click "<mark style="color:blue;">Resume Evaluation</mark>" to continue: first confirm that the Agent can answer normally and that the Credits balance is sufficient, switch to a different [evaluation model](#evaluation-llm) if necessary, and then create a new evaluation with the same test set.
* **The evaluation completes, but many metrics get the lowest score and the explanation text is blank**: this is usually because the evaluation model is not capable enough to score in the specified format. Such metrics are given the lowest score and judged as not passed, while the cases still count as completed, so the evaluation will usually still show as completed, just with a low success rate. Choose a more capable evaluation model, create the evaluation again, and compare the results.

### Q: How long is monitoring data retained? <a href="#faq-monitoring-data-retention" id="faq-monitoring-data-retention"></a>

Monitoring data is not cleared automatically over time. If you need to keep or analyze it long term in another system, download it using [Export Requests](#export-requests). For how long the whole organization's data is retained after a plan expires, see [Data Retention Policy](/maiagent-user-guide/en/others/trial-and-plans.md#data-retention-policy).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maiagent.ai/maiagent-user-guide/en/build/agent-ops/evaluations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
