Datasets

Update a prompt

PATCH
/v1/datasets/prompts/
id
curl --request PATCH \
  --url https://api.lunary.ai/v1/datasets/prompts/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Parameters

NameLocated InRequiredSchema
idpathYesstring

Request Body

PropertyTypeDescription
messagesarray

Responses

200

Updated prompt

PropertyTypeDescription
idstring
datasetIdstring
messagesarray

Questions? We're here to help.

Email