Skip to navigation

Deep-tier per-member behavioral enrichment

Gated by a deterministic trigger (weight/time/manual, in-flight lock, rate limit, session cap) evaluated before any model call — a declined trigger returns applied=false with no model call (cost-free, honest). On trigger, runs the request through the platform’s policy, cost, and safety checks to produce discovered preferences, genre shifts, and a passenger-visible reasoning narrative. Never rewrites the member’s existing persona for this session. airline_id/session/member are server-resolved; seatId/memberSlot on the wire are un-trusted locators only.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Headers

X-Session-IdstringRequired

The passenger-session locator (a within-tenant locator, never a trust assertion). A missing or key-unsafe value is rejected 400 before this handler runs.

Request

This endpoint expects an object.
seatIdstringRequired
memberSlotstring or nullOptional
manualbooleanOptional

An optional manual-trigger signal. This does not bypass the platform’s trigger gate — it is only one input to that decision.

Response

OK
correlationIdstring
discoveredPreferenceslist of objects
genreShiftslist of objects
reasoningNarrativestring

Passenger-visible free text describing the discovered preferences. Filtered for safety before being shown, including when delivered over the live event stream.

appliedboolean

False when the enrichment trigger declined (locked, rate-limited, or capped) — no model call was made, never a fabricated result.

schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error