async def METHOD_NAME(model_provider: str = None, organisation=Depends(get_user_organisation)):
    try:
        return ModelsConfig.fetch_api_key(db.session, organisation.id, model_provider)
    except Exception as e:
        logging.error(f"Error while retrieving API Key: {str(e)}")
        raise HTTPException(status_code=500, detail="Internal Server Error")