Pular para o conteúdo

Saúde

healthnamespace

Health check e status do serviço.

1método
healthnamespace

Esta página é gerada automaticamente pelo @luckymaker/sdk-generator. Não edite manualmente.

GET/health

Assinatura:

check(settings?: SdkSettings): Promise<CheckResponse>
type CheckResponse = { "ok": boolean; "uptimeSeconds": number; "memory": { "rss": number; "heapUsed": number; "heapTotal": number; }; "database": { "ok": boolean; }; "redis": { "ok": boolean; }; };
const response = await sdk.health.check();

Testar esta função no playground