Introducing api type (public, internal, healthcheck)