How to list all inventory assets via Prisma Cloud API

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

How to list all inventory assets via Prisma Cloud API

L0 Member


Was looking for some guidance in using the Prisma Cloud API to retrieve information. I am wanting to list all inventory assets (and hopefully their detail) via the API. Basically similar to information that can viewed via the portal e.g. listing all assets in the explorer for say Resource Type=EC2 Instance....


asset explorer.png

...I can see the total number of assets using the /v2/Inventory endpoint...

ec2 instance.png


...but would like to retrieve all the assets/details of those 15408 resources. I can see /uai/v1/asset call but that requires an asset ID to passed. Is there a way to list all assets based on a filter and return detailed information about them via the API?




L1 Bithead


Please refer the following link

Sugathri Tumiki, Prisma Cloud Customer Success Engineer (PCCSE)

L1 Bithead



Following up on Asset Inventory API, please let us know if any questions. Complete resource inventory from Prisma Cloud can be pulled using the below API Output will be full inventory of the assets and related metadata. Ref: s3 inventory attached

L2 Linker

Hello Flipcode,


You can also use the following endpoint to get the list of resources similar to what you have in your screenshot


You can use the example payload as below ;

{"name":"cloud.service","operator":"=","value":"Amazon EC2"},
{"name":"resource.type","operator":"=","value":"EC2 Instance"},
"timeRange": {
"type": "to_now",
"value": "login"
Please replace the Time range section of the Payload with the appropriate one that fit your search criteria. refer to the below for details ;
  • 3 replies
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!