flip_api.fl_services.get_status =============================== .. py:module:: flip_api.fl_services.get_status Attributes ---------- .. autoapisummary:: flip_api.fl_services.get_status.router Functions --------- .. autoapisummary:: flip_api.fl_services.get_status.get_status_endpoint Module Contents --------------- .. py:data:: router .. py:function:: get_status_endpoint(request: fastapi.Request, db: sqlmodel.Session = Depends(get_session), user_id: uuid.UUID = Depends(verify_token)) Retrieve the status of all federated learning networks. This endpoint fetches the status of all networks, including server and client statuses, and returns a list of INetStatus objects representing each network's status. :param request: FastAPI request object. :type request: Request :param db: Database session. :type db: Session :param user_id: ID of the authenticated user. :type user_id: UUID :returns: A list of INetStatus objects containing the status of each network. :rtype: list[INetStatus] :raises HTTPException: If there is an error while retrieving the net statuses.