> ## Documentation Index
> Fetch the complete documentation index at: https://docs.storytime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Readyz

<Columns cols={2}>
  <Column>
    Confirms the service is ready to serve traffic — specifically, that its database is reachable. Use this for load-balancer / deploy health checks so traffic is only routed to instances that can actually serve it.
  </Column>

  <Column>
    ```shellscript /readyz wrap theme={null}
    curl -sS -i https://api.storytime.io/readyz
    ```

    ```json 200 theme={null}
    {
        "ok": true
    }
    ```

    ```json 503 theme={null}
    {
        "ok": false,
        "code": "NOT_READY",
        "message": "db unreachable"
    }
    ```
  </Column>
</Columns>
