Datasets

Create a new prompt variation

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

Request Body

PropertyTypeDescription
promptIdstring
variablesobject
idealOutputstring

Responses

200

Created prompt variation

PropertyTypeDescription
idstring
promptIdstring
variablesobject
idealOutputstring

Questions? We're here to help.

Email