ActionFinish in the API

Last mile of the ActionFinish function to the API
Please, not tags in state -- they're just for the API.