prompts

Get latest prompt version

Changed on

Retrieve the most recent version of a specific prompt.

get/v1/prompts/{prompt_identifier}/latest

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.

Response

The latest version of the specified prompt

Changes

    • 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 / response property for the response status