You can incorporate Jamf Protect API requests into scripts using common languages that can make HTTP requests, such as Python and Bash.
For API script examples, see the open source GitHub repository from Jamf: jamf / jamfprotect (GitHub).
Examples of when to use API scripts may include:
Generating a compliance baseline report for all computers.
Generating an inventory report for all computers.
Exporting all alert data for all computers.
Note:
The scripts and other objects provided in the repository are open-source content and are not officially supported by Jamf Support.