Add flag indicating the validation is for the API