Checks the health of the Kutt v2 API.
Per-request base URL, API key, and timeout in milliseconds. Omitted settings use KUTT_CONFIG.
true after a successful health request.
true
HTTPError If the API returns an unsuccessful HTTP response.
If the request fails, times out, or the response cannot be decoded.
import { isKuttHealthyV2 } from "kutt";const isHealthy = await isKuttHealthyV2({ timeout: 10_000 }); Copy
import { isKuttHealthyV2 } from "kutt";const isHealthy = await isKuttHealthyV2({ timeout: 10_000 });
Checks the health of the Kutt v2 API.