> For the complete documentation index, see [llms.txt](https://docs.nerves-hub.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nerves-hub.org/nerves-hub/http-api.md).

# HTTP API

[You can also view the latest OpenAPI Spec on Github.](https://github.com/nerves-hub/nerves_hub_web/blob/main/api-spec.yml)

{% openapi src="<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>" path="/devices/{id}" method="get" %}
<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>" path="/orgs/{org}/keys" method="get" %}
<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>" path="/orgs/{org}/keys" method="post" %}
<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>" path="/users/me" method="get" %}
<https://raw.githubusercontent.com/nerves-hub/nerves_hub_web/main/api-spec.yml>
{% endopenapi %}
