Ask Attention V2
Tool
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
Documentation Index
Fetch the complete documentation index at: https://docs.attention.com/llms.txt
Use this file to discover all available pages before exploring further.
Choosing between
deal_id and conversations_idsAlthough both deal_id and conversations_ids appear as required in the schema, the endpoint actually requires exactly one of them per request:- To analyze specific conversations, set
conversations_idsto a non-empty array and passdeal_idas an empty string (""). - To analyze every conversation associated with a deal, set
deal_idto the deal UUID and omitconversations_ids(or pass it as an empty array[]).
deal_id and a non-empty conversations_ids returns a 400 error: “you must provide either a deal ID or conversation IDs, not both”. Sending neither returns an error stating that at least one is required.Example requests
Usingconversations_ids (pass deal_id as an empty string):
deal_id (omit or empty conversations_ids):
Authorizations
Query Parameters
When true, return timestamped segments (start/end seconds + excerpt) for each conversation alongside the textual answer.
When true, synthesize all per-conversation outputs into a single combined response appended with conversation_id "summary".
Body
Request containing the content to be analyzed and analysis parameters
Response
Content successfully analyzed with attention points identified
Example:
[
{
"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."
}
]
}
]