Skip to navigation

Fast-tier, single-slot POI replacement

Swaps a dismissed itinerary place for one drawn from a server-scoped POI candidate pool, grounded in the CURRENT member’s bound persona and affinity profile (never the seat average) — cost-metered, output-guarded, audited. seatId/memberSlot are un-trusted locators only; airline_id/persona/affinity/age-tier are always server-resolved. An empty candidate pool (after pinned/dismissed exclusion) returns an honest null replacement rather than a fabricated one, and never calls the model.

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
destinationobjectRequired

Identifies a place by city, country, or airport, with optional coordinates. Supply lat/lon only if you already have them — when they are omitted the server resolves coordinates from its airport and city reference data, so a city name or airport code alone is enough.

dismissedPlaceIdstringRequired

The place id being dismissed/replaced.

memberSlotstring or nullOptional
timeBlockSlotstring or nullOptional

One of morning, lunch, afternoon, or evening when the dismissed place came from a specific day slot; null when it did not (for example, an arrival-day evening recommendation).

pinnedPlaceIdslist of stringsOptional

Place ids to exclude from the candidate pool — un-trusted locators, never re-suggested.

Response

OK
correlationIdstring
schemaVersionstringOptional
replacementobject or nullOptional

One recommended place. name, category, priceTier, and whyForYou are generated for you; address, phone, rating, reviewCount, and imageUrl come from place-data providers or are null — they are never generated, so a null value there means the data was not available, not that it was skipped. There is no pinned/dismissed field: the caller holds pin/dismiss state on its own side, and this response does not track it.

reasoningstring or nullOptional

Passenger-visible model free-text, output-guarded; null alongside a null replacement.

Errors

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