# Status

The version and health of Ella PSAP.

## Get the Status

Returns the version of Ella PSAP, and whether it is initialized.

| Method | Path |
| --- | --- |
| GET | `/api/v1/status` |

### Response Fields

| Field | Type | Description |
| --- | --- | --- |
| `version` | string | Version. |
| `revision` | string | Git commit of the build. Empty in development builds. |
| `initialized` | boolean | Whether the first user exists. Until then, [initialize](<https://docs.ellanetworks.com/psap/reference/api/initialize/index.md>) creates it. |

### Sample Response

```
{
    "result": {
        "version": "v0.0.1",
        "revision": "",
        "initialized": true
    }
}
```

## Check Liveness

Returns whether the Ella PSAP process is running.

| Method | Path |
| --- | --- |
| GET | `/api/v1/livez` |

## Check Readiness

Returns whether Ella PSAP is ready to receive traffic.

| Method | Path |
| --- | --- |
| GET | `/api/v1/readyz` |

### Response Fields

| Field | Type | Description |
| --- | --- | --- |
| `ready` | boolean | Whether every check passes. |
| `checks` | array | The result of each check. |
| `checks[].name` | string | The name of the check. |
| `checks[].ok` | boolean | Whether the check passes. |
| `checks[].detail` | string | Why the check fails. Empty when it passes. |

### Sample Response

```
{
    "result": {
        "ready": true,
        "checks": [
            {
                "name": "database",
                "ok": true,
                "detail": ""
            }
        ]
    }
}
```
