Events API
Push real-time behavioral user data into the agent's context window.
Behavioral Ingestion
The Events API lets you push customer behavior signals into Inquiru from your own systems (e.g., placing a deposit, creating a cart, interacting with a specific tab). The 20 most recent events for a customer are automatically injected directly into the agent's context window. If a customer just made a large deposit, the agent will know immediately when discussing their balance.
POST /api/v1/events/ingest
X-Api-Key: sk_live_...
{
"customerId": "user_123",
"eventType": "deposit",
"source": "payment-service",
"properties": {
"amount": 500,
"currency": "GBP",
"gateway": "stripe"
}
}