Palo Alto Networks Custom Attack API

Operations for custom attack configurations and prompts.

Business capability
Cybersecurity Management BC-620

Operations 27

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 /v1/custom-attacks/report/{job_id} Get the full custom attack report for a job · Get custom attack Report #
Ask an LLM
“Where can I see the complete report for an AI red-teaming custom attack job?”
“What does the comprehensive custom attack report include for a finished scan?”
Tell an agent
Get the full custom attack report for job {job_id}.
Pull the overall custom attack report summary for red-team job {job_id}.
GET /v1/custom-attacks/report/{job_id}/prompt-sets List prompt sets in a custom attack report · Get prompt sets #
Ask an LLM
“Which prompt sets were run as part of a custom attack job report?”
“Can I show only the prompt sets that produced threats in a custom attack report?”
Tell an agent
List the prompt sets in the custom attack report for job {job_id}.
Show only the threat-flagged prompt sets from report {job_id}, first {limit}.
GET /v1/custom-attacks/report/{job_id}/prompt-set/{prompt_set_id}/prompts List report prompts for one prompt set · Get prompts by set #
Ask an LLM
“What prompts from a single prompt set were used in a custom attack report?”
“Can I filter a prompt set's report prompts down to only the ones flagged as threats?”
Tell an agent
List the prompts from prompt set {prompt_set_id} in custom attack report {job_id}.
Show threat prompts only for set {prompt_set_id} in report {job_id}.
GET /v1/custom-attacks/report/{job_id}/prompt/{prompt_id} Get details of one prompt in an attack report · Get prompt detail #
Ask an LLM
“How do I see the full detail for one prompt in a custom attack report?”
“What information does the report keep about an individual attack prompt?”
Tell an agent
Get the detail for prompt {prompt_id} in custom attack report {job_id}.
Open report prompt {prompt_id} from job {job_id} and show what happened.
GET /v1/custom-attacks/job/{job_id}/list-custom-attacks List the custom attacks run in a job · List custom attacks #
Ask an LLM
“Which individual custom attacks were executed in a red-teaming job?”
“Can I filter a job's custom attacks by status, threat, or prompt set?”
Tell an agent
List the custom attacks run in job {job_id}.
List attacks in job {job_id} with status {status}.
GET /v1/custom-attacks/job/{job_id}/attack/{attack_id}/list-outputs Get the outputs produced by one custom attack · Get attack outputs #
Ask an LLM
“How do I see what the target model responded with for a specific custom attack?”
“Where are the outputs of an individual attack in a red-teaming job?”
Tell an agent
Get the outputs for attack {attack_id} in job {job_id}.
Show me the model responses recorded for attack {attack_id} of job {job_id}.
GET /v1/custom-attacks/job/{job_id}/property-stats Get property-based stats for a custom attack job · Get property stats #
Ask an LLM
“Can I break down a custom attack job's results by prompt property?”
“What statistics per property are available for a red-teaming job?”
Tell an agent
Get the property statistics for custom attack job {job_id}.
Break down job {job_id} attack results by property.
POST /v1/custom-attack/custom-prompt-set Create a custom prompt set · Create a new custom prompt set #
Ask an LLM
“How do I create my own custom prompt set for AI red teaming?”
“Can I set the language and properties when making a new custom prompt set?”
Tell an agent
Create a custom prompt set named {name}.
Create a prompt set {name} in {language} described as {description}.
GET /v1/custom-attack/list-custom-prompt-sets List custom prompt sets · List custom prompt sets #
Ask an LLM
“What custom prompt sets have I created so far?”
“Can I search my custom prompt sets by name or filter out archived ones?”
Tell an agent
List all my custom prompt sets.
Search my custom prompt sets for {search}.
GET /v1/custom-attack/custom-prompt-set/{prompt_set_uuid} Get a custom prompt set · Get prompt set details #
Ask an LLM
“How can I view one custom prompt set with all its properties?”
“What details are stored on a single custom prompt set?”
Tell an agent
Get custom prompt set {prompt_set_uuid}.
Show the full details and properties of prompt set {prompt_set_uuid}.
PUT /v1/custom-attack/custom-prompt-set/{prompt_set_uuid} Update a custom prompt set · Update prompt set #
Ask an LLM
“Can I rename a custom prompt set or change its description?”
“Which properties of an existing prompt set can I edit?”
Tell an agent
Rename custom prompt set {prompt_set_uuid} to {name}.
Change the description of prompt set {prompt_set_uuid} to {description}.
PUT /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/archive Archive or unarchive a prompt set · Archive or unarchive a prompt set #
Ask an LLM
“How do I archive a custom prompt set I no longer use?”
“Can an archived prompt set be restored later?”
Tell an agent
Archive custom prompt set {prompt_set_uuid}.
Set the archive flag on prompt set {prompt_set_uuid} to {archive}.
POST /v1/custom-attack/custom-prompt-set/custom-prompt Add a prompt to a custom prompt set · Create prompt in a prompt set #
Ask an LLM
“Can I add a single attack prompt with a goal to one of my prompt sets?”
“What do I need to supply to create a new prompt inside a prompt set?”
Tell an agent
Add the prompt {prompt} to prompt set {prompt_set_id}.
Create a prompt {prompt} in set {prompt_set_id} with the goal {goal}.
GET /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/list-custom-prompts List the prompts inside a custom prompt set · List prompts in a prompt set #
Ask an LLM
“What prompts have I written inside a particular custom prompt set?”
“Can I search the prompts in my prompt set by text?”
Tell an agent
List the prompts I've added to custom prompt set {prompt_set_uuid}.
Search prompts in my set {prompt_set_uuid} for {search}.
GET /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/custom-prompt/{prompt_uuid} Get a custom prompt from a prompt set · Get prompt details #
Ask an LLM
“How can I read back one custom prompt I saved in a prompt set?”
“What fields does a stored custom prompt have?”
Tell an agent
Get custom prompt {prompt_uuid} from prompt set {prompt_set_uuid}.
Show the text and goal of my prompt {prompt_uuid} in set {prompt_set_uuid}.
PUT /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/custom-prompt/{prompt_uuid} Update a custom prompt · Update prompt #
Ask an LLM
“Can I edit the wording or goal of a prompt already in my prompt set?”
“Is it possible to change the properties on an existing custom prompt?”
Tell an agent
Change the text of prompt {prompt_uuid} in set {prompt_set_uuid} to {prompt}.
Update the goal of custom prompt {prompt_uuid} in set {prompt_set_uuid} to {goal}.
DELETE /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/custom-prompt/{prompt_uuid} Delete a custom prompt · Delete prompt #
Ask an LLM
“How do I remove a prompt from one of my custom prompt sets?”
“Can I delete a single custom prompt without touching the rest of the set?”
Tell an agent destructive · confirm first
Delete prompt {prompt_uuid} from prompt set {prompt_set_uuid}.
Remove custom prompt {prompt_uuid} in set {prompt_set_uuid}.
GET /v1/custom-attack/property-names List available prompt property names · Get property names #
Ask an LLM
“What property names can I tag my prompt sets with?”
“Which prompt properties already exist in my tenant?”
Tell an agent
List all available prompt property names.
Show me every property name I can use in prompt sets.
POST /v1/custom-attack/property-names Create a new prompt property name · Create property name #
Ask an LLM
“Can I define a new property name to categorize prompts?”
“What is needed to add a custom property name for prompt sets?”
Tell an agent
Create a prompt property name called {name}.
Add {name} as a new property name for my prompt sets.
GET /v1/custom-attack/property-values/{property_name} List values for one prompt property · Get property name #
Ask an LLM
“What values are allowed for a single prompt property?”
“Which values have been defined under one property name?”
Tell an agent
List the values defined for property {property_name}.
Show all allowed values of the {property_name} property.
POST /v1/custom-attack/property-values Add a value to a prompt property · Create property value #
Ask an LLM
“How do I add a new allowed value to an existing prompt property?”
“Can I extend a property name with additional values?”
Tell an agent
Add value {property_value} to property {property_name}.
Create the value {property_value} under the {property_name} property.
GET /v1/custom-attack/property-values Get values for several prompt properties at once · Get values for multiple property names #
Ask an LLM
“Can I fetch the values for several property names in a single request?”
“Is there a bulk way to see values across multiple prompt properties?”
Tell an agent
Get the values for property names {property_names} in one call.
Fetch values for multiple properties together: {property_names}.
POST /v1/custom-attack/upload-custom-prompts-csv Bulk upload prompts to a prompt set from CSV · Upload custom prompts #
Ask an LLM
“Can I bulk load custom prompts from a CSV file instead of adding them one by one?”
“What format does the prompt CSV upload expect?”
Tell an agent
Upload the CSV {file} of prompts into prompt set {prompt_set_uuid}.
Bulk import prompts from {file} to set {prompt_set_uuid}.
GET /v1/custom-attack/download-template/{prompt_set_uuid} Download the CSV template for a prompt set · Download template for a prompt set #
Ask an LLM
“Where do I get a CSV template matching my prompt set's properties?”
“Is there a starter file I can fill in before uploading prompts?”
Tell an agent
Download the CSV template for prompt set {prompt_set_uuid}.
Get me the blank prompt upload template for set {prompt_set_uuid}.
GET /v1/custom-attack/active-custom-prompt-sets List active prompt sets ready for scans · List active custom prompt sets #
Ask an LLM
“Which custom prompt sets are active and ready to be used in scans?”
“Can I see only prompt sets that have a snapshot available to the data plane?”
Tell an agent
List the active custom prompt sets available for scanning.
Show prompt sets that have snapshots and can be used now.
GET /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/reference Resolve a prompt set to its latest version · Resolve prompt set reference #
Ask an LLM
“What is the latest version of a given prompt set?”
“Can I resolve a prompt set to its current reference before starting a scan?”
Tell an agent
Resolve the current reference for prompt set {prompt_set_uuid}.
Find the latest version of prompt set {prompt_set_uuid}.
GET /v1/custom-attack/custom-prompt-set/{prompt_set_uuid}/version-info Get version details for a prompt set · Get prompt set version information #
Ask an LLM
“Can I look up the details of a specific earlier version of a prompt set?”
“What version history information is kept for a prompt set?”
Tell an agent
Get version {version} info for prompt set {prompt_set_uuid}.
Show version information for prompt set {prompt_set_uuid}.

Specifications

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-customattack-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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-customattack-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Custom Attack API
  contact:
    email: support@paloaltonetworks.com
    name: Palo Alto Networks Technical Support
    url: https://support.paloaltonetworks.com
  license:
    name: MIT
    url: https://opensource.org/license/mit
  termsOfService: https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/legal/palo-alto-networks-end-user-license-agreement-eula.pdf
  version: '1.0'
  description: 'Operations tagged CustomAttack across 2 of this provider''s published API definitions: palo-alto-prisma-airs-redteam-data-plane-dp-openapi-openapi.yaml, palo-alto-prisma-airs-redteam-management-mp-openapi-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sase.paloaltonetworks.com/ai-red-teaming/data-plane
- url: https://api.sase.paloaltonetworks.com/ai-red-teaming/mgmt-plane
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (68 KB total) ---
# Full source: https://artifacts.apis.io/palo-alto-networks/openapi/palo-alto-networks-customattack-api-openapi.yml