Often we ran into this kind problem when we need pass additional information on existing API, common workaround is wrap the old API with a new one which contains extra property parameter.
The other way is attach a state object on server side thru threadlocal.