Added

AI pentests API — List and retrieve AI pentests

AI Pentests API — List and retrieve AI pentests

New endpoints are available to list your AI pentests and to retrieve a single AI pentest by its ID.

Endpoint: GET /v1/ai-pentests/

Endpoint: GET /v1/ai-pentests/{id}/

The list is ordered newest first, and pagination works the same as other list endpoints. Each AI pentest includes:

  • id — Unique ID of the AI pentest, e.g. aip_01m7n0g0fxfx68z2jee3kgadkx.
  • status — Status of the full pentest. One of: pending, started, completed, cancelled, aborted, cancellation_pending.
  • url — URL of the application being tested.
  • application_name — Name of the application being tested. May be null.
  • environment — Environment of the application being tested. One of: production, staging, development. May be null.
  • created_at — When the AI pentest was created.
  • completed_at / canceled_at — When the AI pentest completed or was cancelled. null if it hasn't.
  • retest_status / release_test_status — Status of the most recent retest or release test. One of: in_progress, completed, failed, cancelled. Stays in_progress until its findings are available. null if none has run.

For more information, see the API documentation for AI pentests.

AI Pentests API — AI pentest findings

A new endpoint is available to list the findings from an AI pentest, most severe first.

Endpoint: GET /v1/ai-pentests/{ai_pentest_id}/findings/

  • statuses (optional) — Comma-separated finding statuses to include. Any of: open, fixed. Defaults to open.

Each finding includes its id (e.g. aip_8Fk2LmQ9xR4tBn7W), title, severity, status (open or fixed), impact, likelihood, and the full write-up: overview, evidence, technical_details and remediation. retest_summary describes the outcome of the most recent retest, and location gives the source file and lines when the finding was traced to your code. Pagination works the same as other list endpoints.

For more information, see the API documentation for AI pentests.