Made override api key field optional