Focus
Focus
Table of Contents

Get Reports (API)

The XML API provides a way to quickly pull the results of any report defined in the system using thetype=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 thereportname parameter:
curl -X POST 'https://firewall/api?type=report&reporttype=dynamic|predefined|custom&reportname=<name>"
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.