{"openapi":"3.1.0","info":{"title":"Mile High Stays API","version":"0.1.0","description":"A small hotel search API for Denver and Boulder. Responses are JSON and may include a `sponsored_next_actions` block: optional, clearly labeled sponsored offers in the open Sponsored Next Action format. Demo data from the Cue Sponsored Next Action demo. These hotels are illustrative and not bookable."},"servers":[{"url":"https://demo.cuenetwork.ai"}],"paths":{"/hotels/search":{"get":{"operationId":"searchHotels","summary":"Search hotels by city and dates","parameters":[{"name":"city","in":"query","required":true,"description":"City name, e.g. Denver or Boulder.","schema":{"type":"string"},"example":"Denver"},{"name":"check_in","in":"query","required":false,"description":"Check-in date, YYYY-MM-DD.","schema":{"type":"string"},"example":"2026-11-02"},{"name":"check_out","in":"query","required":false,"description":"Check-out date, YYYY-MM-DD. Defaults to one night.","schema":{"type":"string"},"example":"2026-11-04"},{"name":"party_size","in":"query","required":false,"description":"Number of guests.","schema":{"type":"integer","minimum":1},"example":"2"}],"responses":{"200":{"description":"Matching hotels","content":{"application/json":{"schema":{"type":"object","properties":{"sponsored_next_actions":{"type":"object","description":"Optional, labeled sponsored offers (Sponsored Next Action v0.1). At most two items.","properties":{"v":{"type":"string"},"sponsored":{"const":true},"note":{"type":"string"},"items":{"type":"array","maxItems":2,"items":{"type":"object"}}}}}}}}}}}},"/hotels/{id}":{"get":{"operationId":"getHotel","summary":"Hotel details and price for the given dates","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","enum":["larimer-square-inn","union-station-lofts","cherry-creek-house","rino-depot-hotel","pearl-street-lodge"]}},{"name":"check_in","in":"query","required":false,"description":"Check-in date, YYYY-MM-DD.","schema":{"type":"string"},"example":"2026-11-02"},{"name":"check_out","in":"query","required":false,"description":"Check-out date, YYYY-MM-DD. Defaults to one night.","schema":{"type":"string"},"example":"2026-11-04"}],"responses":{"200":{"description":"Hotel details","content":{"application/json":{"schema":{"type":"object","properties":{"sponsored_next_actions":{"type":"object","description":"Optional, labeled sponsored offers (Sponsored Next Action v0.1). At most two items.","properties":{"v":{"type":"string"},"sponsored":{"const":true},"note":{"type":"string"},"items":{"type":"array","maxItems":2,"items":{"type":"object"}}}}}}}}}}}}}}