Python APIs for Time Slice Layer Contextual Actions