> For the complete documentation index, see [llms.txt](https://www.openhue.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.openhue.io/api.md). Agents can also search and read this documentation through its [MCP server](https://www.openhue.io/~gitbook/mcp).

# API

- [OpenHue API](https://www.openhue.io/api/openhue-api.md): OpenHue API is an open-source project that provides a comprehensive OpenAPI specification for the Philips Hue REST API.
- [Authentication](https://www.openhue.io/api/openhue-api/authentication.md): The authentication API allows to retrieve the hue-application-key, that is passed as header for Authorization.
- [Resource](https://www.openhue.io/api/openhue-api/resource.md): This endpoint allows retrieving all resources exposed by the Hue Bridge.
- [Bridge](https://www.openhue.io/api/openhue-api/bridge.md): API to manage the bridge.
- [Home](https://www.openhue.io/api/openhue-api/home.md): Homes group rooms as well as devices not assigned to a room.
- [Device](https://www.openhue.io/api/openhue-api/device.md): API to manage devices. Devices have device level properties and offer services such as light.
- [Light](https://www.openhue.io/api/openhue-api/light.md): These are offered by devices with lighting capabilities.
- [Scene](https://www.openhue.io/api/openhue-api/scene.md): Scenes are used to store and recall settings for a group of lights.
- [Room](https://www.openhue.io/api/openhue-api/room.md): Rooms group devices and each device can only be part of one room.
- [Zone](https://www.openhue.io/api/openhue-api/zone.md): Zones group services and each service can be part of multiple zones.
- [Sensors](https://www.openhue.io/api/openhue-api/sensors.md): This page regroups the sensors-related APIs.
- [OpenHue API](https://www.openhue.io/api/openhue-api-1.md): OpenHue API is an open-source project that provides a comprehensive OpenAPI specification for the Philips Hue REST API.
- [Auth](https://www.openhue.io/api/openhue-api-1/auth.md)
- [Resource](https://www.openhue.io/api/openhue-api-1/resource.md)
- [Device](https://www.openhue.io/api/openhue-api-1/device.md)
- [Device Power](https://www.openhue.io/api/openhue-api-1/device-power.md)
- [Light](https://www.openhue.io/api/openhue-api-1/light.md)
- [Light Level](https://www.openhue.io/api/openhue-api-1/light-level.md)
- [Motion](https://www.openhue.io/api/openhue-api-1/motion.md)
- [Grouped Light](https://www.openhue.io/api/openhue-api-1/grouped-light.md)
- [Bridge](https://www.openhue.io/api/openhue-api-1/bridge.md)
- [Bridge Home](https://www.openhue.io/api/openhue-api-1/bridge-home.md)
- [Scene](https://www.openhue.io/api/openhue-api-1/scene.md)
- [Smart Scene](https://www.openhue.io/api/openhue-api-1/smart-scene.md)
- [Room](https://www.openhue.io/api/openhue-api-1/room.md)
- [Zone](https://www.openhue.io/api/openhue-api-1/zone.md)
- [Temperature](https://www.openhue.io/api/openhue-api-1/temperature.md)
- [Button](https://www.openhue.io/api/openhue-api-1/button.md)
- [Bell Button](https://www.openhue.io/api/openhue-api-1/bell-button.md)
- [Relative Rotary](https://www.openhue.io/api/openhue-api-1/relative-rotary.md)
- [Contact](https://www.openhue.io/api/openhue-api-1/contact.md)
- [Tamper](https://www.openhue.io/api/openhue-api-1/tamper.md)
- [Camera Motion](https://www.openhue.io/api/openhue-api-1/camera-motion.md)
- [Grouped Motion](https://www.openhue.io/api/openhue-api-1/grouped-motion.md)
- [Grouped Light Level](https://www.openhue.io/api/openhue-api-1/grouped-light-level.md)
- [Convenience Area Motion](https://www.openhue.io/api/openhue-api-1/convenience-area-motion.md)
- [Security Area Motion](https://www.openhue.io/api/openhue-api-1/security-area-motion.md)
- [Motion Area Candidate](https://www.openhue.io/api/openhue-api-1/motion-area-candidate.md)
- [Motion Area Configuration](https://www.openhue.io/api/openhue-api-1/motion-area-configuration.md)
- [Zigbee Connectivity](https://www.openhue.io/api/openhue-api-1/zigbee-connectivity.md)
- [Zgp Connectivity](https://www.openhue.io/api/openhue-api-1/zgp-connectivity.md)
- [Wifi Connectivity](https://www.openhue.io/api/openhue-api-1/wifi-connectivity.md)
- [Zigbee Device Discovery](https://www.openhue.io/api/openhue-api-1/zigbee-device-discovery.md)
- [Homekit](https://www.openhue.io/api/openhue-api-1/homekit.md)
- [Matter](https://www.openhue.io/api/openhue-api-1/matter.md)
- [Matter Fabric](https://www.openhue.io/api/openhue-api-1/matter-fabric.md)
- [Entertainment](https://www.openhue.io/api/openhue-api-1/entertainment.md)
- [Entertainment Configuration](https://www.openhue.io/api/openhue-api-1/entertainment-configuration.md)
- [Speaker](https://www.openhue.io/api/openhue-api-1/speaker.md)
- [Behavior Script](https://www.openhue.io/api/openhue-api-1/behavior-script.md)
- [Behavior Instance](https://www.openhue.io/api/openhue-api-1/behavior-instance.md)
- [Geofence Client](https://www.openhue.io/api/openhue-api-1/geofence-client.md)
- [Geolocation](https://www.openhue.io/api/openhue-api-1/geolocation.md)
- [Device Software Update](https://www.openhue.io/api/openhue-api-1/device-software-update.md)
- [Service Group](https://www.openhue.io/api/openhue-api-1/service-group.md)
- [Event](https://www.openhue.io/api/openhue-api-1/event.md)
- [Models](https://www.openhue.io/api/openhue-api-1/models.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.openhue.io/api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
