# GET /switchboard/state

Source: https://usecns.dev/cortex-http-administer-through-http-get-switchboard-state/

[Start here](https://usecns.dev/manual-cortex/)
[CLI commands](https://usecns.dev/commands-cortex/)
[Configuration & integration](https://usecns.dev/cortex-topics/)

## Request & result

Optional `sessionKey` (default `default`) → `nodeRole`, `state`, `candidates`.

## Shared protocol

Read [Administer through HTTP](https://usecns.dev/cortex-topic-administer-through-http/) for path prefixes and abbreviations, authentication, framing, errors and operating limits before calling this interface.