> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.telekesher.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.telekesher.dev/_mcp/server.

# Liveness probe

GET https://api.telekesher.dev/livez

Process **liveness** probe. Unauthenticated, always returns `200`,
and deliberately touches no external dependency or session state. It
answers a single question: "is this API process alive and serving
HTTP?"

Use `/health` (readiness), not this endpoint, to gauge whether the
service can actually handle traffic — `/livez` continues to return
`200` through a transient dependency outage so a healthy process is
not killed.

Reference: https://docs.telekesher.dev/api/health/liveness-check

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: voice-api
  version: 1.0.0
paths:
  /livez:
    get:
      operationId: livenessCheck
      summary: Liveness probe
      description: |-
        Process **liveness** probe. Unauthenticated, always returns `200`,
        and deliberately touches no external dependency or session state. It
        answers a single question: "is this API process alive and serving
        HTTP?"

        Use `/health` (readiness), not this endpoint, to gauge whether the
        service can actually handle traffic — `/livez` continues to return
        `200` through a transient dependency outage so a healthy process is
        not killed.
      tags:
        - health
      responses:
        '200':
          description: Process is alive
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health_livenessCheck_Response_200'
servers:
  - url: https://api.telekesher.dev
    description: Gateway server
components:
  schemas:
    LivezGetResponsesContentApplicationJsonSchemaStatus:
      type: string
      enum:
        - ok
      title: LivezGetResponsesContentApplicationJsonSchemaStatus
    Health_livenessCheck_Response_200:
      type: object
      properties:
        status:
          $ref: >-
            #/components/schemas/LivezGetResponsesContentApplicationJsonSchemaStatus
      required:
        - status
      title: Health_livenessCheck_Response_200

```

## Examples



**Response**

```json
{
  "status": "ok"
}
```

**SDK Code**

```python Health_livenessCheck_example
import requests

url = "https://api.telekesher.dev/livez"

response = requests.get(url)

print(response.json())
```

```javascript Health_livenessCheck_example
const url = 'https://api.telekesher.dev/livez';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Health_livenessCheck_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.telekesher.dev/livez"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Health_livenessCheck_example
require 'uri'
require 'net/http'

url = URI("https://api.telekesher.dev/livez")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Health_livenessCheck_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.telekesher.dev/livez")
  .asString();
```

```php Health_livenessCheck_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.telekesher.dev/livez');

echo $response->getBody();
```

```csharp Health_livenessCheck_example
using RestSharp;

var client = new RestClient("https://api.telekesher.dev/livez");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Health_livenessCheck_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.telekesher.dev/livez")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```