Create prompt version

Authentication

X-Hume-Api-Keystring
API Key authentication via header

Path parameters

idstringRequiredformat: "uuid"
Identifier for a prompt. Formatted as a UUID.

Request

This endpoint expects an object.
textstringRequired
Text used for this version of the Prompt.
version_descriptionstring or nullOptional
Description that is appended to a specific version of a Prompt.

Response

Created
created_onlong
The timestamp when the first version of this prompt was created.
idstring
Identifier for a Prompt. Formatted as a UUID.
modified_onlong
The timestamp when this version of the prompt was created.
namestring
Name applied to all versions of a particular Prompt.
textstring
Text used for this version of the Prompt.
versioninteger
Version number for a Prompt. Version numbers should be integers. The combination of configId and version number is unique.
version_typestring

Indicates whether this prompt is using a fixed version number or auto-updating to the latest version. Values from the VersionType enum.

version_descriptionstring or null
Description that is appended to a specific version of a Prompt.