Create Version

Creates a new version of the specified or latest commit on your Confident AI project.

Path parameters

aliasstringRequired
The unique alias of the prompt.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

hashstringOptional
The hash of the commit you wanna release a new version of. Only commits above the last versioned commit can be released as new versions. If ommited, the most recent commit will be versioned.

Response

successboolean
This is true prompt version was successfully created
dataobject
deprecatedboolean
This is true if this endpoint is deprecated.