curl -X POST \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": {
"interaction_type": "support_request",
"user_message": "I cant log into my account even after resetting password",
"timestamp": "2024-01-15T14:30:00Z",
"previous_attempts": 3,
"user_emotion": "frustrated"
},
"scopes": {
"user_id": 123,
"project": "web-app"
}
}' \
https://api.contextbase.dev/v1/contexts/user-interactions/data