Add actions API and CLI commands

Change-Id: I1f59328f79bdde591150f34a7c01032917e650ba