renamed created to createdAt in the ApiKey model