Skip to navigation

Generate a multi-day destination itinerary

Generates a multi-day itinerary grounded server-side in the CURRENT member’s bound persona and affinity profile (never a seat average) — cost-metered, output-guarded, audited. Day dates are server-computed (never AI-generated date strings); place address/phone/rating/image are sourced from a POI provider when a confident match is found, or omitted entirely — never AI-fabricated. A weather forecast is included when available; weatherAvailable=false with no per-day forecast is the honest response when it is not, never a synthesized one. seatId/memberSlot are un-trusted locators only; airline_id/persona/affinity/age-tier are always server-resolved.

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.

tripDurationNightsinteger or stringRequired
Trip length in nights. Must be between 1 and 7 nights inclusive.
memberSlotstring or nullOptional
originobjectOptional

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.

Response

OK
correlationIdstring
destinationobject

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.

dayslist of objects
arrivalobject

The arrival-day narrative + evening recommendations. transitInstructions/jetLagTip are passenger-visible model free-text, output-guarded.

weatherAvailableboolean

false when the weather provider was unavailable for this trip — in that case every day’s weather value is null rather than an invented forecast.

schemaVersionstringOptional
heroImageobject or nullOptional

The shared hero-image response — the one shape every hero-image endpoint returns. Defining a second, feature-local response variant anywhere is a contract-drift bug; every caller consumes this type verbatim, never a local copy. Model-free: never produced by a model call, so it carries no output-guard obligation of its own (an image URL is not passenger-visible free text).

Errors

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