Palo Alto Networks Licensing API

The Prisma Cloud License endpoints enable you to query your Prisma Cloud usage.

Operations 11

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

POST /license/api/v1/usage Count resource usage for one cloud (v1, deprecated) · Usage Count By Cloud Type V1 (Deprecated) #
Ask an LLM
“How do I get per-account resource usage for a single cloud with the older v1 licensing API?”
“Is the v1 usage-count-by-cloud endpoint deprecated?”
Tell an agent
Using deprecated v1, count usage for {cloud_type} accounts {accountIds} over {timeRange}.
Get v1 per-account license usage in {cloud_type} for {accountIds} during {timeRange}.
POST /license/api/v1/usage/time_series Chart resource usage over time (v1, deprecated) · Resource Usage Over Time V1 (Deprecated) #
Ask an LLM
“Can the deprecated v1 licensing API show resource usage trends over time?”
“Which time-series usage endpoint is scheduled to be retired?”
Tell an agent
Using deprecated v1, chart usage over time for accounts {accountIds} in {timeRange}.
Get the v1 usage time series for {accountIds} across {timeRange}.
POST /license/api/v2/usage Count resource usage per account by cloud (v2) · Usage Count By Cloud Type V2 #
Ask an LLM
“How many licensed resources is each account using across several cloud types?”
“Can I page through per-account resource usage with a page token?”
Tell an agent
Count v2 resource usage for accounts {accountIds} over {timeRange}.
Break down usage for {accountIds} in clouds {cloudTypes} during {timeRange}.
POST /license/api/v2/time_series Chart resource usage over time (v2) · Resource Usage Over Time V2 #
Ask an LLM
“How has our licensed resource usage trended over the past quarter?”
“Can I see usage over time filtered to specific cloud types?”
Tell an agent
Show the v2 usage trend for accounts {accountIds} over {timeRange}.
Chart usage over time for {accountIds} in {cloudTypes} during {timeRange}.
POST /license/api/v1/credit-allocation-rules List credit allocation rules with usage · Credit allocation rules and usage #
Ask an LLM
“How many credits has each allocation rule used so far?”
“Which credit allocation rules are over their alarm threshold?”
Tell an agent
List credit allocation rules and usage for {timeRange}.
Show usage for credit allocation rules {ruleNames}.
POST /license/api/v1/credit-allocation-rule Create a credit allocation rule · Create credit allocation rule #
Ask an LLM
“How do I allocate a budget of credits to specific account groups?”
“Can I set an alarm threshold when credits for a group run low?”
Tell an agent
Create credit rule {id} named {name} targeting {targetType} with {allocatedCredits} credits, alarm at {alarmThreshold}, for groups {accountGroups}.
Allocate {allocatedCredits} credits to {accountGroups} under new rule {name} ({id}, {targetType}, alarm {alarmThreshold}).
POST /license/api/v1/credit-allocation-rule-summary Summarize credit allocation rules · Credit allocation rule summary #
Ask an LLM
“What's the overall summary of credit allocation across all rules?”
“How are allocated credits tracking in aggregate this month?”
Tell an agent
Summarize credit allocation rules for {timeRange}.
Give me the credit allocation rule summary.
GET /license/api/v1/credit-allocation-rule/{ruleId} Get a credit allocation rule · Credit allocation rule #
Ask an LLM
“How is a single credit allocation rule configured?”
“Can I view one allocation rule's settings without its usage numbers?”
Tell an agent
Get credit allocation rule {ruleId}.
Show the configuration of allocation rule {ruleId}.
DELETE /license/api/v1/credit-allocation-rule/{ruleId} Delete a credit allocation rule · Delete credit allocation rule #
Ask an LLM
“How do I remove a credit allocation rule?”
“Can I delete an allocation rule that's no longer needed?”
Tell an agent destructive · confirm first
Delete credit allocation rule {ruleId}.
Remove allocation rule {ruleId} permanently.
PATCH /license/api/v1/credit-allocation-rule/{ruleId} Update a credit allocation rule · Update credit allocation rule #
Ask an LLM
“Can I raise the credits allocated under an existing rule?”
“How do I change the alarm threshold on a credit allocation rule?”
Tell an agent
Update rule {ruleId}: id {id}, name {name}, target {targetType}, {allocatedCredits} credits, alarm {alarmThreshold}, groups {accountGroups}.
Change allocation rule {ruleId} to {allocatedCredits} credits and alarm {alarmThreshold} (id {id}, {name}, {targetType}, {accountGroups}).
GET /license/api/v1/credit-allocation-rule-names List credit allocation rule names · Credit allocation rule #
Ask an LLM
“What credit allocation rule names exist in my tenant?”
“Can I get only the names of my allocation rules?”
Tell an agent
List the names of my credit allocation rules.
Give me every allocation rule name.

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-licensing-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-licensing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Licensing API
  version: Latest
  contact: {}
  description: 'Operations tagged Licensing across 2 of this provider''s published API definitions: palo-alto-cspm-consolidated-spec-cspm-spec-openapi.json, palo-alto-cspm-licensingmicroservice-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 (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/openapi/palo-alto-networks-licensing-api-openapi.yml