v1

latestOpenAPI 3.0.1Apache 2.02026-07-1398228598.3 KB
Tool
AskAttention

Ask Attention V2

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/v2

Query parameters

include_timestampsboolean

When true, return timestamped segments (start/end seconds + excerpt) for each conversation alongside the textual answer.

summarizeboolean

When true, synthesize all per-conversation outputs into a single combined response appended with conversation_id "summary".

Request body

conversations_idsstring[] required
deal_idstring required
promptstring required

Example request

{
  "conversations_ids": [],
  "deal_id": "conv_123",
  "prompt": "Customer mentioned budget constraints but showed interest in premium features"
}

Response

Content successfully analyzed with attention points identified

outputstring required
conversation_idstring required
errorstring required
titlestring

Conversation title

Example response

[
  {
    "output": "Yes, this is an example of an 'Ask Attention' response",
    "conversation_id": "conv_uuid_1",
    "error": "",
    "segments": [
      {
        "start_sec": 120.5,
        "end_sec": 135,
        "text": "Speaker A discusses pricing and discounts."
      }
    ]
  },
  {
    "output": "Yes, this is another example of an 'Ask Attention' response",
    "conversation_id": "conv_uuid_2",
    "error": "",
    "segments": [
      {
        "start_sec": 45,
        "end_sec": 62.5,
        "text": "Speaker B asks about the integration timeline."
      }
    ]
  }
]