---
title: "Gets an AI DLP preset by name"
method: GET
path: "/apiops/settings/ai-dlp-presets/{presetName}/"
tags: ["AiTopicCategoryPreset", "AiPromptGuardPreset", "AiPromptTemplate", "AiPromptDecoratorPreset", "AiPrivacyPreset", "AiDlpPreset"]
---

# Gets an AI DLP preset by name

`GET /apiops/settings/ai-dlp-presets/{presetName}/`

## Request

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

## Path parameters

- `presetName` string, required

## Query parameters

- `projectId` string

## Response `200`

successful operation!

- ApiOpsResponseAiDlpPreset
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` AiDlpPresetDTO[]
    - `id` string
    - `projectId` string
    - `name` string
    - `ruleValue` string
    - `action` 'BLOCK' | 'FLAG' | 'MASK'
    - `category` string
    - `description` string
    - `enabled` boolean
    - `builtIn` boolean
    - `overridden` boolean
    - `literalAnchors` string[]
  - `resultCount` integer

## Other responses

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

## Changes

- **2026-10-20** `d1a546deccf0`: 1 breaking
  - the `resultList/items/action` response's property type changed from `object` to `string` for status `200`
  - …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/settings/ai-dlp-presets/:presetName/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)
