For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conversation Details and Execution Timeline

On the conversation detail page of AI Assistant Monitoring, use the execution timeline, full conversation record, and usage panels to find out why a reply was slow, why it was wrong, and how many Cred

Every Agent reply has a record under "AgentOps" → "AI Assistant Monitoring" → "Conversation Records". Click "Details" on the far right to open the conversation details page. This page lays out every step of a reply, from receiving the message to sending the answer, and is the main screen for troubleshooting "why is it slow," "why is it wrong," and "why is it so expensive."

What you want to know
Where to look

Where these seconds went and which step is the bottleneck

What the model actually saw (system prompt, memory, retrieval results)

The LLM steps in the Execution Timeline and the Full Conversation Record

Whether a tool was called and what it returned

The tool steps in the Execution Timeline

How many Tokens and Credits were used and how much Prompt caching saved

You need to hand this record to an engineer or keep it for auditing

Page Layout

The page header has "Previous Record" / "Next Record" (which move through the current list in order), "Copy Link", and "Export". Below that, in order:

  1. Basic Information: the user's input message, output message, AI assistant, LLM, user, source, response time, user feedback, and so on. Records from scheduled runs also show the schedule name and status.

  2. Identifiers: record ID, conversation ID, conversation platform ID, AI assistant ID, user message ID, and bot message ID (scheduled runs also have a schedule ID). Each can be copied, which makes it easy to cross-reference when reporting an issue.

  3. Full Conversation Record: the complete context sent to the model and the model's reply.

  4. Execution Timeline: the duration, Tokens, and Credits of each step.

  5. Usage and performance panels: conversation text statistics, Credit consumption statistics, LLM call breakdown, processing time analysis, streaming performance metrics, and word count usage statistics.

  6. Quality Score Details, References, Error Messages, and Add to FAQ: see AI Customer Service Quality Management and Add Conversation Records to FAQ.

Execution Timeline

Below the title, the page first tells you "Where did these N seconds go?" The legend on the right shows three colors: LLM, Tool, and the red-outlined Bottleneck. The timeline lists every step in the order it occurred, and each step shows its duration, Tokens, and Credits. The longest step is marked as the bottleneck with a red outline and is expanded by default. Click any step to "Expand Details" or "Collapse Details".

Step Types

Step
Content
What to check

Preprocessing (N steps)

Stages such as dispatch delay, service initialization, message loading, context loading, waiting for attachments, input processing, and retrieval preparation, collapsed into one group. Expand it to see the "Preprocessing Stage Details"

If waiting for attachments or dispatch delay is long, the problem is in the preparation work, not the model

Retrieval

Knowledge base embedding and retrieval

Slow retrieval is usually caused by an oversized knowledge base or the Reranker settings

Round N LLM

In Agent mode, each model call counts as one round. Shows the input source (from the user message / from a tool result / from the previous LLM round), the decision (reply directly / call N tools / continue to LLM round N; a call that did not finish shows "Not completed, no reply generated" — see Unfinished Model Calls), the send and receive times of the LLM request and response, this round's input / output Tokens and total, and Credits (including cache savings)

Too many rounds means the Agent is calling tools repeatedly; a long single round means the model itself is slow

Tool Execution Details

Tool name, status (success / failure / timeout), input parameters, output result, the request URL of an API tool, and where the result was sent (LLM round N or the final reply)

If a tool failed or timed out, or returned something unexpected, check it right here

Hook Execution Record

The input Hooks / output Hooks this message passed through and the resulting actions

When a reply was masked or blocked, see which Hook did it. For details, see Hook Execution Logs

Guardrail Evaluation Result

The safety guardrail's decision (NONE means allowed, BLOCKED means blocked)

If a reply was blocked, check here first

Post-processing Operations

Wrap-up actions such as saving the reply, scheduling evaluations, and updating usage

Usually very short; a long duration indicates system load

Unfinished Model Calls

When a model call does not run to completion, the timeline shows exactly which round it stopped at and does not draw it as a success:

  • The summary of that LLM round shows "Not completed, no reply generated". When you hover over the timeline bar, the decision in the tooltip shows the same text and is not written as "reply directly."

  • Expand the details of that round. The status text in the upper-left corner shows how the call ended:

Status
Meaning
Text color

Success

The model responded normally

Green

Failed

The call returned an error

Red

Timed out

The reply exceeded the time limit and the call was cut off

Amber

Cancelled

Reply generation was stopped midway, for example when the user clicked "Stop Reply"

Gray

A customer service supervisor received a report from a colleague: "The assistant stopped halfway through its answer." She opened the details of that conversation under "AI Assistant Monitoring". On the timeline, LLM round 1 showed "Not completed, no reply generated," and after expanding it the status was "Cancelled." This told her the reply was stopped during generation rather than failing because of the model, so she did not need to change the assistant's settings.

In the execution timeline, LLM round 1 shows "Not completed, no reply generated," and both the tooltip and the expanded details show the status as Cancelled
After Stop is clicked during reply generation, LLM round 1 is marked as not completed with the status "Cancelled"

Steps with no status, or with a status other than those in the table above, are always shown in gray. Only steps that explicitly succeeded are shown in green.

View What the Model Saw

