api for full dialog structure