Can someone give an example of get_endpoint that works?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can someone give an example of get_endpoint that works?

L0 Member

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)')

 

1 REPLY 1

L4 Transporter

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'.

Visit our Cortex XDR Customer Corner on Live Community to access resources for your product journey, engage in discussions with community members and subject matter experts, and register for upcoming events: Cortex XDR Customer Corner

  • 1068 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!