# Performing health checks

The API server and the worker both have health check endpoints that you can use to check whether your Tonic Structural instance is available.

```
GET https://<tonic-container-address>/health

Response:
200 Healthy
-or-
503 Unhealthy
```

If the service is up and all dependent resources can be reached, the response is `Healthy` with a status code of `200`.

Otherwise, the response is `Unhealthy` with a status code of `503`. The logs for that container indicate the specific resources that could not be reached.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/app/admin/tonic-monitoring-logging/health-checks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
