Skip to content

Health Check

Shows how to check the health status of the Letta API.

This example assumes using Letta; is in scope and apiKey contains your Letta API key.

1
2
3
4
5
using var client = new LettaClient(apiKey);

// The health check endpoint verifies that the Letta API is operational.
// It returns the server version and current status.
var health = await client.Health.CheckHealthAsync();