Source code for ragflow_async_sdk.apis.system

# Copyright 2026 Oliver
# Licensed under the Apache License, Version 2.0
# See LICENSE file for details.

from ragflow_async_sdk.apis.base import BaseAPI
from ragflow_async_sdk.models.system import SystemHealth


[docs] class SystemAPI(BaseAPI): """ System-related API endpoints. """
[docs] async def healthz(self) -> SystemHealth: """ Check the health status of the system. This endpoint does not require authentication. Returns: SystemHealth: Parsed system health information. """ resp = await self._client.raw_get("/v1/system/healthz") data = resp.json() return SystemHealth.from_raw(data)