core api