Track search hits and user interaction events
curl -X POST "https://api.hibonsai.com/rest/hits/" \ -H "X-API-Key: YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{"organization":"organization-uuid","eventDate":"2024-01-01T00:00:00Z","classification":"search"}'
POST /rest/hits/
search
GET
POST
/search
{ "organization": "organization-uuid", "eventDate": "2024-01-01T00:00:00Z", "method": "GET", "path": "/search", "url": "https://example.com/search?q=query", "userAgent": "Mozilla/5.0...", "classification": "search", "clientIp": "192.168.1.1", "botScore": 0.95, "verifiedBot": false, "headers": {}, "cf": {} }
id
createdAt
updatedAt