---
title: "List Policy Activity Route"
method: GET
path: "/api/v1/policies/{policy_id}/activity"
tags: ["policies"]
---

# List Policy Activity Route

`GET /api/v1/policies/{policy_id}/activity`

## Request

- Base URL: `https://cp.xenovia.io` (the document declares no server; this is the origin it was published from)
- URL: `https://cp.xenovia.io/api/v1/policies/{policy_id}/activity`
- Auth: none declared
- TypeScript: <https://skmtc.dev/xenovia/apis/controlplane/docs/api/v1/policies/:policy_id/activity/get.ts> (a function with typed inputs; its response is checked against the schema)

Audit records of the policy and of its attachments to agents.

## Path parameters

- `policy_id` string, uuid, required

## Query parameters

- `limit` integer

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- AuditLogRead[]
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `recorded_at` string, date-time, nullable
  - `org_id` string, uuid, required
  - `user_id` string, nullable, required
  - `event_id` string, nullable, required
  - `event_version` string, nullable, required
  - `action` string, required
  - `result` string, nullable, required
  - `source_service` string, nullable, required
  - `request_id` string, nullable, required
  - `environment` string, nullable, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `source_ip` string, nullable
  - `client_ip` string, nullable
  - `user_agent` string, nullable
  - `reason` string, nullable
  - `metadata` object, nullable
  - `actor_type` string, nullable
  - `actor_id` string, nullable
  - `chain_seq` integer, nullable
  - `prev_hash` string, nullable
  - `row_hash` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-06** `19f8b5adbd7f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/policies/:policy_id/activity/get.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) - [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) - [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/19f8b5adbd7f?raw)
