The Things Network / The Things Stack NsEndDeviceRegistry API

The NsEndDeviceRegistry API from The Things Network / The Things Stack — 4 operation(s) for nsenddeviceregistry.

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /ns/applications/{application_ids.application_id}/devices/{device_id} Delete a device from the Network Server · Delete deletes the device that matches the given identifiers. #
Ask an LLM
“How do I remove an end device from the Network Server registry?”
“What happens if more than one Network Server device matches my identifiers?”
Tell an agent destructive · confirm first
Delete device {device_id} of application {application_id} from the Network Server.
Remove Network Server state for {device_id} in {application_id}.
POST /ns/applications/{end_device.ids.application_ids.application_id}/devices Register a device on the Network Server · Set creates or updates the device #
Ask an LLM
“How do I add a new end device's MAC settings to the Network Server?”
“Can I create a Network Server device without the device ID in the path?”
Tell an agent
Create device {end_device} on the Network Server for application {application_id}.
Register a new end device's network-layer settings in {application_id}.
PUT /ns/applications/{end_device.ids.application_ids.application_id}/devices/{end_device.ids.device_id} Update a device on the Network Server · Set creates or updates the device #
Ask an LLM
“How do I change an existing device's network-layer settings like its MAC version?”
“Can I update only certain Network Server device fields?”
Tell an agent
Update Network Server device {device_id} in application {application_id} with {end_device}.
Change fields {field_mask} of device {device_id} on the Network Server in {application_id}.
GET /ns/applications/{end_device_ids.application_ids.application_id}/devices/{end_device_ids.device_id} Get a device's Network Server state · Get returns the device that matches the given identifiers. #
Ask an LLM
“What network-layer settings and session does the Network Server hold for my device?”
“Can I read a device's MAC state from the Network Server?”
Tell an agent
Show the Network Server record for device {device_id} in application {application_id}.
Get Network Server fields {field_mask} for {device_id} in {application_id}.
PATCH /ns/applications/{end_device_ids.application_ids.application_id}/devices/{end_device_ids.device_id} Reset a device to factory defaults · ResetFactoryDefaults resets device state to factory defaults #
Ask an LLM
“How do I reset an end device's Network Server state to factory defaults?”
“Can I wipe a device's MAC state without deleting it?”
Tell an agent destructive · confirm first
Reset device {device_id} in application {application_id} to factory defaults.
Factory-reset the Network Server state of {device_id} in {application_id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/the-things-network:the-things-network-nsenddeviceregistry-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

the-things-network-nsenddeviceregistry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Things Stack — Network Server Ns End Device Registry API
  version: v3.36
  description: The Things Stack is an open-source LoRaWAN Network Server implementation. This OpenAPI was derived from the upstream gRPC-Gateway generated api.swagger.json published by TheThingsNetwork/lorawan-stack v3.36.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    name: The Things Industries
    url: https://www.thethingsindustries.com
servers:
- url: https://eu1.cloud.thethings.industries/api/v3
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (130 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/the-things-network/refs/heads/main/openapi/the-things-network-nsenddeviceregistry-api-openapi.yml