API defined