prompts

Create a new prompt

Changed on

Create a new prompt and its initial version. A prompt can have multiple versions.

post/v1/prompts

Request

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

Request body

Response

The newly 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