{"openapi":"3.1.0","info":{"title":"OpenHotel API","version":"1.0.0","description":"Agent-native hospitality commerce, direct booking, cryptographic digital room keys, and autonomous hotel operations API."},"servers":[{"url":"https://openhotel.run"}],"paths":{"/api/health":{"get":{"summary":"Service, PostgreSQL, and worker health check","responses":{"200":{"description":"Healthy"}}}},"/api/v1/properties":{"get":{"summary":"List and filter published properties with live rooms","responses":{"200":{"description":"Property list"}}}},"/api/v1/properties/{id}":{"get":{"summary":"Get property details, room types, and availability","responses":{"200":{"description":"Property detail"}}}},"/api/v1/ai/concierge-search":{"post":{"summary":"Natural-language AI stay intent search & ranking","responses":{"200":{"description":"Ranked stay matches"}}}},"/api/v1/bookings/quote":{"post":{"summary":"Calculate live dynamic stay quote with occupancy & promo codes","responses":{"200":{"description":"Stay quote"}}}},"/api/v1/bookings":{"get":{"summary":"List bookings for signed-in user or hotelier","responses":{"200":{"description":"Bookings"}}},"post":{"summary":"Create idempotent direct booking","responses":{"201":{"description":"Created booking"}}}},"/api/v1/bookings/{id}/check-in":{"post":{"summary":"Contactless pre-arrival check-in and HMAC-SHA256 Digital Key issuance","responses":{"200":{"description":"Digital key & SVG QR"}}}},"/api/v1/bookings/{id}/ics":{"get":{"summary":"Download stay calendar invite (.ics)","responses":{"200":{"description":"iCalendar file"}}}},"/api/v1/bookings/{id}/concierge":{"post":{"summary":"Submit in-stay guest concierge request & dispatch autonomous agent","responses":{"201":{"description":"Concierge ticket"}}}},"/api/v1/front-desk/verify-key":{"post":{"summary":"Verify cryptographic HMAC-SHA256 Digital Room Key","responses":{"200":{"description":"Verification result"}}}},"/api/v1/agents/runs":{"get":{"summary":"List autonomous hospitality agent runs","responses":{"200":{"description":"Agent runs"}}},"post":{"summary":"Dispatch an autonomous hospitality agent run","responses":{"201":{"description":"Agent run receipt"}}}},"/api/v1/connect-ai/status":{"get":{"summary":"Universal Connect AI (og-connect) provider status & model routing policy","responses":{"200":{"description":"Connect AI status"}}}},"/api/v1/bookings/{id}/protection":{"get":{"summary":"Get stay protection policy & truthful monitoring status","responses":{"200":{"description":"Protection policy"}}},"put":{"summary":"Enable, update, or pause stay protection preferences","responses":{"200":{"description":"Updated policy"}}}},"/api/v1/recovery/cases":{"get":{"summary":"List stay recovery cases (mine, hotelier, or companion-safe shared scope)","responses":{"200":{"description":"Recovery cases"}}},"post":{"summary":"Open deduplicated stay recovery case with preserve-first options","responses":{"201":{"description":"Recovery case"}}}},"/api/v1/recovery/cases/{id}/authorize":{"post":{"summary":"Idempotently authorize a scoped recovery option without unapproved cancellation","responses":{"200":{"description":"Authorized recovery case"}}}},"/api/v1/pms/recovery/cases/{id}":{"patch":{"summary":"Hotelier evidence-based response & resolution for stay recovery cases","responses":{"200":{"description":"Updated recovery case"}}}},"/api/v1/admin/overview":{"get":{"summary":"Admin platform KPIs, users, properties, and ops health","responses":{"200":{"description":"Admin overview"}}}},"/api/v1/admin/operations":{"get":{"summary":"Authorized operational diagnostics, real vs sample split, recovery queue & model routing","responses":{"200":{"description":"Operational diagnostics"}}}},"/mcp":{"post":{"summary":"Model Context Protocol JSON-RPC 2.0 Streamable HTTP endpoint","responses":{"200":{"description":"JSON-RPC response"}}}},"/.well-known/agent-card.json":{"get":{"summary":"A2A Agent Card discovery manifest","responses":{"200":{"description":"Agent Card JSON"}}}}}}