---
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

---

[API](https://skmtc.net/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.net/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/versions/220f0adf9efd/schema)
