Skip to main content
GenerationsVersion: v3

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.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:conversation-ai.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Query Parameters

messageIdstringrequired

Message Id

Example:messageId123
sourcestringrequired

Source of the AI message - conversation or workflow

Available optionsconversationworkflow
Example:conversation

Response

Successful response

promptstringrequired

The complete prompt used for the AI response.

Example:Personality: Friendly and professional, Intent: Assist customers with inquiries Additional Information: Handle basic support queries
intentstring

The intent/goal extracted from location prompt.

Example:Assist customers with product inquiries and support
responseMessagestringrequired

The response message generated by the AI.

Example:Hello! I understand you're interested in our products. How can I assist you today?
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.

Example:emp_123
inputstring

The original input message that triggered this response.

Example:What is your return policy?
actionLogsarrayrequired

List of actions taken during this interaction.

historyarrayrequired

Conversation history leading up to this response.

modestring

Mode of operation during this interaction.

Example:auto-pilot