Skip to main content
POST
/
ask_attention
Ask Attention
curl --request POST \
  --url https://api.attention.tech/v2/ask_attention \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "context_type": "conversation",
  "context_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",
  "conversations_used": [
    "conv_uuid_1",
    "conv_uuid_2"
  ]
}

Authorizations

Authorization
string
header
required

Body

Request containing the content to be analyzed and analysis parameters

context_type
enum<string>
required
Available options:
conversation,
deal
context_id
string
required
prompt
string
required

Response

Content successfully analyzed with attention points identified

output
string
required
conversations_used
string[]
required