---
title: "Changes to Create Prompt"
method: POST
path: "/v1/prompts/create"
---

# Changes to Create Prompt

`POST /v1/prompts/create`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 31 revisions.

- **2024-08-14** `63991d99e2e1` — 6 breaking, 1 warning, 4 info
- **2023-09-26** `eb14a21c478e` — 1 breaking, 5 info
- **2023-09-06** `ec1d8c780c18` — 1 breaking, 1 info
- **2023-08-26** `28dead252457` — 1 info

## Changes

- **2024-08-14** `63991d99e2e1` — 6 breaking, 1 warning, 4 info
  - response property `collect_fields` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `context_endpoint` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `prompt_template` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `prompt_template/id` from the response with the `200` status
  - removed the required property `prompt_template/required_context_keys` from the response with the `200` status
  - removed the required property `prompt_template/user_id` from the response with the `200` status
  - removed the optional property `prompt_template/label` from the response with the `200` status
  - added `subschema #3` to the `prompt_template` request property `anyOf` list
  - request property `collect_fields` list-of-types was widened by adding types `null` to media type `application/json`
  - request property `context_endpoint` list-of-types was widened by adding types `null` to media type `application/json`
  - added `#/components/schemas/PromptTemplate, subschema #2` to the `prompt_template` response property `anyOf` list for the response status `200`
- **2023-09-26** `eb14a21c478e` — 1 breaking, 5 info
  - the response property `content` became optional for the status `200`
  - added the new optional request property `prompt_template`
  - the request property `content` became optional
  - the `content` request property default value `` was added
  - added the optional property `prompt_template` to the response with the `200` status
  - the `content` response's property default value `` was added for the status `200`
- **2023-09-06** `ec1d8c780c18` — 1 breaking, 1 info
  - removed the enum value `field_type_address` of the request property `collect_fields/items/field_type`
  - removed the `field_type_address` enum value from the `collect_fields/items/field_type` response property for the response status `200`
- **2023-08-26** `28dead252457` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/vocodedev/apis/vocode-hosted-api/docs/v1/prompts/create/post.md) · [API](https://skmtc.dev/vocodedev/apis/vocode-hosted-api.md) · [Page](https://skmtc.dev/vocodedev/apis/vocode-hosted-api/changes/v1/prompts/create/post)
