Skip to navigation

Ingest a batch of behavioral events

Accepts a batch of 1..500 behavioral-event signals and stores each one server-stamped with the caller’s airline_id (derived from the bearer token’s client_id — never caller-supplied), a server-derived signal weight, and a TTL. The one free-text field (search_query’s query) is PII-scrubbed before it is stored; a PII-shaped value in any other field rejects that event. Per-event validation/idempotency outcomes are reported inside the 200 EventBatchResult; only malformed or out-of-range batches are HTTP errors.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

This endpoint expects an object.
eventslist of objectsRequired
schemaVersionstringOptional

Response

OK
acceptedinteger or string
duplicatesinteger or string
rejectedlist of objects
schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error