curl --request GET \
--url https://api.lunary.ai/v1/datasets/variations/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}
curl --request GET \
--url https://api.lunary.ai/v1/datasets/variations/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"promptId": "<string>",
"variables": {},
"idealOutput": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Prompt variation details
The response is of type object
.