---
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'
- `source` 'api' | 'platform' | 'unknown'

## 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
    - `source` 'api' | 'platform' | 'unknown', nullable — Request origin - "api" for x-api-key authentication, "platform" for JWT token, "unknown" for fallback. NULL for historical records (displayed as "-" in UI)

## Other responses

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

## Changes

> 22 revisions in range; 1 could not be searched.

- **2026-03-06** `b69f036fb8ff` — 3 warning, 1 info
  - deleted the `query` request parameter `end_date`
  - deleted the `query` request parameter `start_date`
  - deleted the `query` request parameter `time_range`
  - added the optional property `data/items/source` to the response with the `200` status
- **2026-01-18** `649225838d6b` — 3 warning, 3 info
  - deleted the `query` request parameter `end_date`
  - deleted the `query` request parameter `start_date`
  - deleted the `query` request parameter `time_range`
  - added the new optional `query` request parameter `end_date`
  - …2 more
- **2026-01-15** `5b9dc99a8e6a` — 3 warning, 3 info
  - deleted the `query` request parameter `end_date`
  - deleted the `query` request parameter `start_date`
  - deleted the `query` request parameter `time_range`
  - added the new optional `query` request parameter `end_date`
  - …2 more
- **2025-11-30** `e65225cc68ff` — 4 info
  - added the new optional `query` request parameter `end_date`
  - added the new optional `query` request parameter `source`
  - added the new optional `query` request parameter `start_date`
  - added the new optional `query` request parameter `time_range`
- **2025-08-13** `c41cd7ae7718` — 1 info
  - added the required property `data/items/path` to the response with the `200` status

[Full 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/220f0adf9efd/schema)
