This API retrieves the AI-generated summary of a customer-agent conversation that were previously requested via the POST AI Conversation Summary Request API. The AI analyzes the conversation and generates a structured summary in the language specified in the original request.
How It Works
- Request a summary - Use the POST endpoint to initiate AI analysis of a conversation
- Receive action_id - The POST request returns a unique
action_idfor tracking - Poll for results - Use this GET endpoint with the
action_idto check if the summary is ready - Processing states:
- Pending - AI is still analyzing the conversation
- Completed - Summary is ready and returned in the
answerfield - Failed - An error occurred during processing
Key Features
- Asynchronous processing - Summaries are generated in the background
- Automated translation - Results provided in the language specified in the original request
- Structured output - Summaries include key conversation points and action items
- Unique tracking - Each request has a persistent
action_idfor reliable retrieval
Best Practices
- Poll every 2-5 seconds to check if the summary is ready
- Cache completed summaries using the
action_idas the key
API key is needed to authorize requests. You can get your API key via the management console.
A Bearer Token is needed to be set in the Authorization header of every API call.
For additional support you can contact us.
Unique identifier from the POST AI conversation API payload
Summary request status retrieved successfully. The status field indicates whether the summary is ready.
Summary generation completed successfully
{
"status": "Completed",
"answer": "- **Client reason for contact**:\n - The client noticed an unfamiliar transaction of $12.50 from a merchant they do not recognize.\n\n- **Agent actions taken**:\n - Verified the transaction details and identified it as a recurring subscription.\n\n- **Resolution**:\n - Client recognized the subscription after verification.",
"action_id": "AI_API_SUMMARY_2f6995be-d52b-484b-9bae-2578227caf58"
}Summary is still being generated
{
"status": "Pending",
"action_id": "AI_API_SUMMARY_2f6995be-d52b-484b-9bae-2578227caf58"
}Summary generation failed
{
"status": "Failed",
"action_id": "AI_API_SUMMARY_2f6995be-d52b-484b-9bae-2578227caf58",
"error_message": "Conversation data not found or insufficient content for summarization"
}Current processing status of the AI conversation summary
The AI-generated conversation summary. Only populated when status is 'Completed'. Contains structured markdown with conversation highlights, key points, and action items.
Unique identifier for tracking this summary request. Same as the input parameter.
Error details if status is 'Failed'. Not present for Pending or Completed status.
Bad request - invalid input parameters
Unauthorized
Not Found
Internal server error