Skip to main content
PATCH
Update a prompt snippet

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string
required
snippetKey
string
required

Body

application/json

Prompt snippet fields to update

name
string
description
string
text
string

The text content of the prompt snippet

Response

Prompt snippet updated

key
string
required
name
string
required
text
string
required

The text content of the prompt snippet

version
integer
required
createdAt
integer<int64>
required
_access
object
Example:

The location and content type of related resources

Example:
description
string