Readyz
GET /readyz
Readiness probe: the database answers a cheap query and, when NATS_URL is set, NATS is connected.
Authentication
None. This operation is public.
Responses
-
Ready to serve traffic
-
A dependency is unreachable
Examples
curl "$IVY_API_URL/readyz" import { client, readyz } from "@spacivapp/ivy-sdk";
client.setConfig({
baseUrl: process.env.IVY_API_URL,
});
const { data, error, response } = await readyz(); {
"events": "ok",
"status": "ok",
"store": "ok"
}