Expand "LLM Request and Response" in an LLM step to switch between three views of what was sent to the model:

  • Categorized: splits the request into System Prompt, Conversation History, Long-term Memory, Retrieval Results, Tool Results, Current User Message, Available Tools, and Other, with the item count for each category. Look here to confirm "whether the knowledge base retrieved the right passages" and "whether memory was included."

  • Formatted: shows messages one by one by role (system / user / assistant / tool).

  • Raw: the original, unprocessed content.

Each block has a "Copy" button in its upper-right corner, so you can copy that section to give to an engineer.

The timeline appears only when trace data was kept for the reply. Older records and some answer modes have only the basic information and usage panels.

Full Conversation Record

The "Full Conversation Record" presents everything in this model call as a conversation. Each message is labeled with its role: System / User / Assistant / Tool, and a tag shows its purpose in this reply:

Tag
Meaning

System Prompt

Role instructions and the system prompt assembled by the platform

Long-term Memory

Content brought in by persistent memory or cross-conversation retrieval; see Agent Memory

Conversation History

Earlier exchanges in the same conversation

Current Input

The message the user sent this time

Model Reply

The model's output this time

Long messages are truncated by default. Click "Expand Full Text" to see the full content and "Collapse" to close it. The full conversation record and the execution timeline link to each other: click "View Source" in the timeline to jump to the corresponding message, and click "Back to User Message" in the conversation record to return to the start of the timeline.

Usage and Performance Panels

Conversation Text Statistics

The Token usage for each part of this reply: Embedding, Image Embedding (shown only when image search is used), Reranking, LLM Input, LLM Output, LLM Cache Creation, LLM Cache Read, and the Total Tokens. Cache Read Tokens are the portion that hit the Prompt cache and are billed at a discounted rate.

Credit Consumption Statistics

The same parts converted to Credits and summed into the Total Credits. "Saved by Prompt Caching" below shows how many fewer Credits this reply cost compared with no cache hit, after the platform automatically enabled Prompt caching. For billing rules, see Credits Quota.

LLM Call Breakdown

In Agent mode, the sequence number, duration, and Tokens of each LLM call. The column totals roughly match the statistics above (rounding differences are allowed). If there are many rounds and each round uses a lot of Tokens, consider shortening the role instructions or limiting the maximum number of iterations.

Processing Time Analysis

Item
Description

Attachment Processing

Time spent uploading and parsing conversation attachments

Embedding / Reranking

The two stages of knowledge base retrieval

AI Model Inference

The full process of LLM inference and reply generation

System Overhead

The time left after subtracting the stages above from the total response time: system initialization, request validation, Agent workflow preparation, and so on

Core Processing Time / Total Response Time

The former is the sum of the processing stages; the latter is the time the user actually waited

Streaming Performance Metrics and System Performance Waterfall

Metric
Description

First Token Time

The time from when the LLM starts generating to when it emits the first Token; reflects how quickly the model starts

First Token From Request

The total latency from sending the request to receiving the first Token, including preprocessing, retrieval, and embedding; this is the "how long until text starts appearing" the user feels

Generation Speed

The average number of Tokens generated per second during streaming (TPS); higher is smoother

Total Generation Time / Total Generated Tokens

The generation time and Token count of the complete response

Performance Status

Rated Excellent / Good / Needs Optimization based on First Token latency and generation speed together

The "System Performance Waterfall" draws each stage as a horizontal bar in chronological order, with Total Time as the full length, so you can see at a glance which segment is longest. To see the details of each step, go to the Execution Timeline.

Word Count Usage Statistics

Input Word Count, Output Word Count, and Total Word Count, which correspond to the conversation word counts in the Agent's "Usage Analytics" tab.

Export

The "Export" dropdown in the page header offers three formats. All download directly to the browser without going through an export request:

Format
Content
Purpose

Export JSON

The complete data of this record, including basic information, identifiers, trace steps, and usage

Give to an engineer to reproduce an issue, or import into your own analytics tools

Export Markdown

The same content organized as readable Markdown

Paste into a ticket or meeting notes

Export Credit Audit

An Excel file that matches Credits against each transaction of this reply

Reconciliation and auditing. This export is a transaction-by-transaction record and does not include derived values such as "Saved by Prompt Caching"; the option is disabled when the record has no Credit audit data

To export multiple conversation records at once, go back to the "Conversation Records" list, apply filters, and click "Export". The Excel file is generated in the background by an export request.

Troubleshooting Examples

  • A user complains that "it took a long time before it started replying": First check First Token From Request in the streaming performance metrics. Then find the red-outlined bottleneck in the execution timeline. If it falls on "waiting for attachments" in preprocessing or on "Retrieval," the problem is in the preparation work, not the model.

  • The Agent answers incorrectly even though the knowledge base has the data: Expand the LLM step and open the "Categorized" view to see whether Retrieval Results contains the right passage. If not, go back and tune the knowledge base with Search Test. If it was retrieved but the answer is still wrong, fix the role instructions.

  • Why did this question cost so many Credits: Look at the number of rounds and the input Tokens per round in the LLM call breakdown. Many rounds mean tools are being called repeatedly; check the tool descriptions or limit the maximum number of iterations.

Last updated

Was this helpful?