Scans
Beta

List attack scenarios for a scan

Returns the attack scenarios explored during an AI pentest scan, each mapped to its attack vector. Filter by vector to build the vector/scenario matrix, or search scenario titles and surfaces. Credentials and secrets in scenario descriptions are redacted.

get/scans/{scanId}/scenarios

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

scanIdstring uuid required

The scan ID

Example:00000000-0000-0000-0000-000000000000

Query parameters

cursorstring

The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned.

Example:R1BDOlM6NTEwMzk4NTYtNGIyOS00NTlkLTg0ZDYtMWJhYjM0NWMzZjU5
sizeinteger

The number of items to return per page

Example:50
vector'AUTHENTICATION_BYPASS' | 'AUTHENTICATION_ENUMERATION' | 'BUSINESS_LOGIC' | 'DATA_INTEGRITY' | 'DEFAULT_CREDENTIALS' | 'EXPOSED_SERVICES' | 'IDENTITY_AND_ACCESS_CONTROL' | 'INJECTION' | 'INJECTIONS' | 'INSECURE_CONFIGURATION' | 'INSECURE_DATA_HANDLING' | 'LLM_AND_AI' | 'PLATFORM_AND_FRAMEWORK' | 'PROTOCOL_AND_API' | 'RATE_LIMIT_WEAKNESSES' | 'REMOTE_ADMINISTRATOR_EXPOSURE' | 'SECRETS_AND_CRYPTOGRAPHY' | 'SSRF_AND_FILE_INCLUSION' | 'TLS_CONFIGURATION' | 'UNPATCHED_KNOWN_VULNERABILITIES' | 'WEAK_CREDENTIALS' | 'WEB_AND_BROWSER'

Filter scenarios by attack vector

Example:INJECTION
searchstring

Filter scenarios by text found in the title or surfaces

Example:catalog/product

Response

OK

nextCursorstring nullable required
totalCountinteger

Example response

{
  "totalCount": 20
}

Changes

No recorded changes to this operation across all 1 revision of this API.