---
title: "Changes to Create or update a prompt template override"
method: PUT
path: "/api/prompt-templates"
---

# Changes to Create or update a prompt template override

`PUT /api/prompt-templates`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 104 revisions.

- **2026-08-20** `d06bca6c3ff5` — 12 breaking, 1 info
- **2026-08-07** `06cac6a7c5bc` — 2 info

## Changes

- **2026-08-20** `d06bca6c3ff5` — 12 breaking, 1 info
  - the `template` response's property type changed from `object` to no type for status `200`
  - removed the required property `template/body` from the response with the `200` status
  - removed the required property `template/createdAt` from the response with the `200` status
  - removed the required property `template/createdBy` from the response with the `200` status
  - removed the required property `template/eventType` from the response with the `200` status
  - removed the required property `template/id` from the response with the `200` status
  - removed the required property `template/isDefault` from the response with the `200` status
  - removed the required property `template/scope` from the response with the `200` status
  - removed the required property `template/scopeId` from the response with the `200` status
  - removed the required property `template/state` from the response with the `200` status
  - removed the required property `template/updatedAt` from the response with the `200` status
  - removed the required property `template/version` from the response with the `200` status
  - added `#/components/schemas/PromptTemplate, subschema #2` to the `template` response property `allOf` list for the response status `200`
- **2026-08-07** `06cac6a7c5bc` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`

---

[Operation](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/docs/api/prompt-templates/put.md) · [API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [Page](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/prompt-templates/put)
