Create a Call Summary
post
/api/v1/aia/sg/call-summary/summaries
Post a conversation transcript and request the summarization service to generate the AI summary for the conversation.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : AIASummaryRequest
Type:
objectTitle:
AIASummaryRequestResponse containing the result of a summarization request, including the conversation_id, config_id, summary for the conversation, and a list of tags.
Show Source
-
configId(required): string
Title:
ConfigidThe configuration ID of the summarization request for the customer. -
conversationId(required): string
Title:
ConversationidMaximum Length:256The conversation ID of the summarization request. -
conversations(required): array
Conversations
Title:
ConversationsMinimum Number of Items:1The list of conversations to summarize. -
formatInstructions: object
SummaryFormatInstructions
Title:
SummaryFormatInstructionsThe basic configuration for the output of a summarization request.
Nested Schema : Conversations
Type:
arrayTitle:
ConversationsMinimum Number of Items:
1The list of conversations to summarize.
Show Source
-
Array of:
object ConversationChannel
Title:
ConversationChannelThe content of a conversation channel and its metadata.
Nested Schema : SummaryFormatInstructions
Type:
objectTitle:
SummaryFormatInstructionsThe basic configuration for the output of a summarization request.
Default Value:
Show Source
{
}-
format:
Desired format of the generated summary.
-
length:
The desired length of the generated summary.
-
maxTags:
Title:
MaxtagsThe maximum number of requested tags for a given input. -
minTags:
Title:
MintagsThe minimum number of requested tags for a given input. -
section:
The desired format of the generated summary.
Nested Schema : ConversationChannel
Type:
objectTitle:
ConversationChannelThe content of a conversation channel and its metadata.
Show Source
-
conversation: string
Title:
ConversationThe text of the conversation to be summarized. -
metadata(required): object
ConversationMetadata
Title:
ConversationMetadataMetadata for each conversation channel. -
tag: string
Title:
TagMaximum Length:32The tag of the conversation, it can be speaker A, B, or combined. This field defines the speakers included in a conversation.
Nested Schema : ConversationMetadata
Type:
objectTitle:
ConversationMetadataMetadata for each conversation channel.
Show Source
-
timestamp(required):
Title:
TimestampThe timestamp for the conversation.
Response
Supported Media Types
- application/json
200 Response
Successful Response
Root Schema : AIASummaryResponse
Type:
objectTitle:
AIASummaryResponseResponse containing the result of a summarization request, including the conversation_id, config_id, summary for the conversation, and a list of tags.
Show Source
-
configId(required): string
Title:
ConfigidThe configuration ID of the summarization request for the customer. -
conversationId(required): string
Title:
ConversationidMaximum Length:256The conversation ID of the summarization request -
summary: string
Title:
SummaryDefault Value:The summary generated for the input conversation. -
tags: array
Tags
Title:
Tags
422 Response
Validation Error
Root Schema : HTTPValidationError
Type:
objectTitle:
Show Source
HTTPValidationError-
detail: array
Detail
Title:
Detail
Nested Schema : Detail
Type:
arrayTitle:
Show Source
Detail-
Array of:
object ValidationError
Title:
ValidationError
Nested Schema : ValidationError
Type:
objectTitle:
Show Source
ValidationError-
loc(required): array
Location
Title:
Location -
msg(required): string
Title:
Message -
type(required): string
Title:
Error Type