hotel-search

Get Session Status

Session freshness and the party it was created for.

Content owns occupancy — the prices endpoint resolves it from the session and ignores whatever the client sent. This is how a client reads the same answer rather than rebuilding it from local state, which has previously dropped children and flattened multi-room parties.

Read-only: never extends the session TTL and never re-prices.

get/hotel-search/sessions/{session_id}

Path parameters

session_idstring uuid required

Response

Successful Response

session_idstring uuid required
check_instring date required
check_outstring date required
pricing_statusstring nullable
created_atstring date-time required
expires_atstring date-time required
last_activity_atstring date-time nullable
is_expiredboolean required

Example response

{
  "guests": {
    "rooms": [
      {
        "adults": 2,
        "children": [
          {
            "age": 5
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.