from flask import Blueprint, jsonify import logging logger = logging.getLogger(__name__) health_bp = Blueprint('health', __name__, url_prefix='/api') @health_bp.route('/health', methods=['GET']) def health_check(): logger.info("Health check requested") return jsonify({"status": "ok"})