Skip to content
Sign up

Check Health

health() -> HealthResponse
get/v1/health/

Async health check endpoint.

ReturnsExpand Collapse
class HealthResponse:

Health check response body

status: str
version: str
Check Health
import os
from letta_client import Letta

client = Letta(
    api_key=os.environ.get("LETTA_API_KEY"),  # This is the default and can be omitted
)
response = client.health()
print(response.status)
{
  "status": "status",
  "version": "version"
}
Returns Examples
{
  "status": "status",
  "version": "version"
}