criteria needs to be in an API url too

Change-Id: Ifb1956a6b53e6f17df3e216608c505bd2f8191d3