Read acknowledgement after writing to a tag


I wrote a script in Webdev to write a value to a tag.

How can I put the tag into an acknowledged state and then at a later time get the acknowledge state especially since there is no eventID?

(below is the script)

def doGet(request, session):
tag_path = request[‘params’][‘tag_path’]
tag_path = tag_path.split("/")
tag_path = tag_path[0] + “/ignore”
system.tag.write(tag_path, True)