To retrieve the Scenario ID from a test report, use the Masters API, which will retrieve various test report details in a JSON format. See Get the Master ID.
curl -X GET https://a.blazemeter.com/api/v4/masters/<masterId> -H "Content-Type: application/json" --user 'id:secret'
In the response message, look for the
scenariosMappingsection, then note the ID associated with the scenario name you want to reference. The relevant segment of the response will appear similar to the following example, in which one scenario is a JMeter test and the other is an End User Experience Monitoring test: