Create prompt version

Create a new version of a prompt.

Path parameters

idintegerRequired
Prompt ID

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Request

This endpoint expects an object.
titlestringOptional<=500 characters
parent_modelintegerOptional
model_provider_connectionintegerOptional
promptstringOptional
providerenumOptional
provider_model_idstringOptional
created_byinteger or map from strings to anyOptional
created_atdatetimeOptional
updated_atdatetimeOptional
organizationinteger or map from strings to anyOptional

Response

titlestring or null<=500 characters
parent_modelinteger or null
model_provider_connectioninteger or null
promptstring or null
providerenum or null
provider_model_idstring or null
created_byinteger or map from strings to any or null
created_atdatetime or null
updated_atdatetime or null
organizationinteger or map from strings to any or null