# Health

Checking server health status

## Check server health

`GET /health`

Return plain text status for basic uptime monitoring

Authentication: no security requirement declared for this operation.

Responses:

- 200: Service is healthy

Content type: text/plain

Type: string

```json
"OK"
```

- 400: Bad request

- 500: Service is unavailable

## Examples

### cURL

```bash
curl -X GET 'https://demo.traccar.org/api/health'
```

### JavaScript

```javascript
const response = await fetch('https://demo.traccar.org/api/health', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('https://demo.traccar.org/api/health')
print(response.text)
```
