Skip to main content

Health and version API

Documentation for Tutela v3.8.0.

Use these three read-only endpoints to check your gateway before investigating a failed request. They do not require an access credential. AI requests and administrative operations have separate authentication requirements.

Before you start​

Run the examples from a terminal with access to your deployment. Replace the example hostname with the HTTPS address you use to open Tutela; do not use the documentation website's address.

TUTELA_URL='https://your-tutela.example.com'

The examples print the HTTP status and response body. If the connection times out, check your network, DNS and load balancer. If certificate validation fails, have the operator correct the certificate or trust chain; keep TLS verification enabled.

GET /healthz​

Liveness check

Returns HTTP 200 with a JSON body such as {"status":"ok","version":"3.8.0"} when the gateway process is running. The version shown here is illustrative; compare the actual value with your installation record.

Liveness does not check the AI provider or demonstrate inspection. Continue with readiness and a synthetic request through your configured client. A timeout or connection failure requires checking the network, DNS and service availability.

curl --connect-timeout 10 --max-time 20 --include "$TUTELA_URL/healthz"

GET /readyz​

Readiness check

Returns HTTP 200 with {"status":"ready"} when the gateway's configured dependency checks succeed. The response may include additional operational metadata. This check covers configured database connectivity and cache network connectivity; it is not a full test of every product workflow.

HTTP 503 with {"status":"not_ready","reason":"database unavailable"} or {"status":"not_ready","reason":"redis unavailable"} identifies a failed dependency check. Open Settings > Support & diagnostics > Service health, record the reason and have the deployment operator repair that dependency before retrying.

curl --connect-timeout 10 --max-time 20 --include "$TUTELA_URL/readyz"

GET /v1/version​

Deployed version

Returns HTTP 200 with gateway build information inside the JSON data object: app_version identifies the release, build_hash identifies the build, build_date records its build date, and go_version identifies its runtime. The meta object contains request context such as request_id and timestamp.

Record data.app_version and the observation time when reporting a problem. A dev or unknown build value does not establish which supported release is installed; ask the operator to check the installed artifact. Different clients can have different versions, so record the affected extension or SDK version separately.

curl --connect-timeout 10 --max-time 20 --include "$TUTELA_URL/v1/version"

Interpret the results​

ResultWhat to do
Liveness and readiness return HTTP 200The gateway is available. Test the affected customer workflow separately.
Liveness succeeds but readiness failsOpen Settings > Support & diagnostics > Service health and inspect the failed dependency.
Both checks fail or time outFollow Service unavailable.
Version differs from your installation recordAsk the operator to compare the installed release with the intended update before changing clients.

A successful health check does not demonstrate that a policy blocked a request or that an AI provider responded. Use Verify your installation for those checks. When reporting a problem, include the endpoint, status, observation time and version; omit credentials and customer content.