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

# Liveness probe

> Returns `200` while the process is running. No database check. Unauthenticated and exempt from the rate limit.



## OpenAPI

````yaml /api-reference/device-api.yaml get /healthz
openapi: 3.1.0
info:
  title: AgriHub360 Device API
  version: 1.0.0
  description: |
    The Device API is the path a device takes to put a reading on a field. One
    authenticated endpoint stores a reading. Two unauthenticated probes report
    whether the service is up.

    A device authenticates with a per-device bearer API key or a client
    certificate, posts one `{ device_id, metric_id, value }` per request, and
    receives the stored row back with a server-assigned timestamp. Devices are
    claimed and keys are issued in the app.
  contact:
    name: AgriHub360 support
    url: https://www.agrihub360.com/support
servers:
  - url: https://devices.agrihub360.example
    description: Device API
security: []
tags:
  - name: telemetry
    description: Store a reading
  - name: health
    description: Liveness and readiness probes
paths:
  /healthz:
    get:
      tags:
        - health
      summary: Liveness probe
      description: >-
        Returns `200` while the process is running. No database check.
        Unauthenticated and exempt from the rate limit.
      operationId: healthz
      responses:
        '200':
          description: The service process is alive.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
              example:
                status: ok
                service: device-api
      security: []
components:
  schemas:
    Health:
      type: object
      required:
        - status
        - service
      properties:
        status:
          type: string
          enum:
            - ok
        service:
          type: string
          enum:
            - device-api

````