Get input parameters via rest API

Hi , I want to get the input variables alone sent to User task via Input/Output. If I use /task/ID/variables with it returns all the variable which are there in the Task scope including the Input paramenters which were passed. But I just want the variables which are supplied via input parameters in user task you were trying to use task/id/localvariables rest API method then it returns nothing. so I just want to know what is this kpm available to put the variables which are passed by the input nothing.

Like shown in the attached image I want only the param/variable values (profileKey & requestId) to external world via REST api