Prompt

Creates a new branch with the specified name diverging from the main branch's head commit of your prompt.

post/v1/prompts/{alias}/branches

Request

Request body

branchstring required

The unique name of the branch to create in the prompt.

Response

successboolean required

This is true if the prompt branch was successfully created.

linkstring required

This is the URL to the prompt branch on the Confident AI platform.

deprecatedboolean required

This is true if this endpoint is deprecated.

Changes