class_docstr: The api info service
class_docstr_tok: ["The","api","info","service"]
docstr: Returns the current api status
docstr_tok: ["Returns","the","current","api","status"]
code: def api_status(self) -> ApiStatus:
      """Returns the current api status"""
      return ApiStatus(
          version=str(version),
          elasticsearch=self._elasticsearch_info(),
          mem_info=self._api_memory_info(),
      )
  
file_path: argilla/src/argilla/server/services/info.py
imports: import os
  from typing import Any, Dict
  import psutil
  from fastapi import Depends
  from argilla import __version__
  from argilla.server.daos.backend import GenericElasticEngineBackend
  from argilla.server.pydantic_v1 import BaseModel
label_desc: Use image node_id 3 for calling the ApiInfoService obj's underlying member method code with example usage: obj.api_status() and returns: ApiStatus