Get Reports (API)

The XML API provides a way to quickly pull the results of any report defined in the system using the
type=report
parameter.
You can access three kinds of reports:
  • Dynamic Reports (ACC reports)—
    reporttype=dynamic
  • Predefined Reports—
    reporttype=predefined
  • Custom Reports—
    reporttype=custom
To retrieve a specific report by name, use the
reportname
parameter:
curl -X GET "https://<firewall>/api/?key=<apikey>&type=report&reporttype=dynamic|predefined|custom&reportname=<name>"
Code copied to clipboard
Unable to copy due to lack of browser support.
When you request a report, the API responds asynchronously with a job ID, which you can use to retrieve the reports. Learn more about Asynchronous and Synchronous Requests to the PAN-OS XML API.

Recommended For You