---
title: "Lists AI privacy presets of specified project"
method: GET
path: "/apiops/projects/{projectName}/ai-privacy-presets/"
tags: ["AiPromptDecoratorPresetProject", "AiTopicCategoryPresetProject", "AiPrivacyPresetProject", "AiPromptGuardPresetProject", "AiPromptTemplateProject", "AiDlpPresetProject"]
---

# Lists AI privacy presets of specified project

`GET /apiops/projects/{projectName}/ai-privacy-presets/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/ai-privacy-presets/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/ai-privacy-presets/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists built-in + admin-shared + this project's own custom AI privacy (PII) presets.

## Path parameters

- `projectName` string, required

## Response `200`

successful operation!

- ApiOpsResponseAiPreset
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` AiPrivacyPresetDTO[]
    - `id` string
    - `projectId` string
    - `name` string
    - `elementName` string
    - `patternType` 'ELEMENT_NAME' | 'REGEX' | 'BUILTIN'
    - `regexPattern` string
    - `operation` 'MASK' | 'DELETE' | 'ENCRYPT' | 'HASH' | 'DETECT'
    - `maskMode` 'FIXED' | 'KEEP_FIRST' | 'KEEP_LAST' | 'MASK_FIRST' | 'PLACEHOLDER_SEQUENCE' | 'SYNTHETIC'
    - `maskPattern` string
    - `maskVisibleCharCount` integer
    - `enabled` boolean
    - `builtIn` boolean
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-20** `d1a546deccf0`: 3 breaking, 15 warning
  - the `resultList/items/maskMode` response's property type changed from `object` to `string` for status `200`
  - the `resultList/items/operation` response's property type changed from `object` to `string` for status `200`
  - the `resultList/items/patternType` response's property type changed from `object` to `string` for status `200`
  - removed the optional property `resultList/items/patternType/value` from the response with the `200` status
  - …14 more
  - …this revision’s changelog is incomplete
- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/ai-privacy-presets/get.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
