Base URL
All API requests are made over HTTPS. The base URL depends on how you host NervesHub:
Every endpoint path is appended directly to the base URL:
OpenAPI Specification
The server generates its own OpenAPI document and serves it, so it is never out of step with the running code:- Spec document:
https://manage.nervescloud.com/api/openapi - Interactive docs:
https://manage.nervescloud.com/api/docs
https://nerveshub.example.com/api/openapi. Import it into Postman, Insomnia, a code generator, or anything else that reads OpenAPI.
The endpoint reference in this section is built from NervesCloud’s specification. A self-hosted deployment exposes the same API, but if you are running an older version, fetch the spec from your own instance to see exactly what it offers.
URL Structure
All resource paths follow a consistent hierarchy anchored to an organization and, for most resources, a product:The
deployments path manages what the web console calls deployment groups. The path name is kept for backwards compatibility.Response Format
All responses are JSON. Successful responses wrap the payload in adata key:
data:
error or errors key:
HTTP Status Codes
Before making API calls, you need a Bearer token. See Authentication for instructions on generating and using API tokens.

