inventory/api did not work, changed it to inventory/run.