---
title: "Get audit logs for team"
method: GET
path: "/v1/team/audit_log"
---

# Get audit logs for team

`GET /v1/team/audit_log`

## Query parameters

- `email` string
- `action` string
- `offset` integer
- `limit` integer
- `start_date` string, date
- `end_date` string, date
- `time_range` 'current_month' | 'last_month' | 'last_3_months' | 'last_6_months' | 'last_12_months'

## Headers

- `X-Team-Id` string

## Response `200`

OK

- object
  - `message` string, required
  - `data` UserAuditLogItems[], required
    - `created_at` string, required
    - `email` string, required
    - `action` string, required
    - `status` integer, required
    - `method` string, required
    - `ip` string, required
    - `path` string, required

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response

## Changes

- **2025-08-13** `c41cd7ae7718` — 1 info
  - added the required property `data/items/path` to the response with the `200` status
- **2024-09-22** `407b73d9ce28` — 1 info
  - endpoint added
- **2023-12-05** `5c3748c387f7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/team/audit_log/get.md)

---

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