Get the generation details
Retrieves detailed information about AI responses including the System Prompt, Conversation history, Knowledge base, website, FAQ chunks, and Rich Text chunks.
Authorizations
Access Token or Private Integration Token
Headers
API Version
2021-04-15 Query Parameters
Message Id
"messageId123"
conversation, workflow "conversation"
Response
Successful response
The complete prompt used for the AI response.
"Personality:\nFriendly and professional,\n\nIntent:\nAssist customers with inquiries\n\nAdditional Information:\nHandle basic support queries"
The response message generated by the AI.
"Hello! I understand you're interested in our products. How can I assist you today?"
List of actions taken during this interaction.
[
{
"contactUpdateAction": [
{
"fieldId": "field_123",
"value": "John Doe"
}
]
}
]Conversation history leading up to this response.
[
{
"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."
}
]The intent/goal extracted from location prompt.
"Assist customers with product inquiries and support"
FAQ chunks used in generating the response from fine-tuned data.
[
{
"id": "chunk_123",
"content": "Our return policy allows returns within 30 days of purchase.",
"title": "Return Policy FAQ"
}
]Website content chunks used in generating the response.
[
{
"id": "chunk_456",
"content": "We offer free shipping on orders over $50.",
"url": "https://example.com/shipping"
}
]ID of the employee/agent that generated the response.
"emp_123"
The original input message that triggered this response.
"What is your return policy?"
Mode of operation during this interaction.
"auto-pilot"