api refinements