---
title: "GET /api/activity/reports/security-event-context/"
method: GET
path: "/api/activity/reports/security-event-context/"
tags: ["activity"]
---

# GET /api/activity/reports/security-event-context/

`GET /api/activity/reports/security-event-context/`

Return the activity context surrounding a single security event (``event``) — the enclosing trace's references and security events, plus other same-agent security events within a few minutes (any trace), each carrying its full detail — for the before/after timeline on the event detail. Resolution is by event id within the organization, with no date-range / group filter, so a shared link always resolves the anchor within the recipient's permission scope. Restricted to organization admins/managers and gated by the activity-tracking flag.

## Query parameters

- `organization` string, uuid, required
- `event` string, uuid, required

## Response `200`

---

[API](https://skmtc.dev/pixiebrix/apis/pixiebrix-api.md) · [All operations](https://skmtc.dev/pixiebrix/apis/pixiebrix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pixiebrix/pixiebrix-api/revisions/941ab9eb01d6/schema)
