---
title: "Get preset details"
method: GET
path: "/cdn/presets/{preset_id}"
tags: ["Presets"]
---

# Get preset details

`GET /cdn/presets/{preset_id}`

## Request

- Base URL: `https://api.gcore.com`
- URL: `https://api.gcore.com/cdn/presets/{preset_id}`
- Auth: HTTP apikey

Get information about a preset.

## Path parameters

- `preset_id` integer, required

## Response `200`

Successful.

- PresetResponse
  - `id` integer: Preset ID.
  - `name` string: Preset name.
  - `service` 'cdn': Service the preset belongs to.
  - `object_type` 'CDNResource' | 'Rule': Type of object the preset can be applied to. Possible values: - **CDNResource** - Preset is applied to a CDN resource. - **Rule** - Preset is applied to a rule.
  - `preset_settings` PresetSettings: CDN resource or rule settings that the preset applies to the target object, including the **options** object. The available keys match the writable fields of the object type the preset targets (`object_type`). Options included in the preset cannot be edited on the object while the preset is applied.

## Other responses

- `404`: Preset does not exist.

## Changes

- **2026-09-04** `796429501557`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/g-core/apis/gcore-openapi/changes/cdn/presets/:preset_id/get.md)

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) - [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/g-core/apis/gcore-openapi/revisions/a2b772345f3a?raw)
