state/service api