Prompt

Create Version

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

post/v1/prompts/{alias}/versions

Request

Request body

hashstring

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 required

This is true prompt version was successfully created

deprecatedboolean required

This is true if this endpoint is deprecated.

Changes

No operation changes recorded.