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

# Lists AI prompt-guard presets of specified project

`GET /apiops/projects/{projectName}/ai-prompt-guard-presets/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/ai-prompt-guard-presets/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/ai-prompt-guard-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 prompt-guard presets.

## Path parameters

- `projectName` string, required

## Response `200`

successful operation!

- ApiOpsResponseAiPromptGuardPreset
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` AiPromptGuardPresetDTO[]
    - `id` string
    - `projectId` string
    - `name` string
    - `ruleValue` string
    - `action` 'BLOCK' | 'FLAG' | 'MASK'
    - `category` string
    - `description` string
    - `enabled` boolean
    - `builtIn` boolean
    - `owaspLlmId` string
    - `mitreAtlasTechnique` string
    - `packageVersion` string
  - `resultCount` integer

## Other responses

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

## Changes

- **2026-10-20** `d1a546deccf0`: 1 breaking, 4 warning
  - the `resultList/items/action` response's property type changed from `object` to `string` for status `200`
  - removed the optional property `resultList/items/action/value` from the response with the `200` status
  - added the new `BLOCK` enum value to the `resultList/items/action` response property for the response status `200`
  - added the new `FLAG` enum value to the `resultList/items/action` response property for the response status `200`
  - …1 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-prompt-guard-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)
