ScanRequest is a JSON Structure definition published by Palo Alto Networks, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-airs-ai-red-teaming-api-scan-request-structure.json",
"name": "ScanRequest",
"description": "ScanRequest schema from Palo Alto Networks Prisma AIRS AI Red Teaming API",
"type": "object",
"properties": {
"target_id": {
"type": "string",
"description": "ID of the scan target to assess."
},
"attack_categories": {
"type": "array",
"description": "Attack category identifiers to include in the scan. Use GET /v1/attack-categories to retrieve available category IDs.",
"items": {
"type": "string"
},
"minItems": 1
},
"custom_prompts": {
"type": "array",
"description": "Optional custom adversarial prompts to include alongside the built-in attack library. Useful for testing application-specific threat scenarios.",
"items": {
"type": "string"
},
"maxItems": 100
},
"max_attacks_per_category": {
"type": "int32",
"description": "Maximum number of attack probes per category. Limits scan duration for large attack libraries. If omitted, all available attacks for each category are executed.",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"target_id",
"attack_categories"
]
}
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.