api delegator.