Api builder for Eloquent