Get the generation details
GET/conversation-ai/generations
Retrieves detailed information about AI responses including the System Prompt, Conversation history, Knowledge base, website, FAQ chunks, and Rich Text chunks.
Request
Version stringrequired
API Version
Available options
v3messageId stringrequired
Message Id
source stringrequired
Available options
conversationworkflowSuccessful response
- application/json
- Schema
- Example (auto)
Schema
promptstringrequired
The complete prompt used for the AI response.
intentstring
The intent/goal extracted from location prompt.
responseMessagestringrequired
The response message generated by the AI.
faqsarray
FAQ chunks used in generating the response from fine-tuned data.
websitearray
Website content chunks used in generating the response.
agentIdstring
ID of the employee/agent that generated the response.
inputstring
The original input message that triggered this response.
actionLogsarrayrequired
List of actions taken during this interaction.
historyarrayrequired
Conversation history leading up to this response.
modestring
Mode of operation during this interaction.
{
"prompt": "Personality:\nFriendly and professional,\n\nIntent:\nAssist customers with inquiries\n\nAdditional Information:\nHandle basic support queries",
"intent": "Assist customers with product inquiries and support",
"responseMessage": "Hello! I understand you're interested in our products. How can I assist you today?",
"faqs": [
{
"id": "chunk_123",
"content": "Our return policy allows returns within 30 days of purchase.",
"title": "Return Policy FAQ"
}
],
"website": [
{
"id": "chunk_456",
"content": "We offer free shipping on orders over $50.",
"url": "https://example.com/shipping"
}
],
"agentId": "emp_123",
"input": "What is your return policy?",
"actionLogs": [
{
"contactUpdateAction": [
{
"fieldId": "field_123",
"value": "John Doe"
}
]
}
],
"history": [
{
"role": "user",
"content": "Hi, I have a question about returns"
},
{
"role": "assistant",
"content": "I'll be happy to help you with information about our return policy."
}
],
"mode": "auto-pilot"
}