This web service allows users with the ADMIN or BEHAVIOR_DATA_USER role to get more information about a Chatbot trace.
The Get a Chatbot trace details web service does not include conversations with the Agentic chatbot component.
It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.
| Method | Endpoint |
|---|---|
GET |
|
| Path parameter | Type | Description |
|---|---|---|
{conversationId} |
String | The conversation's ID. Call the Search Chatbot traces web service, and use the conversationId value. The conversationId value can only be a universally unique identifier (UUID). |
Below are two possible response bodies depending if the profile used for the chatbot is a classic chatbot profile or an agentic chatbot profile.
Response body
{
"type": "RAG",
"timestamp": "2026-09-22T13:12:26.515000+00:00",
"sessionId": "52bcdfea-6b23-4296-b475-282bba09aec4",
"userId": "a106f6f0-bd34-4a67-b769-1fb64341e501",
"profileId": "fluidy",
"conversationId": "0844e562-4c54-4aaa-81fb-3a395427f53f",
"chatbotInstructions": "Your name is Fluidy. You are a Fluid Topics Chatbot. You are in charge of helping users with their questions about Fluid Topics.",
"llmModel": "gpt-3.5-turbo",
"history": [
{
"role": "USER",
"timestamp": "2026-09-22T13:12:26.515000+00:00",
"content": "How can I create a table of contents file for Markdown content?"
},
{
"role": "ASSISTANT",
"timestamp": "2026-09-22T13:12:30.143000+00:00",
"content": "To create a table of contents file for Markdown content, you can follow these steps:\n\n1. Start by adding a list of links to the headings in your Markdown document.\n2. Use the pound sign (#) followed by the heading text to create anchor links.\n3. Ensure that each heading in the table of contents corresponds to the headings in your Markdown content.\n\nFor more detailed information, you can refer to the [Markdown documentation](https://docs.fluidtopics.com/r/Markdown-Connector-Reference-Guide).",
"semsearch": {
"query": "How can I create a table of contents file for Markdown content?",
"results": [
{
"excerpt": "# Table of contents organization",
"relevance": 0.6402482,
"metadata": {
"ft:contentId": [
"Zn1_JgzRXefLln0JC_3qMg"
],
"ft:isUnstructured": [
"false"
],
"id": [
"0"
],
"title": [
"OpenAPI Connector Reference Guide > Table of contents organization"
],
"ft:publicationId": [
"bezE3KnvMb_ip6mlfvXHTQ"
],
"url": [
"r/openapi-connector-reference-guide/prepare-openapi-content/table-of-contents-organization"
],
"relevance": [
"0.64024817943573"
]
}
},
{
"excerpt": "# Markdown",
"relevance": 0.5475721,
"metadata": {
"ft:contentId": [
"fUTdI2Ir4gOgQtMRdVrFkg"
],
"ft:isUnstructured": [
"false"
],
"id": [
"1"
],
"title": [
"Fluid Topics Release Notes > Markdown"
],
"ft:publicationId": [
"GiJVtxBlKJAmd373eWeStg"
],
"url": [
"r/fluid-topics-release-notes/may-19th-2025/content-processing/markdown"
],
"relevance": [
"0.5475720763206482"
]
}
},
{
"excerpt": "# Markdown",
"relevance": 0.54737425,
"metadata": {
"ft:contentId": [
"dhKc_9Duyf7hvb1TTJl9iA"
],
"ft:isUnstructured": [
"false"
],
"id": [
"2"
],
"title": [
"Fluid Topics Release Notes > Markdown"
],
"ft:publicationId": [
"4V2djYNnjAUh2kNjWs7_Hw"
],
"url": [
"r/fluid-topics-release-notes/september-14th-2026/content-processing/markdown"
],
"relevance": [
"0.5473742783069611"
]
}
},
{
"excerpt": "# Markdown",
"relevance": 0.54737425,
"metadata": {
"ft:contentId": [
"LpwvDRvyW~9PLGuBQK7sPA"
],
"ft:isUnstructured": [
"false"
],
"id": [
"3"
],
"title": [
"Fluid Topics Release Notes > Markdown"
],
"ft:publicationId": [
"FVPWEfHdoFI7tHEXFZo0Iw"
],
"url": [
"r/fluid-topics-release-notes/october-21st-2024/content-processing/markdown"
],
"relevance": [
"0.5473742783069611"
]
}
},
{
"excerpt": "# Markdown",
"relevance": 0.5473305,
"metadata": {
"ft:contentId": [
"cTOk5mywkplKqynRQBa0vQ"
],
"ft:isUnstructured": [
"false"
],
"id": [
"4"
],
"title": [
"Fluid Topics Release Notes > Markdown"
],
"ft:publicationId": [
"GiJVtxBlKJAmd373eWeStg"
],
"url": [
"r/fluid-topics-release-notes/april-14th-2025/content-processing/markdown"
],
"relevance": [
"0.5473304986953735"
]
}
}
],
"filters": [],
"groups": [
"ft:public",
"ft:administrator",
]
},
"metadata": {
"inputTokens": 621,
"outputTokens": 115,
"totalTokens": 736,
"timeToFirstToken": 2.703,
"latency": 3.637
}
}
],
"metadata": {
"inputTokens": 621,
"outputTokens": 115,
"totalTokens": 736
}
}
| Field | Type | Description |
|---|---|---|
type |
String | The type of trace. |
timestamp |
String | The UTC date and time for the first message of the user to the Chatbot, in ISO-8601 format (YYYY-MM-DDTHH:MM:SS with microseconds). |
sessionId |
String | The session ID. A user can have multiple traces in the same session. |
userId |
String | The user's ID. |
profileId |
String | An AI profile ID. |
conversationId |
String | The conversation ID. |
llmModel |
String | The Large Language Model (LLM) used by the Chatbot, and configured in the AI profile. |
history |
Array | The messages between the user and the Chatbot, from the oldest to the most recent. |
role |
String | Can be USER for the user, ASSISTANT for the Chatbot, or RATING for either an ADMIN or user rating. |
timestamp |
String | The UTC date and time for the message, in ISO-8601 format (YYYY-MM-DDTHH:MM:SS with microseconds). |
content |
String | Either the user's message, or the Chatbot's answer. |
chatbotInstructions |
String | The system prompt for the Chatbot. |
semsearch |
Object | The Chatbot bases its answers on the content of the portal. To that end, the Chatbot uses semantic search. An object containing information about the semantic search performed by the Chatbot. |
query |
String | The query used by the Chatbot for the semantic search. The Chatbot can rephrase the user's message to improve the semantic search's efficacy. |
results |
Array | The semantic search results for the user's query. |
excerpt |
String | A part of a topic that appears in the semantic search results. |
relevance |
Number | A relevance score from -1 to 1. -1 is the lowest possible score, while 1 is the highest possible score. |
metadata |
Object | The metadata for the topic containing the excerpt. |
filters |
Array | Filters applied to the Chatbot in its settings. |
groups |
Array | Indicates the rights of the user:
|
timestamp |
String | The UTC date and time for the query to the LLM, in ISO-8601 format (YYYY-MM-DDTHH:MM:SS with microseconds). |
source |
String | Can be TRACES_REVIEW for an ADMIN rating from the Chatbot traces menu, or CHATBOT for a user rating from the Chatbot component. |
userId |
String | The user's ID. |
tags |
Array | A list of issues associated with negative feedback. It is only possible to add a tag if the value field is 0.Possible values are:
|
comment |
String | A comment associated with the rating. Comments are limited to 5000 characters. |
metadata |
Object | An object containing metadata relative to tokens and response time. |
inputTokens |
Integers | The number of input tokens billed by the provider. |
outputTokens |
Integers | The number of output tokens. |
totalTokens |
Integers | The sum of input and output tokens. |
timeToFirstToken |
Float | Time between the LLM call and the beginning of its response. |
latency |
Float | Total duration of the LLM call. |
Response body
{
"type": "AGENT",
"sessionId": "889c3546-5f5f-48cd-9318-6b8047e1bbaa",
"userId": "4425960e-be64-4024-8f2c-4d4034e4dbec",
"profileId": "agentic",
"conversationId": "99d3ec4f-673f-460d-9d48-63b7f21544ac",
"llmModel": "gpt-5.6-luna",
"history": [
{
"role": "USER",
"timestamp": "2026-09-16T12:05:05.793000+00:00",
"content": "how do i publish markdown"
},
{
"role": "ASSISTANT",
"systemPrompt": "You are the official documentation portal for the Fluid Topics product. Your name is Fluidy.\nThe search page for the documentation portal is https://docs.fluidtopics.com/search?content-lang=en-US\nOn this page, you can filter content to find specific documentation.\nTry to match the documentation's formatting in your answers (for example, UI elements are bold). \nDon't answer personal questions or questions about competitors, and keep the answers professional. \nDon't provide medical, legal, or financial advice. \nDon't provide answers that are harmful or offensive. \nThink step by step before answering. \nAlways respond in the same language as the user’s latest message.\nIf the context doesn't help, you can ask for more information or say that you don't have enough information to answer the question.\nEmbed any code examples (XML, HTML, Python, Bash, etc.) within <ft-copy-block> tags.\nOtherwise, format your answer in Markdown.",
"timestamp": "2026-09-16T12:05:05.793000+00:00",
"duration": 10.115,
"metadata": {
"inputTokens": 35902,
"cacheReadInputTokens": 0,
"outputTokens": 436,
"totalTokens": 36338,
"timeToFirstToken": 9.95
},
"steps": [
{
"type": "REASONING",
"timestamp": "2026-09-16T12:05:05.793000+00:00",
"duration": 2.335,
"metadata": {
"inputTokens": 892,
"cacheReadInputTokens": 0,
"outputTokens": 41,
"totalTokens": 933,
"timeToFirstToken": 0.936
}
},
{
"type": "TOOL",
"toolName": "SEMANTIC_SEARCH",
"broken": false,
"timestamp": "2026-09-16T12:05:08.133000+00:00",
"duration": 2.291,
"input": {
"query": "How do I publish Markdown content in Fluid Topics?",
"filters": []
},
"output": [
{
"clusterId": "d6f9847e3b9e1a78ca01ac3f02eaef5c48fd89d78a3400c74eb74ccdd237bf6f-publish",
"variants": [
{
"publicationId": "VZwyy4HSU18Mlonl9oOEzQ",
"contentId": "Lo9wkTwtmltyr2KCHGzLjg",
"title": "Publish documentation to a Fluid Topics portal",
"contentUrl": "https://doc-interne.antidot.net/r/public/Fluid-Topics-Publisher-ftpub/Command-line-interface/Available-commands/Publish-documentation-to-a-Fluid-Topics-portal",
"toc": [
{
"tocId": "zZGTdgPU_2YGlub67jHmeg",
"contentId": "RKH2kyJR7SkhzGq80JmX7w",
"title": "Introduction to ftpub",
"isLeaf": true,
"wordCount": 129,
"children": []
},
{
"tocId": "m5cdd0Iu~AxFC_qziW91gw",
"contentId": "XJkK_rczNPCskcxrr8dIgg",
"title": "Command-line interface",
"isLeaf": false,
"wordCount": 24,
"children": [
{
"tocId": "GYgofIQSxGDgrT9r~MIAgQ",
"contentId": "~24xguyyvCaVBh1ScnbIMw",
"title": "Available commands",
"isLeaf": false,
"wordCount": 29,
"children": [
{
"tocId": "rZv3VVzKYToC8LRBY9SOfw",
"contentId": "Lo9wkTwtmltyr2KCHGzLjg",
"title": "Publish documentation to a Fluid Topics portal",
"isLeaf": false,
"wordCount": 66,
"children": []
}
]
}
]
},
{
"tocId": "8_FM1H1iyz19sIjFjUKuLg",
"contentId": "yVsvseKvyCv0k3MnLssBsg",
"title": "Continuous integration",
"isLeaf": false,
"wordCount": 26,
"children": []
}
],
"chunks": [
{
"excerpt": "# Publish documentation to a Fluid Topics portal\n\nThe `publish` command collects documentation, creates a ZIP archive, and publishes the archive to Fluid Topics through a source. \nWhen publishing content through a source that only accepts one document at a time (for example, a [Markdown](https://docs.fluidtopics.com/r/Markdown-Connector-Reference-Guide) or [OpenAPI](https://docs.fluidtopics.com/r/OpenAPI-Connector-Reference-Guide) source), it is necessary to call the commands once for each document and store each document in its own directory.",
"relevance": 0.52000386,
"contentId": "Lo9wkTwtmltyr2KCHGzLjg"
}
]
}
]
}
]
},
{
"type": "REASONING",
"content": "**Clarifying archive requirements**\n\nI need to provide a concise answer about the preparation archive requirements. It’s important to distinguish between UI and advanced options. I should also include a sources schema with a valid JSON object, containing a message string in markdown format and an array for sources. It might be helpful to include links to documentation as well. I want to make sure no code is necessary in my response.",
"timestamp": "2026-09-16T12:05:10.429000+00:00",
"duration": 5.314,
"metadata": {
"inputTokens": 35010,
"cacheReadInputTokens": 0,
"outputTokens": 45,
"totalTokens": 35055,
"timeToFirstToken": 0.913
}
},
{
"type": "ANSWER",
"content": {
"message": "## Publish Markdown content\n\nBefore you begin, make sure that:\n\n- You have the **ADMIN**, **KHUB_ADMIN**, or **CONTENT_PUBLISHER** role. A **CONTENT_PUBLISHER** must also have permission to publish through the Markdown source.\n- Your portal has a configured **Markdown** source.\n- Your `.zip` archive contains either a `README.md` or a `toc.yml` file at its root, depending on your document organization.\n- The archive contains only one document.\n\n### From the user interface\n\n1. Open the **Administration** menu.\n2. Go to **Publishing**.\n3. Select **Publish content**.\n4. Drag and drop your `.zip` archive into the window, or select **Browse**.\n5. Select the **Markdown** source.\n6. Select **Publish**.\n\nFor automated publishing, you can also use the `ftpub` command-line tool or the **Upload content** web service.",
"sources": [
{
"publicationType": "TOPIC",
"title": "Publish Markdown content",
"publicationId": "XmbvMi7NFt0~y_Zc5O4uIQ",
"contentId": "PN~3LNCfieuVBFXEXqxfsQ",
"excerpt": "To publish Markdown content, upload a .zip archive, select a Markdown source, and select Publish. The archive must contain README.md or toc.yml at its root and can contain only one document.",
"contentUrl": "https://docs.fluidtopics.com/r/Markdown-Connector-Reference-Guide/Publish-and-manage-Markdown-content/Publish-Markdown-content"
}
]
},
"timestamp": "2026-09-16T12:05:15.743000+00:00",
"duration": 0.0,
"metadata": {
"outputTokens": 350,
"totalTokens": 350
}
}
]
},
{
"role": "RATING",
"ratings": [
{
"value": 1,
"timestamp": "2026-09-16T12:05:49.274000+00:00",
"source": "CHATBOT",
"userId": "4425960e-be64-4024-8f2c-4d4034e4dbec",
"tags": [],
"comment": ""
}
]
}
]
}
The SEMANTIC_SEARCH output has been shortened for better readability.
| Field | Type | Description |
|---|---|---|
type |
String | Is always AGENT for this web service. |
sessionId |
String | The session ID. A user can have multiple traces in the same session. |
userId |
String | The user's ID. |
profileId |
String | An AI profile ID. |
conversationId |
String | The conversation ID. |
llmModel |
String | The Large Language Model (LLM) used by the Agentic Chatbot, and configured in the AI profile. |
history |
Array | The messages between the user and the Agentic Chatbot, from the oldest to the most recent. |
role |
String | Can be USER for the user, ASSISTANT for the Agentic Chatbot, or RATING for either an ADMIN or user rating. |
timestamp |
String | The UTC date and time for the message, in ISO-8601 format (YYYY-MM-DDTHH:MM:SS with microseconds). |
content |
String | The user's message for a role of USER, or the content of the LLM's reasoning for a type of REASONING. |
systemPrompt |
String | The system prompt for the Agentic Chatbot, as configured in the AI profile. |
duration |
Number | The duration of the action. |
metadata |
Object | Information about the action. |
inputTokens |
Number | The number of input tokens. |
cacheReadInputTokens |
Number | See What is Prompt Caching?. |
outputTokens |
Number | The number of output tokens. |
totalTokens |
Number | The total number of tokens. |
timeToFirstToken |
Number | See What is time to first token (TTFT)?. |
steps |
Array | The answer generation various steps. |
type |
String | Can be REASONING, TOOL, or ANSWER. |
toolName |
String | The various tools accessible to the agent. Possible values are SEMANTIC_SEARCH, KEYWORD_SEARCH, and SECTION_READ. |
broken |
Boolean | Indicates whether a tool execution failed or encountered an error. |
input |
Object | Information about the semantic search input by the LLM. |
query |
String | The query used by the Agentic Chatbot for the semantic search. The Agentic Chatbot can rephrase the user's message to improve the semantic search's efficacy. |
filters |
Array | Filters applied to the Agentic Chatbot in its settings. |
output |
Array | The Agentic Chatbot bases its answers on the content of the portal. To that end, the Agentic Chatbot uses semantic search. An object containing information about the semantic search performed by the Agentic Chatbot. See Clustered semantic search. |
content |
Object | Information about the Agentic Chatbot's answer to the user. |
message |
String | The Agentic Chatbot's answer to the user. |
sources |
Array | The sources provided by the Agentic Chatbot to the user for the answer. |
ratings |
Array | An array containing the possible user and administrator ratings. |
value |
Number | The rating value. 0 is negative, and 1 is positive. |
timestamp |
String | The UTC date and time for the query to the LLM, in ISO-8601 format (YYYY-MM-DDTHH:MM:SS with microseconds). |
source |
String | Can be TRACES_REVIEW for an ADMIN rating from the Chatbot traces menu, or CHATBOT for a user rating from the Agentic Chatbot component. |
userId |
String | The user's ID. |
tags |
Array | A list of issues associated with negative feedback. It is only possible to add a tag if the value field is 0.Possible values are:
|
comment |
String | A comment associated with the rating. |