add api_enabled to worker