Not able to access completed process instance variables

Hi all,

I have a process which will create one process variable of json type. I need to get the data once process is completed using camunda REST Api, I tried with the history api but its not giving anything.

can anyone help me with correct camunda REST Api (may be with sample) to access the json type process variable of completed process instance.