I have a need to display in a web page the logic apps run history, statuses of each runs and action, inputs/outputs of each action. I am using LogicManagementClient library to query workflows, runs and actions. But I don't see any option to query the input/output of each action through this client that we see in Azure by clicking "Show Raw Inputs/Outputs". The documentation for REST API does not have it either.
However I happened to notice in network calls of Azure portal that they use a different REST API end point to query the ActionInputs and ActionOutputs. The URL is of the format
https://prod-26.eastus.logic.azure.com/workflows/{workflowId}/runs/{runId}/actions/{actionName}/contents/ActionInputs?api-version=2016-06-01&se=<snipped>&sv=1.0&sig=<snipped>
Is there any way I can use this API or is it internal to Azure Portal that we don't get access to?
Update: I am adding a screenshot showing the response body of the action I am interested in and this is fetched using the ~/ActionInputs endpoint by Azure Portal shown above.