Hi,
I would like to hit this API using the API Key. This api is accepting a cookie. If the cookie is removed, it does not work. How can I do this?
curl --location --request POST 'https://distributed-tracing.service.newrelic.com/api/v2/analytics/traceGroups' \
--header 'content-type: application/json; charset=utf-8' \
--header 'cookie: TSNGUID=someCookieID' \
--data-raw '{
"limit": 75,
"durationMs": 1800000,
"durationType": "TRACE_DURATION_MS",
"filter": {
"operator": "AND",
"indexQuery": {
"conditionType": "INDEX",
"operator": "AND",
"conditionSets": [
{
"conditionType": "INDEX",
"conditions": [
{
"attr": "entityGuids",
"operator": "LIKE",
"value": "%MjYyNjU4N3xBUE18QVBQTElDQVRJT058NTA4MTgwODU0%"
}
],
"operator": "OR"
}
]
},
"spanQuery": {
"operator": "AND",
"conditionSets": []
}
},
"traceStartMs": null,
"sortBy": "TRACE_COUNT"
}'
Regards
Shashank