---
title: "Get penetration test agent events"
method: GET
path: "/v1/security-penetration-tests/{id}/events"
tags: ["Security Penetration Tests"]
---

# Get penetration test agent events

`GET /v1/security-penetration-tests/{id}/events`

Returns the real-time agent activity log emitted during a run (tool calls, observations, etc.). Noisy — meant for activity feeds and debugging.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string

## Response `200`

Events returned

## Changes

- **2026-06-04** `d7d0199d846f` — 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-05-29** `5382c53ab431` — 1 info
  - the endpoint scheme security `oauth2` was added to the API
- **2026-04-30** `e3da57681861` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/security-penetration-tests/:id/events/get.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
