Create a new prompt variation
curl --request POST \
--url https://api.lunary.ai/v1/datasets/variations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}
'{
"id": "<string>",
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}Datasets
Create a new prompt variation
POST
/
v1
/
datasets
/
variations
Create a new prompt variation
curl --request POST \
--url https://api.lunary.ai/v1/datasets/variations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}
'{
"id": "<string>",
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}