---
title: "Ask a question about a specific hotel"
method: POST
path: "/api/actions/ask-hotel"
---

# Ask a question about a specific hotel

`POST /api/actions/ask-hotel`

Get AI-powered answers to natural language questions about hotel amenities, services, and features (Beta)

## Request body

- object
  - `hotelId` string, required — Unique hotel identifier
  - `query` string, required — Natural language question about the hotel
  - `allowWebSearch` boolean — Enable web search for additional information

## Response `200`

AI-generated answer to the hotel question

- object
  - `data` object
    - `answer` string — AI-generated answer
    - `citations` string[] — Source citations (if web search used)
    - `latency_ms` number — Response time in milliseconds
    - `search_used` boolean — Whether web search was used

## Other responses

- `401` — Unauthorized - invalid or missing token
- `404` — Hotel not found

---

[API](https://skmtc.net/moodtrip/apis/moodtrip-actions-api.md) · [All operations](https://skmtc.net/moodtrip/apis/moodtrip-actions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moodtrip/moodtrip-actions-api/versions/61ea1b001dfa/schema)
