API to expose schedule