Can I use the Panther API to get a list of the IDs of all detections on my Panther instance?
Yes, this is possible. See Panther's REST API documentation for more information.