---
title: "Gets an AI prompt-decorator preset by name"
method: GET
path: "/apiops/projects/{projectName}/ai-prompt-decorator-presets/{presetName}/"
tags: ["AiPromptDecoratorPresetProject", "AiTopicCategoryPresetProject", "AiPrivacyPresetProject", "AiPromptGuardPresetProject", "AiPromptTemplateProject", "AiDlpPresetProject"]
---

# Gets an AI prompt-decorator preset by name

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

## Request

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

## Path parameters

- `projectName` string, required
- `presetName` string, required

## Response `200`

successful operation!

- ApiOpsResponseAiPromptDecoratorPreset
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` AiPromptDecoratorPresetDTO[]
    - `id` string
    - `projectId` string
    - `name` string
    - `content` string
    - `role` string
    - `position` string
    - `category` string
    - `description` string
    - `enabled` boolean
    - `builtIn` boolean
  - `resultCount` integer

## Other responses

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

## Changes

- **2026-09-22** `c036734f4714`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/ai-prompt-decorator-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/cfc2eb2a1ac6?raw)
