<a id="restapi"></a>

# REST API

These reference guides cover the REST APIs exposed by LXD, its main API and the DevLXD API.

## The main LXD API

The main LXD API can be used for managing instances, networks, storage, and other resources, and for subscribing to the event log.

* [Main API overview](../rest-api/index.html.md)
* [Main API specification](../api/index.html.md)
* [Main API extensions](../api-extensions/index.html.md)
* [Events stream](../events/index.html.md)

## DevLXD API

The DevLXD API allows instances to communicate with their host over a Unix socket.

* [DevLXD API for instances](../dev-lxd/index.html.md)

## Related topics

How-to guides:

- [LXD server and client](../operation/index.html.md#lxd-server)

Explanation:

- [About `lxd` and `lxc`](../explanation/lxd_lxc/index.html.md#lxd-lxc)
- [The LXD Dqlite database](../database/index.html.md#database)
