# Service status: Get service state

Information note**LOCKED.**   
  
This API is extremely reliable and will not be broken unless absolutely necessary.

## Method

GET

## Path

/status/servicestate/

## Description

This path is only used on port 4444 (HTTP).

* Qlik Sense Repository Service (QRS) state port, used to fetch the state of a QRS in a Qlik Sense site. The state is fetched using http://localhost:4444/status/servicestate.

  The returned state is one of the following:

  * 0: Initializing. Once the node has been initialized, the node state changes into one of the other states.
  * 1: Certificates not installed. There are no certificates installed on the node. The node stays in this state until it has received the certificate and the certificate password.
  * 2: Running. The node is up and running and all APIs have been initiated.

## Body

-

## Return value

`QrsServiceStateEnum:`

```
{
   "value": 0/1/2
}
```

## Optional parameters

-