Update a prompt snippet

Update an existing prompt snippet. Creates a new version of the snippet.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
snippetKeystringRequired

Request

Prompt snippet fields to update
namestringOptional
descriptionstringOptional
textstringOptional
The text content of the prompt snippet

Response

Prompt snippet updated
keystring
namestring
textstring
The text content of the prompt snippet
versioninteger
createdAtlong
_accessobject
descriptionstring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error