Skip to main content
POST
/
ask_attention
/
v2
Ask Attention
curl --request POST \
  --url https://api.attention.tech/v2/ask_attention/v2 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conversations_ids": [],
  "deal_id": "conv_123",
  "prompt": "Customer mentioned budget constraints but showed interest in premium features"
}'
[
  {
    "output": "Yes, this is an example of an 'Ask Attention' response",
    "conversation_id": "conv_uuid_1",
    "error": ""
  },
  {
    "output": "Yes, this is another example of an 'Ask Attention' response",
    "conversation_id": "conv_uuid_2",
    "error": ""
  }
]

Authorizations

Authorization
string
header
required

Body

Request containing the content to be analyzed and analysis parameters

conversations_ids
string[]
required
deal_id
string
required
prompt
string
required

Response

Content successfully analyzed with attention points identified

output
string
required
conversation_id
string
required
error
string
required