To retrieve both debug and triggered pipeline run details for an Azure Data Factory (ADF) pipeline using a single REST API call is not directly supported. However, you can achieve this by using an ADF web activity to make two separate API calls and then merge the results within your data factory workflow.
Use the following URL in your web activity to retrieve triggered pipeline run details.
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns?api-version=2018-06-01
Use the following URL in another web activity to retrieve debug pipeline run details.
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDebugPipelineRuns?api-version=2018-06-01
After each web activity, use a Set Variable activity to store the results of the triggered and debug pipeline runs separately.
You can use an Azure Function or a custom activity to merge the results from the two variables. The function will take the two sets of results and combine them into a single output.