> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snapsec.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Pentesting API

> Endpoints for launching AI assessments, monitoring agent logs, and triggering retests.

### Launch Autonomous Pentest

```http theme={null}
POST /v2/pentests
```

```json theme={null}
{
  "title": "Staging API Pentest Run",
  "scope": ["https://staging-api.company.com"],
  "test_mode": "autonomous",
  "intensity": "standard"
}
```

### Trigger Vulnerability Retest

```http theme={null}
POST /v2/findings/{finding_id}/retest
```

Dispatches targeted validation job to verify whether a fix successfully mitigated the finding.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.