- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-11-2023 10:30 PM
I tried
$payload = '{"request_data" : {"search_from" : 0,"sort" : {"field" : "last_seen","keyword" : "desc"},"filters" : [ {"field" : "endpoint_id","value" : [ "connected", "connected" ], "operator" : "lte"}, {"field" : "endpoint_id","value" : [ "connected", "connected" ],"operator" : "lte"} ],"search_to" : 6}}';
but I get an error:
An unexpected error occurred by XDR public API", "err_extra": "(1241, 'Operand should contain 1 column(s)')
02-12-2023 07:30 AM - edited 02-12-2023 07:35 AM
Hi @IChen3,
Thank you for writing to live community.
I'd like to refer you to this Intro to Cortex XDR API webinar.
I highly recommend watching it to learn how to work with Cortex XDR API.
In addition, at the bottom of the page you will find a JSON file with many postman API examples including:
get endpoint by group, get all endpoints and a few other get_endpoint use cases.
If this helped, please click 'Accept as Solution'.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!