---
title: "Get current Thread state."
method: GET
path: "/node/state"
tags: ["node"]
---

# Get current Thread state.

`GET /node/state`

State describing the current Thread role of this Thread node.
- 0: disabled
- 1: detached
- 2: child
- 3: router
- 4: leader

## Response `200`

Successful operation

- number — Current state

## Changes

- **2023-05-10** `54157cc83c30` — 1 breaking
  - the response's body type/format changed from `string`/`` to `number`/`` for status `200`

[Change history](https://skmtc.dev/openthread/apis/swagger-openthread-rest-api/changes/node/state/get.md)

---

[API](https://skmtc.dev/openthread/apis/swagger-openthread-rest-api.md) · [All operations](https://skmtc.dev/openthread/apis/swagger-openthread-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openthread/swagger-openthread-rest-api/revisions/54157cc83c30/schema)
