prompts

Create prompt version

Changed on

Create a new version for an existing prompt by identifier.

post/v1/prompts/{prompt_identifier}/versions

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

prompt_identifierstring required

The identifier of the prompt, i.e. name or ID.

Request body

Response

The created prompt version

Changes

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status

    • breaking

      added to the / response property oneOf list for the response status

    • warning

      added the new META enum value to the / response property for the response status

    • info

      added meta discriminator mapping keys to the / request property

    • info

      added the new META enum value to the request property /

    • info

      added to the / request property oneOf list

    • info

      added meta discriminator mapping keys to the / response property for the response status