Prompt Repository

Create prompt version

Creates a new version for a prompt.

post/api/prompt-repo/prompts/{id}/versions

Path parameters

idstring required

Prompt ID

Request body

commit_messagestring required
messagesobject[] required

Array of message objects

model_paramsobject required
providerstring required
modelstring required

Response

Version created

Changes

No recorded changes to this endpoint across all 1 revision of this API.