Create prompt version

Create prompt version

Request

This endpoint expects an object.
namestringRequired
versionobjectRequired

Response

OK
templatestring
idstring or nullformat: "uuid"
version unique identifier, generated if absent
prompt_idstring or nullformat: "uuid"
commitstring or nullformat: "^[a-zA-Z0-9]{8}$"
version short unique identifier, generated if absent. it must be 8 characters long
metadatamap from strings to any or null
typeenum or null
Allowed values:
change_descriptionstring or null
variableslist of strings or null
created_atdatetime or null
created_bystring or null

Errors