v1

latestOpenAPI 3.0.1Apache 2.02026-07-1398228598.3 KB
Tool
AskAttention

Ask Attention

Analyzes conversations or prompts to provide insights and attention points. This endpoint helps identify key information, sentiment, and important details in the provided content.

post/ask_attention

Request body

context_type'conversation' | 'deal' required
context_idstring required
promptstring required

Example request

{
  "context_type": "conversation",
  "context_id": "conv_123",
  "prompt": "Customer mentioned budget constraints but showed interest in premium features"
}

Response

Content successfully analyzed with attention points identified

outputstring required
conversations_usedstring[] required

Example response

{
  "output": "Yes, this is an example of an 'Ask Attention' response",
  "conversations_used": [
    "conv_uuid_1",
    "conv_uuid_2"
  ]
}