---
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}/`

Retrieve the complete saved response-format schema text.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Response-format preset.

- PromptsApiResponseFormatPresetsRetrieveResponse200
  - `id` string, required
  - `name` string, required
  - `created_by` ApiResponseFormatPresetsIdGetResponsesContentApplicationJsonSchemaCreatedBy
    - `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

- `401` — Authentication failed.
- `404` — Preset not found in the caller's project.

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/4e064cf81dae/schema)
