Hi @Aswin Aravind C
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
To retrieve the input that went to your Logic App workflow for failed API calls, you need to extend your Log Analytics query to capture the detailed execution history, including the inputs, for those requests. Here’s a more detailed approach:
AppRequests
| where Name == 'your-workflow-name'
| where Status == 'Failed' // Filter for failed requests
| join kind=inner (
AppTraces
| where Name == 'your-workflow-name'
| where Message contains 'Trigger' // Message contains the trigger information, adjust as per your workflow's structure
) on $left.ResourceId == $right.ResourceId
| project TimeGenerated, Message, Input = parse_json(Message)["inputs"], Status
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.