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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>