Datasets

Update a prompt variation

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

Parameters

NameLocated InRequiredSchema
variationIdpathYesstring

Request Body

PropertyTypeDescription
variablesobject
idealOutputstring

Responses

200

Updated prompt variation

PropertyTypeDescription
idstring
promptIdstring
variablesobject
idealOutputstring

Questions? We're here to help.

Email