You cannot find traces through this API if Transaction Search is enabled since trace is not indexed in X-Ray
Source:R/xray_operations.R
xray_batch_get_traces.RdYou cannot find traces through this API if Transaction Search is enabled since trace is not indexed in X-Ray.
See https://www.paws-r-sdk.com/docs/xray_batch_get_traces/ for full documentation.