---
title: "Get a response format preset"
method: GET
path: "/api/response-format-presets/{id}/"
tags: ["Prompts"]
---

# Get a response format preset

`GET /api/response-format-presets/{id}/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/response-format-presets/{id}/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Retrieve the complete saved response-format schema text.

## Path parameters

- `id` string, required

## Response `200`

Response-format preset.

- object
  - `id` string, required
  - `name` string, required
  - `created_by` object, nullable
    - `id` union
      - integer
      - string
    - `email` string, email
    - `name` string
    - `username` string
    - `first_name` string
    - `last_name` string
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `response_format_content` string, required: JSON text preserved verbatim. It must decode to an object with a non-empty `name` and an object-valued `schema`.
  - `is_enforcing_response_format` boolean, required

## Other responses

- `403`: The API key is missing, invalid or expired.
- `404`: Preset not found in the caller's project.

## Changes

- **2026-10-21** `c30bcb383ee8`: 2 breaking, 11 info
  - the response property `created_by` became nullable for the status `200`
  - the `created_by` response's property type changed from no type to `object` for status `200`
  - api operation id `prompts_api_response_format_presets_retrieve` removed and replaced with `api_response_format_presets_retrieve`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - …9 more
- **2026-10-02** `b830b79cfd52`: 2 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `api-response-format-presets-retrieve` removed and replaced with `prompts_api_response_format_presets_retrieve`

[Operation history](https://skmtc.dev/respan/apis/respan-api/changes/api/response-format-presets/:id/get.md)

---

[API](https://skmtc.dev/respan/apis/respan-api.md) - [All operations](https://skmtc.dev/respan/apis/respan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/respan/apis/respan-api/revisions/900841387635?raw)
