Added first draft of terminal state api to mission.