# 1key API

> Control and monitor the devices in your buildings through one API. v1 covers sites, 1key hubs and the locks, thermostats, switches and sensors they connect; everything the portal does with sites and hubs, the API does too. Bearer API keys with scopes; per-hub event cursors; device state stays on the hub.

- [Full docs in one file](https://developers.1keyplatform.dev/llms-full.txt)
- [OpenAPI 3.1 contract](https://developers.1keyplatform.dev/openapi.yaml)

## Get started

- [Quickstart](https://developers.1keyplatform.dev/docs/quickstart.md)
- [Authentication](https://developers.1keyplatform.dev/docs/authentication.md)

## Guides

- [Sites](https://developers.1keyplatform.dev/docs/sites.md)
- [Hubs](https://developers.1keyplatform.dev/docs/hubs.md)
- [Members](https://developers.1keyplatform.dev/docs/members.md)
- [Devices](https://developers.1keyplatform.dev/docs/devices.md)
- [Commands](https://developers.1keyplatform.dev/docs/commands.md)
- [Events](https://developers.1keyplatform.dev/docs/events.md)
- [Errors](https://developers.1keyplatform.dev/docs/errors.md)
- [Rate limits](https://developers.1keyplatform.dev/docs/rate-limits.md)

## Build with AI

- [AI assistants](https://developers.1keyplatform.dev/docs/llms.md)

## Reference

- [API reference](https://developers.1keyplatform.dev/docs/api-reference.md)
- [Event reference](https://developers.1keyplatform.dev/docs/event-reference.md)
- [Changelog](https://developers.1keyplatform.dev/docs/changelog.md)
