POST
/
ask_attention
curl --request POST \
  --url http://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"
}

Authorizations

Authorization
string
header
required

Body

Request containing the content to be analyzed and analysis parameters

The body is of type object.

Response

200
application/json

Content successfully analyzed with attention points identified

The response is of type object.