Palo Alto Networks Asset Inventory API

The Asset Inventory APIs provide up-to-date information of all cloud assets that you are monitoring through Prisma Cloud. You can request inventory data, list available filters to narrow inventory requests, and manage saved filters. ### Pagination You can limit the number of items in a response list from API resources that support pagination. The API requests to list asset inventory, that supports pagination will accept the following request parameters. Request Parameter | Description -----------| ------- **limit** | Maximum number of items to return per page. Without pagination, maximum number of items to return in a response. **offset** | Number of items to skip before selecting items to return. Default is zero. **pageToken** | Set to the **nextPageToken** value from the previous response object to return the next page of data. ### Filters API requests that use POST methods to request a list of asset inventory have filter parameters that enable you to narrow your request to inventory that meets a certain criteria. The [List Inventory Filters V2](/prisma-cloud/api/cspm/get-asset-inventory-v-2-dashboard-filter-options) requests return the available filters.

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /filter/v2/inventory/suggest List asset inventory filters · List Inventory Filters V2 #
Ask an LLM
“Which filters can I apply to the Prisma Cloud asset inventory?”
“What recent default options exist for each inventory filter?”
Tell an agent
List the supported asset inventory filters and their default options.
Show me which filter names the inventory views accept.
POST /filter/v2/inventory/suggest Suggest values for an inventory filter · List Inventory Dashboard Filter Autocomplete Suggestions V2 #
Ask an LLM
“Can I get autocomplete suggestions for an asset inventory filter?”
“What values match a partial string for the cloud.region inventory filter?”
Tell an agent
Suggest values for inventory filter {filterName}.
Autocomplete {query} for inventory filter {filterName}.
GET /filter/inventory List saved asset inventory filters · List Saved Asset Inventory Filters #
Ask an LLM
“What asset inventory filters have we saved?”
“Can I see every saved inventory filter in the tenant?”
Tell an agent
List all saved asset inventory filters.
Show my saved inventory filter presets.
POST /filter/inventory Save an asset inventory filter · Save Asset Inventory Filter #
Ask an LLM
“How do I save an asset inventory filter so I can reuse it later?”
“Can a saved inventory filter remember a group-by setting?”
Tell an agent
Save an asset inventory filter using filters {filters}.
Save a new inventory filter grouped by {groupBy}.
GET /filter/inventory/{id} Get a saved asset inventory filter · Get Saved Asset Inventory Filter #
Ask an LLM
“What criteria does one of my saved inventory filters contain?”
“Can I fetch a single saved asset inventory filter by its ID?”
Tell an agent
Get saved asset inventory filter {id}.
Show the filters stored in saved inventory filter {id}.
PUT /filter/inventory/{id} Update a saved asset inventory filter · Update Saved Asset Inventory Filter #
Ask an LLM
“How do I change the criteria of an inventory filter I already saved?”
“Can I change the sort order stored in an existing saved filter?”
Tell an agent
Update saved inventory filter {id} to use filters {filters}.
Change the sort of saved inventory filter {id} to {sortBy}.
DELETE /filter/inventory/{id} Delete a saved asset inventory filter · Delete Saved Asset Inventory Filter #
Ask an LLM
“How do I delete a saved asset inventory filter?”
“Is removing a saved inventory filter permanent?”
Tell an agent destructive · confirm first
Delete saved asset inventory filter {id}.
Remove the saved inventory filter with ID {id}.
GET /v2/inventory Get asset pass/fail inventory for a period (v2) · Asset Inventory View V2 - GET #
Ask an LLM
“How many assets passed or failed scans over the last 30 days, using the legacy v2 view?”
“Can the deprecated v2 inventory view be filtered by compliance standard?”
Tell an agent
Get v2 asset inventory for the last {timeAmount} {timeUnit} with time type {timeType}.
Show v2 inventory pass/fail for the past {timeAmount} {timeUnit} ({timeType}) in cloud account {account}.
POST /v2/inventory Query asset inventory with a body filter (v2) · Asset Inventory View V2 - POST #
Ask an LLM
“Can I send a JSON filter body to the older v2 asset inventory view?”
“Which fields can I ask for from the v2 POST inventory query?”
Tell an agent
Query the v2 asset inventory with filters {filters}.
Run the v2 POST inventory view for time range {timeRange}.
GET /v2/inventory/trend Get asset inventory trend for a period (v2) · Asset Inventory Trend View V2 - GET #
Ask an LLM
“How has my asset pass/fail count trended in the legacy v2 trend view?”
“Can the v2 inventory trend be narrowed to one compliance section?”
Tell an agent
Get the v2 inventory trend for the last {timeAmount} {timeUnit}, time type {timeType}.
Show the v2 asset trend over {timeAmount} {timeUnit} ({timeType}) for region {region}.
POST /v2/inventory/trend Query asset inventory trend with a body (v2) · Asset Inventory Trend View V2 - POST #
Ask an LLM
“Can I post a filter body to get the legacy v2 inventory trend?”
“Does the v2 POST trend view accept a time range in the body?”
Tell an agent
Query the v2 inventory trend with filters {filters}.
Get the v2 POST asset trend over time range {timeRange}.
GET /v3/inventory Get asset pass/fail inventory (v3) · Asset Inventory View V3 - GET #
Ask an LLM
“How many of my cloud assets are passing or failing policy scans right now?”
“Can I group current inventory results by cloud type or region?”
Tell an agent
Get the asset inventory grouped by {groupBy}.
Show inventory pass/fail for resource type {resourceType}.
POST /v3/inventory Query asset inventory with a body filter (v3) · Asset Inventory View V3 - POST #
Ask an LLM
“Can I query the current inventory view with a JSON filter body?”
“What is the paginated way to query asset inventory with a page token?”
Tell an agent
Query asset inventory with body filters {filters}.
Continue the inventory query from page token {pageToken}.
GET /v3/inventory/trend Get asset inventory trend (v3) · Asset Inventory Trend View V3 - GET #
Ask an LLM
“How is my asset compliance trending over time?”
“Can I see the pass/fail trend for one cloud account only?”
Tell an agent
Show the asset inventory trend for account group {group}.
Get the inventory pass/fail trend for policy severity {severity}.
POST /v3/inventory/trend Query asset inventory trend with a body (v3) · Asset Inventory Trend View V3 - POST #
Ask an LLM
“Can I post filters to get the current asset trend view?”
“Is there a body-based query for inventory trends that returns only certain fields?”
Tell an agent
Query the asset trend with body filters {filters}.
Get the inventory trend returning only fields {fields}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/palo-alto-networks:palo-alto-networks-asset-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

palo-alto-networks-asset-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Asset Inventory API
  version: Latest
  contact: {}
  description: 'Operations tagged Asset Inventory across 2 of this provider''s published API definitions: palo-alto-cspm-assetinventory-openapi.json, palo-alto-cspm-consolidated-spec-cspm-spec-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prismacloud.io
- url: https://api2.prismacloud.io
- url: https://api3.prismacloud.io
- url: https://api4.prismacloud.io
- url: https://api.anz.prismacloud.io
- url: https://api.eu.prismacloud.io
- url: https://api2.eu.prismacloud.io
- url: https://api.gov.prismacloud.io
- url: https://api.prismacloud.cn
- url: https://api.ca.prismacloud.io
- url: https://api.sg.prismacloud.io
- url: https://api.uk.prismacloud.io
- url: https://api.ind.prismacloud.io
- url: https://api.jp.prismacloud.io
- url: https://api.fr.prismacloud.io
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/openapi/palo-alto-networks-asset-inventory-api-openapi.yml