Hello,
You can use temporarily state to store the last ran API. In the recording below, I have a single temp state variable. The JSON explorer is display the value from temp state variable. Each button set a different result into the temp state variable in turn display in the json explorer.
attached test app:
temp state.json (10.5 KB)
Hope that helps,