Skip to content

Health API

Whether the API is up. No key needed.

This page is generated from the OpenAPI specification; the same text is inMarkdown for tools and AI assistants.

Is the API up

GET/healthz

Answers as long as the process is running. Does not touch the database.

Response 200

The API is up.

Fields
NameTypeDescription
statusrequiredstring

One of "ok".

Terminal window
curl "https://api.cardinalstreaming.com/healthz"
Response 200
{
"status": "ok"
}

Is the API ready to serve

GET/readyz

Answers 200 once the API can reach its database, 503 not_ready when it cannot.

Response 200

Ready.

Fields
NameTypeDescription
statusrequiredstring

One of "ready".

Errors

StatusCodeMeaning
503not_ready

The database is unreachable.

Terminal window
curl "https://api.cardinalstreaming.com/readyz"
Response 200
{
"status": "ready"
}