---
title: "Get the list of historical customer-level operations."
method: GET
path: "/api/v2/log/customer"
tags: ["Log"]
---

# Get the list of historical customer-level operations.

`GET /api/v2/log/customer`

Get the list of customer-level historical operations; such as login, logout, data manipulation, selection or api related operations.

## Query parameters

- `page_number` integer
- `page_size` 10 | 20 | 30
- `date_range` 'LastWeek' | 'Last2Weeks' | 'Last1Month' | 'Last3Months' | 'Last6Months' | 'Last1Year', required
- `query` string

## Response `200`

Success

- CustomerLogEntry[]
  - `Action` 'Login' | 'Logout' | 'License' | 'Data Select' | 'Data Manipulation' | 'Report View' | 'Api New Company' | 'Api Copy Company' | 'Api Deleted Company' | 'Api New Domain' | 'Api Exposure Update' | 'Api Unique Upload' | 'Api Unique Upload Base32' | 'Excessive Finding Elimination' | 'API Key' | 'User Operations' | 'Customer Operations' — The type of the operation.
  - `Description` string — An informally formatted details of the operation.
  - `InsertDate` string, date-time — The date of this operation.
  - `InsertUser` string — The Client ID performed the operation, which can be an email address or string 'API'.
  - `IpAddress` string — IP address of the user's action.

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `default` — Failure

---

[API](https://skmtc.net/blackkitetech/apis/black-kite-api.md) · [All operations](https://skmtc.net/blackkitetech/apis/black-kite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blackkitetech/black-kite-api/revisions/7dadaba760fb/schema)
